
:root {
  --accent-color: #6B90C6;
  --default-color: #23324f;
  --heading-color: #0D1B4C;
  --surface-color: #ffffff;
  --background-color: #0D1B4C;
  --nav-hover-color: #6B90C6;
  --nav-mobile-background-color: #ffffff;
}

body {
  overflow-x: hidden;
}

.logo-container img,
.logo img {
  max-height: 62px;
  width: auto;
  object-fit: contain;
}

.header .branding {
  min-height: 78px;
  background: rgba(13, 27, 76, 0.98);
}

.header .topbar {
  height: auto;
  min-height: 42px;
  padding: 8px 0;
  background: #091233;
}

.header .topbar .contact-info,
.header .topbar .social-links {
  gap: 12px;
}

.header .topbar .contact-info i,
.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  color: #fff;
  line-height: 1.4;
}

.header .topbar .social-links a {
  color: rgba(255,255,255,.82);
  margin-left: 0;
}

.header .topbar .social-links a:hover {
  color: #6B90C6;
}

.navmenu > ul > li > a,
.navmenu a:focus {
  font-weight: 600;
  letter-spacing: .3px;
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: #6B90C6;
}

.navmenu > ul > li > a:before {
  background-color: #6B90C6;
}

.hero .hero-badge,
.tracking-pill,
.tracking-admin-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 144, 198, 0.14);
  color: #6B90C6;
  border: 1px solid rgba(107, 144, 198, 0.22);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
}

.hero .btn-primary,
.btn-primary {
  background: #0D1B4C;
  border-color: #0D1B4C;
}

.hero .btn-primary:hover,
.btn-primary:hover {
  background: #6B90C6;
  border-color: #6B90C6;
}

.btn-outline,
.btn-outline-primary {
  color: #0D1B4C;
  border-color: #0D1B4C;
}

.btn-outline:hover,
.btn-outline-primary:hover {
  background: #0D1B4C;
  border-color: #0D1B4C;
  color: #fff;
}

.section-title h2,
.content h3,
.service-content h4,
h1, h2, h3, h4, h5 {
  color: #0D1B4C;
}

.tracking-hero {
  padding-top: 170px;
  padding-bottom: 90px;
}

.tracking-search-section {
  margin-top: -54px;
  position: relative;
  z-index: 3;
}

.tracking-search-card,
.tracking-result-card,
.tracking-info-card,
.tracking-empty-state,
.tracking-admin-card,
.tracking-login-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(13, 27, 76, 0.08);
  box-shadow: 0 18px 40px rgba(13, 27, 76, 0.08);
}

.tracking-search-card,
.tracking-empty-state,
.tracking-login-card,
.tracking-admin-card {
  padding: 28px;
}

.tracking-search-form .input-group {
  border: 1px solid rgba(13, 27, 76, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.tracking-search-form .input-group-text {
  background: #fff;
  border: 0;
  color: #6B90C6;
  padding-left: 18px;
}

.tracking-search-form .form-control {
  border: 0;
  min-height: 58px;
}

.tracking-search-form .btn {
  border-radius: 0;
  padding-inline: 22px;
}

.tracking-info-card {
  padding: 26px;
  height: 100%;
}

.tracking-info-card i {
  font-size: 2rem;
  color: #6B90C6;
  margin-bottom: 16px;
  display: inline-block;
}

.tracking-empty-state {
  text-align: center;
}

.tracking-empty-state i {
  font-size: 3rem;
  color: #6B90C6;
  display: inline-block;
  margin-bottom: 14px;
}

.tracking-result-card {
  padding: 32px;
}

.tracking-result-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tracking-kpi-value {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: #0D1B4C;
  font-weight: 800;
}

.tracking-progress-wrap {
  margin-top: 24px;
}

.tracking-progress-bar {
  width: 100%;
  height: 14px;
  background: #e9eef7;
  border-radius: 999px;
  overflow: hidden;
}

.tracking-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6B90C6 0%, #0D1B4C 100%);
  border-radius: 999px;
  transition: width .4s ease;
}

.tracking-progress-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 10px;
  font-size: .82rem;
  color: #62718f;
}

