:root{
  --gdpt-primary: #00a856;
  --gdpt-primary-700: #006d36;
  --gdpt-surface: #f4fafd;
  --gdpt-surface-low: #eef5f7;
  --gdpt-surface-highest: #dde4e6;
  --gdpt-text: #161d1f;
  --gdpt-text-muted: #3d4a3e;
  --gdpt-outline: #bccabb;
  --gdpt-shadow: 0 4px 20px rgba(0, 40, 20, 0.05);
  --gdpt-radius: .5rem;
  --gdpt-margin-page: 40px;
  --gdpt-gutter: 24px;
  --gdpt-stack-lg: 32px;
}

body{
  font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--gdpt-text);
  background: var(--gdpt-surface);
}

.font-serif{
  font-family: "Noto Serif", ui-serif, Georgia, "Times New Roman", Times, serif;
}

.material-symbols-outlined{
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  line-height: 1;
}

.gdpt-shadow{
  box-shadow: var(--gdpt-shadow);
}

.zen-shadow{
  box-shadow: var(--gdpt-shadow);
}

.soft-earth-shadow{
  box-shadow: 0 4px 16px rgba(0, 168, 86, 0.08);
}

.soft-sangha-shadow{
  box-shadow: var(--gdpt-shadow);
}

.p-margin-page{ padding: var(--gdpt-margin-page) !important; }
.mb-stack-lg{ margin-bottom: var(--gdpt-stack-lg) !important; }
.gap-gutter{ gap: var(--gdpt-gutter) !important; }

.gdpt-navbar{
  backdrop-filter: blur(10px);
  box-shadow: var(--gdpt-shadow);
}

.btn-gdpt{
  --bs-btn-bg: var(--gdpt-primary);
  --bs-btn-border-color: var(--gdpt-primary);
  --bs-btn-hover-bg: #008a46;
  --bs-btn-hover-border-color: #008a46;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-font-weight: 600;
  border-radius: .75rem;
}

.btn-gdpt-outline{
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: var(--gdpt-primary);
  --bs-btn-font-weight: 700;
  border-radius: .75rem;
}

.gdpt-hero{
  min-height: 600px;
  position: relative;
  color: #fff;
}

.gdpt-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.gdpt-hero > .container{
  position:relative;
  z-index: 1;
}

.gdpt-hero.gdpt-hero--light{
  color: var(--gdpt-text);
}

.gdpt-hero.gdpt-hero--light::before{
  background: transparent;
}

.gdpt-card{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 168, 86, 0.05);
}

.gdpt-badge-soft{
  background: rgba(0, 168, 86, .10);
  color: var(--gdpt-primary-700);
  border: 1px solid rgba(0, 168, 86, .15);
  font-weight: 600;
}

.gdpt-admin-layout{
  min-height: 100vh;
  background: var(--gdpt-surface);
}

.gdpt-sidebar{
  width: 16rem;
  background: #f8f9fa;
  border-right: 1px solid rgba(0,0,0,.08);
}

.gdpt-sidebar .nav-link{
  color: #6c757d;
  border-radius: .75rem;
  font-weight: 600;
}

.gdpt-sidebar .nav-link:hover{
  background: rgba(0,0,0,.04);
  color: var(--gdpt-primary-700);
}

.gdpt-sidebar .nav-link.active{
  background: rgba(0, 168, 86, .10);
  color: var(--gdpt-primary-700);
  border-left: 4px solid var(--gdpt-primary);
}

