/* 
   DCRT — Login / Start Page Layout
   Applied to: startpage.html
*/

.login-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-body {
  display: flex;
  width: 100%;
  min-height: 500px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/*  Left Panel  */
.login-left {
  flex: 2.5;
  background-color: #f2f2f2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.login-left img.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.login-left .overlay-content {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  border-radius: 6px;
}

.login-left .overlay-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #003366;
  margin: 0;
}

/* Right Panel */
.login-right {
  flex: 1.3;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
   DCRT — Custom Navbar
   Applied to: all pages
*/

.custom-navbar {
  background-color: #003366;
  color: white;
  border-bottom: 2px solid #001f3f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  color: white !important;
  font-weight: 500;
}

.custom-navbar .nav-link:hover {
  color: #ffdd57 !important;
  text-decoration: underline;
}

.custom-navbar .navbar-brand span {
  font-size: 1.2rem;
}

.custom-navbar .navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.custom-navbar .nav-item.active .nav-link {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 5px 10px;
}

.custom-navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* 
   DCRT — Login Card
   Applied to: startpage.html + all auth pages
 */

.login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: none;
  padding: 32px;
  overflow: hidden; /* critical for auth-card-header gradient */
}

/*
.card.card-outline.card-primary {
  width: 100%;
  max-width: 400px;
}
*/

/*  Login/auth card — constrained width*/
.login-card.card.card-outline.card-primary {
  width: 100%;
  max-width: 400px;
}

/*  Registration card — always full width  */
.platform-reg-card.card.card-outline.card-primary {
  width: 100% !important;
  max-width: 100% !important;
}

/*  Login Header Inside Card  */
.login-card .login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-card .login-header h2 {
  color: #1a3c5e;
  font-weight: 700;
  font-size: 1.6rem;
}

.login-header h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 10px;
}

.login-subtext {
  text-align: center;
  font-size: 0.88rem;
  color: #888;
  margin-top: 4px;
  margin-bottom: 30px;
}

/*
   DCRT — Shared Button Styles
   Applied to: startpage, forgotpwd, setpassword, changepwd
*/

.btn-signin {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: 100%;
  display: block;
  text-align: center;
  transition: opacity 0.2s;
  cursor: pointer;
}

.btn-signin:hover {
  opacity: 0.88;
  color: #fff !important;
}

.btn-signin:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 
   DCRT — Form Styles
   Applied to: startpage.html
    */

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-group label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #333;
}

/*  Input Groups  */
.login-card .input-group-text {
  background: #f0f4f8;
  border-right: none;
  color: #2e6da4;
  border-radius: 6px 0 0 6px !important;
}

.login-card .form-control {
  border-left: none;
  border-radius: 0 6px 6px 0 !important;
}

.login-card .form-control:focus {
  box-shadow: none;
  border-color: #2e6da4;
}

.input-group-text {
  background-color: #f0f0f0;
}

/*  Show Password Button  */
.btn-show-pwd {
  border-left: none;
  border-color: #ced4da;
  background: #f0f4f8;
  color: #2e6da4;
  border-radius: 0 6px 6px 0 !important;
}

.btn-show-pwd:focus {
  box-shadow: none;
}

/*  Form Footer */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Forgot Password Link  */
.forgot-link {
  font-size: 0.83rem;
  color: #2e6da4;
  text-decoration: none;
  white-space: nowrap;
}

.forgot-link:hover {
  text-decoration: underline;
  color: #1a3c5e;
}

.forgot-link-wrap {
  text-align: right;
  margin-bottom: 18px;
}

/*  Secure Label  */
.secure-label {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/*  Register Strip  */
.register-strip {
  text-align: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 0.84rem;
  color: #888;
}

.register-strip a {
  color: #2e6da4;
  font-weight: 600;
  text-decoration: none;
}

.register-strip a:hover {
  text-decoration: underline;
}

/* 
   DCRT — Auth Pages Shared Styles
   Applied to: forgotpwd.html, changepwd.html, setpassword.html
  */

/* Page Background  */
.auth-page-bg {
  background: #f4f6f9;
  min-height: 100vh;
}

/*  Gradient Card Header  */
.auth-card-header {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4);
  color: #fff;
  padding: 28px 30px 20px;
  text-align: center;
  margin: -32px -32px 24px -32px;
  /* Works because .login-card has overflow: hidden */
}