.tracking-stat-card,
.tracking-detail-card {
  background: #f8fbff;
  border: 1px solid rgba(13, 27, 76, 0.07);
  border-radius: 20px;
  padding: 20px;
  height: 100%;
}

.tracking-stat-card .label {
  display: block;
  font-size: .85rem;
  color: #6d7c98;
  margin-bottom: 8px;
}

.tracking-stat-card strong {
  color: #0D1B4C;
  word-break: break-word;
}

.tracking-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tracking-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(13, 27, 76, 0.08);
  padding: 11px 0;
}

.tracking-meta-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tracking-meta-list span {
  color: #6d7c98;
}

.tracking-meta-list strong {
  color: #0D1B4C;
  text-align: right;
}

.tracking-refresh-note {
  color: #6B90C6;
  font-weight: 600;
  font-size: .92rem;
}

.tracking-timeline {
  position: relative;
  padding-left: 18px;
}

.tracking-timeline:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #d8e3f3;
}

.timeline-item {
  position: relative;
  padding-left: 26px;
  padding-bottom: 26px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -1px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c6d4ea;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #d8e3f3;
}

.timeline-done .timeline-marker {
  background: #0D1B4C;
  box-shadow: 0 0 0 2px rgba(13, 27, 76, 0.18);
}

.timeline-current .timeline-marker {
  background: #6B90C6;
  box-shadow: 0 0 0 5px rgba(107, 144, 198, 0.18);
}

.timeline-content h5 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.timeline-content p {
  margin-bottom: 0;
  color: #6d7c98;
}

.tracking-admin-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #eef4fb 0%, #f9fbfe 100%);
}

.tracking-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tracking-admin-header h1 {
  margin-bottom: 8px;
}

.tracking-workflow-list {
  padding-left: 18px;
  margin-bottom: 0;
}

.milestone-admin-row {
  margin-bottom: 14px;
}

.table > :not(caption) > * > * {
  padding: 1rem .75rem;
}

.table thead th {
  color: #6d7c98;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 1199px) {
  .header .branding {
    min-height: 72px;
  }

  .mobile-nav-toggle {
    color: #fff;
    margin-right: 0;
  }

  .navmenu ul {
    inset: 82px 16px 16px 16px;
    border-radius: 18px;
    padding: 14px 0;
    box-shadow: 0 24px 48px rgba(13, 27, 76, 0.14);
  }

  .navmenu a,
  .navmenu a:focus {
    font-size: 16px;
  }

  .mobile-nav-active .mobile-nav-toggle {
    top: 24px;
    right: 18px;
  }
}

@media (max-width: 767px) {
  .logo-container img,
  .logo img {
    max-height: 48px;
  }

  .header .topbar .container {
    justify-content: center !important;
  }

  .header .topbar .contact-info {
    justify-content: center;
  }

  .header .topbar .social-links {
    justify-content: center;
    width: 100%;
  }

  .tracking-hero {
    padding-top: 156px;
    padding-bottom: 70px;
  }

  .tracking-search-card,
  .tracking-result-card,
  .tracking-empty-state,
  .tracking-login-card,
  .tracking-admin-card {
    padding: 22px;
    border-radius: 20px;
  }

  .tracking-progress-labels {
    grid-template-columns: repeat(2, 1fr);
  }

  .tracking-meta-list li {
    flex-direction: column;
    gap: 4px;
  }

  .tracking-meta-list strong {
    text-align: left;
  }

  .tracking-result-header {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .header .topbar .contact-info i {
    margin-right: 0;
  }

  .header .topbar .contact-info i + i {
    margin-left: 0;
  }

  .header .topbar .contact-info {
    flex-direction: column;
    gap: 8px;
  }

  .hero .hero-actions,
  .cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero .hero-actions .btn,
  .hero .hero-actions .btn-secondary,
  .cta-wrapper .btn {
    width: 100%;
    text-align: center;
  }
}