.gdpt-sidebar-link{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:.5rem 1rem;
  margin: 0 .5rem;
  border-radius: .5rem;
  color: #6b7280;
  text-decoration:none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.gdpt-sidebar-link:hover{
  background: rgba(0,0,0,.06);
  transform: translateX(4px);
  color: var(--gdpt-primary-700);
}
.gdpt-sidebar-link.is-active{
  background: rgba(0, 168, 86, .10);
  color: #065f46;
  border-left: 4px solid var(--gdpt-primary);
}
.gdpt-pill{
  display:inline-block;
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gdpt-pill-primary{ background: var(--gdpt-primary); color:#fff; }
.gdpt-hero-surface{ background: var(--gdpt-surface); }

.gdpt-table-actions{
  opacity: 0;
  transition: opacity .2s ease;
}
tr:hover .gdpt-table-actions{
  opacity: 1;
}

/* Single profile (Huynh Trưởng) */
.gdpt-profile-cover{
  height: 140px;
  background: var(--gdpt-primary);
}
.gdpt-avatar-wrap{
  width: 180px;
  height: 180px;
  border-radius: 9999px;
  overflow: hidden;
  border: 4px solid #fff;
  margin-top: -78px;
  background: #f8f9fa;
  box-shadow: var(--gdpt-shadow);
  background: #0a8367;
}
.gdpt-avatar{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gdpt-profile-titlebar{
  background: #fff;
  padding: 10px 10px 0px;
}
.gdpt-profile-title{
  font-size: 25px;
  line-height: 1.15;
}
.gdpt-profile-titlebar + .p-4{
  padding-top: 14px !important;
}
.gdpt-section-bar{
  display:inline-block;
  width: .5rem;
  height: 1.5rem;
  margin-right: .5rem;
  border-radius: 9999px;
  background: var(--gdpt-primary);
  vertical-align: text-bottom;
}
.gdpt-kv{
  display: grid;
  gap: .5rem;
}
.gdpt-kv-row{
  display:grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.gdpt-kv-row:last-child{ border-bottom: none; }
.gdpt-kv-label{
  color: #6c757d;
  font-weight: 600;
}
.gdpt-kv-value{
  font-weight: 400;
}
.gdpt-tabs .nav-link{
  border: none;
  border-bottom: 2px solid transparent;
  color: #6c757d;
  font-weight: 600;
  padding: .9rem 1rem;
  border-radius: .75rem .75rem 0 0;
}
.gdpt-tabs .nav-link:hover{
  color: var(--gdpt-primary-700);
}
.gdpt-tabs .nav-link.active{
  color: var(--gdpt-primary-700);
  border-bottom-color: var(--gdpt-primary);
  background: rgba(0, 168, 86, .06);
}
.gdpt-timeline{
  display:flex;
  flex-direction:column;
  gap: .75rem;
}
.gdpt-timeline-item{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: .75rem;
  background: #fff;
}
.gdpt-timeline-time{
  font-weight: 800;
  color: var(--gdpt-primary-700);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .75rem;
}
.gdpt-timeline-body{ min-width: 0; }

/* Vertical timeline (like mock) */
.gdpt-vtimeline{
  position: relative;
  padding-left: 26px;
  border-left: 2px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.gdpt-vtimeline-item{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.gdpt-vtimeline-dot{
  position: absolute;
  left: -32px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--gdpt-primary);
  box-shadow: 0 0 0 4px #fff;
}
.gdpt-vtimeline-time{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gdpt-primary);
  margin-bottom: 4px;
}
.gdpt-vtimeline-title{
  font-weight: 800;
  margin-bottom: 6px;
}
.gdpt-vtimeline-desc{
  color: #6c757d;
  font-size: 14px;
  line-height: 1.55;
}

.gdpt-subsection-title{
  font-family: "Noto Serif", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gdpt-subsection-title::before{
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 9999px;
  background: var(--gdpt-primary);
  flex: 0 0 auto;
}

/* Media card (used for camps + ranks) */
.gdpt-media-card{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.65);
  height: 100%;
}
.gdpt-media-card__thumb{
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: transparent;
  color: var(--gdpt-primary-700);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.gdpt-media-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}
.gdpt-media-card__thumb .material-symbols-outlined{
  font-size: 26px;
}
.gdpt-media-card__thumb--letter{
  font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
}
.gdpt-media-card__body{ min-width: 0; }
.gdpt-media-card__thumb--icon34 img{
  width: 34px !important;
  height: 34px !important;
}
.gdpt-media-card__title{
  font-weight: 800;
}
.gdpt-media-card__sub{
  color: #6c757d;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 2px;
}

@media (max-width: 575.98px){
  .gdpt-hero{ min-height: 420px; }
  .gdpt-hero > .container{ padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
  .gdpt-hero .row > [class*="col-"]{ width: 70%; max-width: 70%; }
  .gdpt-hero h1,
  .gdpt-hero p,
  .gdpt-hero .text-success,
  .gdpt-hero .text-success-emphasis,
  .gdpt-hero .text-secondary-emphasis{
    text-shadow: 0 1px 0 rgba(255,255,255,.95), 0 8px 20px rgba(255,255,255,.35);
  }
  .gdpt-kv-row{ grid-template-columns: 1fr; gap: .25rem; }
  .gdpt-timeline-item{ grid-template-columns: 1fr; }
  .gdpt-profile-titlebar{ padding: 16px 18px 18px; }
  .gdpt-profile-title{ font-size: 24px; }
}

@media (max-width: 991.98px){
  .gdpt-sidebar{
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