.auth-card-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.auth-card-header-logo img {
  height: 48px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.auth-card-header-logo span {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-card-header p {
  margin: 0;
  font-size: 0.83rem;
  opacity: 0.85;
}

/*  Icon Circle  */
.icon-circle {
  width: 60px;
  height: 60px;
  background: #e8f0fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.icon-circle i {
  font-size: 1.5rem;
  color: #2e6da4;
}

/*  Auth Icon Wrap  */
.auth-icon-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.auth-card-title {
  color: #1a3c5e;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-card-subtitle {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
}

/*  Field Label  */
.auth-field-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 5px;
}

/*  Field Hint  */
.auth-field-hint {
  color: #aaa;
  font-size: 0.78rem;
  margin-top: 4px;
  display: block;
}

/*  Bottom Links */
.auth-bottom-links {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.auth-bottom-link {
  font-size: 0.85rem;
  color: #2e6da4;
  text-decoration: none;
  font-weight: 600;
}

.auth-bottom-link:hover {
  text-decoration: underline;
  color: #1a3c5e;
}

.auth-bottom-divider {
  color: #ddd;
  margin: 0 10px;
}

/* 
   DCRT — Password Strength
   Applied to: setpassword.html
   */

.strength-bar-wrap {
  margin-top: 6px;
}

.strength-bar-bg {
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  width: 100%;
}

.strength-bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: all 0.3s;
}

.strength-text {
  font-size: 0.8rem;
  margin-top: 3px;
  display: block;
}

.pwd-requirements {
  background: #f0f6ff;
  border-left: 3px solid #2e6da4;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #555;
  margin-bottom: 18px;
}

.pwd-requirements ul {
  margin: 6px 0 0 0;
  padding-left: 18px;
}

.pwd-requirements li {
  margin-bottom: 2px;
}

/* 
   DCRT — Page Footer
   Applied to: all auth pages
    */

.page-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.75rem;
  color: #aaa;
}

/* 
   DCRT — Honeypot Field
   Applied to: platformselfregistration.html
    */

.hp-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* 
   DCRT — Platform Self Registration Page
   Applied to: platformselfregistration.html + all step fragments
    */

/* Page Container  */
.platform-reg-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px 50px;
}

.content-wrapper {
  padding-top: 0 !important;
}

/*  Registration Card */
.platform-reg-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
  overflow: visible;
}

.platform-reg-card .card-header {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4);
  color: #fff;
  padding: 28px 30px;
  border-bottom: none;
  border-radius: 16px 16px 0 0;  
  overflow: hidden; 
}

.platform-reg-card .card-header span {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #fff;
}

.platform-reg-card .card-header span b {
  font-weight: 800;
}

.platform-reg-card .card-body {
  padding: 50px 40px 40px;
  background: #fafbfc;
  border-radius: 0 0 16px 16px;
}

/* Subtitle  */
.platform-reg-card .login-box-msg {
  text-align: center;
  color: #888;
  font-size: 0.88rem;
  margin-bottom: 24px;
  font-style: italic;
}

/*
   DCRT — Step Progress Indicator
  */

.form-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: -20px; 
  margin-bottom: 36px;
  gap: 0;
  position: relative;
}

/* Connecting line between steps */
.form-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #dce3ec;
  z-index: 0;
}

.form-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
  font-size: 0.75rem;
  font-weight: 600;
  color: #aab;
  cursor: default;
  text-align: center;
  transition: color 0.3s;
}

/* Step number circle */
.form-steps .step::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dce3ec;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: background 0.3s, transform 0.2s;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Active step */
.form-steps .step.active {
  color: #1a3c5e;
}

.form-steps .step.active::before {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(46, 109, 164, 0.35);
}

/* Completed step */
.form-steps .step.completed {
  color: #2e6da4;
}

.form-steps .step.completed::before {
  content: '✓';
  background: #27ae60;
}

/* 
   DCRT — Form Step Panels
 */

.form-step {
  display: none;
  animation: fadeInStep 0.3s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  Section Title  */
.form-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3c5e;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f0fe;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title i {
  color: #2e6da4;
  font-size: 1rem;
}

/*  Form Grid — 2 column layout  */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}

/*  Form Group  */
.form-grid .form-group {
  margin-bottom: 0;
}

.form-grid .form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
  display: block;
}

/*  Required Field Marker  */
.required-field::after {
  content: ' *';
  color: #e74c3c;
  font-weight: 700;
}

/* Form Controls  */
.form-grid .form-control,
.form-grid .form-control-sm {
  border: 1.5px solid #dce3ec;
  border-radius: 8px !important;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: auto;
}

.form-grid .form-control:focus,
.form-grid .form-control-sm:focus {
  border-color: #2e6da4;
  box-shadow: 0 0 0 3px rgba(46, 109, 164, 0.12);
  outline: none;
}

/*  Select Dropdowns */
.form-grid select.form-control,
.form-grid select.form-control-sm {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232e6da4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Hint Text  */
.form-grid small.text-muted,
.form-grid .hint-text {
  font-size: 0.75rem;
  color: #aab;
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}

/*  Select2 Override  */
.form-grid .select2-container
    .select2-selection--multiple {
  border: 1.5px solid #dce3ec !important;
  border-radius: 8px !important;
  min-height: 38px !important;
  padding: 3px 8px !important;
}

.form-grid .select2-container--bootstrap4
    .select2-selection--multiple:focus,
.form-grid .select2-container--bootstrap4.select2-container--focus
    .select2-selection--multiple {
  border-color: #2e6da4 !important;
  box-shadow: 0 0 0 3px rgba(46, 109, 164, 0.12) !important;
}

.select2-container--bootstrap4
    .select2-selection--multiple
    .select2-selection__choice {
  background: #e8f0fe !important;
  border: 1px solid #2e6da4 !important;
  border-radius: 4px !important;
  color: #1a3c5e !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

/* 
   DCRT — Navigation Buttons
   Applied to: platformselfregistration.html
 */

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #edf0f5;
}

/* Previous Button */
.navigation-buttons .btn-cancel {
  background: #fff;
  color: #1a3c5e;
  border: 2px solid #dce3ec;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.navigation-buttons .btn-cancel:hover:not(:disabled) {
  background: #f0f4f8;
  border-color: #2e6da4;
  color: #2e6da4;
}

.navigation-buttons .btn-cancel:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Next / Submit Button */
.navigation-buttons .btn-submit {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.1s;
  cursor: pointer;
}

.navigation-buttons .btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.navigation-buttons .btn-submit:active {
  transform: translateY(0);
}

/* 
   DCRT — hCaptcha Section
   Applied to: step5-logistics.html
 */

.captcha-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px dashed #dce3ec;
  text-align: center;
}

.captcha-section p {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 14px;
}

.captcha-section p i {
  color: #2e6da4;
  margin-right: 5px;
}

/* 
   DCRT — Registration Alert Messages
   Applied to: platformselfregistration.html
 */

.platform-reg-card .alert {
  border-radius: 10px;
  font-size: 0.87rem;
  border: none;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.platform-reg-card .alert-success {
  background: #e8f8f1;
  color: #1a6b3c;
  border-left: 4px solid #27ae60;
}

.platform-reg-card .alert-danger {
  background: #fdf0f0;
  color: #7b2424;
  border-left: 4px solid #e74c3c;
}

/* 
   DCRT — Responsive
   Single merged @media block — no duplicates
 */

@media (max-width: 768px) {

  /* Login page  */
  .login-body {
    flex-direction: column;
  }

  .login-left,
  .login-right {
    width: 100%;
    min-height: 300px;
  }

  .login-right {
    padding: 20px;
  }

  .login-left img.hero-image {
    max-width: 80%;
  }

  /*  Registration page */
  .platform-reg-card .card-body {
    padding: 20px 18px 30px;
  }

  .platform-reg-card .card-header span {
    font-size: 1.2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-steps::before {
    left: 5%;
    right: 5%;
  }

  .form-steps .step {
    font-size: 0.65rem;
  }

  .form-steps .step::before {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .navigation-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .navigation-buttons .btn-cancel,
  .navigation-buttons .btn-submit {
    width: 100%;
    text-align: center;
  }
}


/* 
   DCRT — Dashboard Styles
   Applied to: fragments/dashboard.html
 */

/*  Page Title */
.dashboard-title {
  color: #1a3c5e;
  font-weight: 700;
  font-size: 1.4rem;
}

/* Welcome Banner  */
.dash-welcome-banner {
  background: linear-gradient(135deg, #1a3c5e 0%, #2e6da4 100%);
  border-radius: 14px;
  padding: 24px 30px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 24px rgba(26, 60, 94, 0.25);
}

.dash-welcome-title {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.dash-welcome-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.dash-seal {
  height: 60px;
  opacity: 0.85;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/*  Stats Row  */
.dash-stats-row {
  margin-bottom: 8px;
}

/*  Stat Card Base  */
.dash-stat-card {
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dash-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.dash-stat-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px 16px;
}

.dash-stat-info {
  flex: 1;
}

.dash-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.dash-stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.dash-stat-sub {
  font-size: 0.76rem;
  opacity: 0.7;
}

.dash-stat-icon {
  font-size: 2.8rem;
  opacity: 0.2;
  margin-left: 10px;
}

.dash-stat-footer {
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.8rem;
}

.dash-stat-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
}

.dash-stat-link:hover {
  color: #fff;
  text-decoration: underline;
}

.dash-stat-link i {
  margin-left: 4px;
  font-size: 0.75rem;
}

/* Card Colors  */
.dash-card-blue {
  background: linear-gradient(135deg, #2e6da4, #3d8bcd);
  color: #fff;
}

.dash-card-teal {
  background: linear-gradient(135deg, #17a589, #1abc9c);
  color: #fff;
}

.dash-card-navy {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4);
  color: #fff;
}

.dash-card-green {
  background: linear-gradient(135deg, #1e8449, #27ae60);
  color: #fff;
}

.dash-card-orange {
  background: linear-gradient(135deg, #d35400, #e67e22);
  color: #fff;
}

.dash-card-indigo {
  background: linear-gradient(135deg, #283593, #3949ab);
  color: #fff;
}

.dash-card-red {
  background: linear-gradient(135deg, #922b21, #e74c3c);
  color: #fff;
}

.dash-card-yellow {
  background: linear-gradient(135deg, #d4ac0d, #f1c40f);
  color: #7d6608;
}

.dash-footer-orange { background: rgba(0,0,0,0.15); color:#fff; }
.dash-footer-indigo { background: rgba(0,0,0,0.15); color:#fff; }
.dash-footer-red    { background: rgba(0,0,0,0.15); color:#fff; }
.dash-footer-yellow { background: rgba(0,0,0,0.10); }

/*  Chart Card */
.dash-chart-card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}

.dash-chart-header {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4);
  color: #fff;
  border-radius: 14px 14px 0 0 !important;
  padding: 14px 24px;
  border-bottom: none;
}

.dash-chart-header .card-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.dash-chart-header .card-title i {
  margin-right: 8px;
}

/*  Progress Bars  */
.dash-progress-item {
  margin-bottom: 18px;
}

.dash-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.dash-progress-count {
  color: #1a3c5e;
  font-weight: 700;
}

.dash-progress-bar {
  height: 10px;
  border-radius: 5px;
  background: #edf0f5;
}

.dash-progress-bar .progress-bar {
  border-radius: 5px;
  transition: width 0.8s ease;
}

/* Quick Action Buttons */
.dash-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  gap: 8px;
  text-align: center;
}

.dash-quick-btn i {
  font-size: 1.6rem;
}

.dash-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.dash-qbtn-blue {
  background: #e8f0fe;
  color: #1a3c5e;
}

.dash-qbtn-blue:hover  { background: #d0e4ff; color: #1a3c5e; }

.dash-qbtn-teal {
  background: #e0f7f4;
  color: #0d6b5e;
}

.dash-qbtn-teal:hover  { background: #c3ede9; color: #0d6b5e; }

.dash-qbtn-red {
  background: #fdf0f0;
  color: #7b2424;
}

.dash-qbtn-red:hover   { background: #fce0e0; color: #7b2424; }

.dash-qbtn-navy {
  background: #e8ecf4;
  color: #1a3c5e;
}

.dash-qbtn-navy:hover  { background: #d4dced; color: #1a3c5e; }

/*  Responsive  */
@media (max-width: 768px) {
  .dash-welcome-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .dash-stat-number {
    font-size: 1.6rem;
  }

  .dash-quick-btn {
    padding: 14px 8px;
    font-size: 0.75rem;
  }

  .dash-quick-btn i {
    font-size: 1.3rem;
  }
}

/*
   DCRT — Sidebar Styles
 */

.main-sidebar,
.main-sidebar::before {
  background: #1a2535 !important;
}

.sidebar-link {
  color: rgba(255, 255, 255, 0.65) !important;
  border-radius: 8px !important;
  padding: 9px 14px !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  transition: all 0.2s !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.sidebar-link:hover {
  background: rgba(46, 109, 164, 0.25) !important;
  color: #fff !important;
}

.sidebar-link.active,
.nav-sidebar .nav-item .nav-link.active {
  background: linear-gradient(135deg, #1a3c5e, #2e6da4) !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(46, 109, 164, 0.35) !important;
}

.sidebar-link .nav-icon {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.9rem !important;
  width: 20px !important;
  transition: color 0.2s !important;
}

.sidebar-link:hover .nav-icon,
.sidebar-link.active .nav-icon {
  color: #fff !important;
}

.sidebar-section-label {
  padding: 12px 14px 4px !important;
  list-style: none !important;
}

.sidebar-section-label span {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

/* 
   DCRT — Dashboard Welcome Banner Nav Links
  */

.dash-banner-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.dash-banner-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dash-banner-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.dash-banner-link i {
  font-size: 0.78rem;
}

.dash-banner-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}


/* 
   DCRT — Top Navigation Bar
 */

.topnav-link {
  color: #1a3c5e !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  transition: all 0.2s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.topnav-link:hover {
  background: #e8f0fe !important;
  color: #2e6da4 !important;
  text-decoration: none !important;
}

.topnav-link i {
  font-size: 0.8rem !important;
}

.topnav-logout {
  color: #922b21 !important;
}

.topnav-logout:hover {
  background: #fdf0f0 !important;
  color: #e74c3c !important;
}