:root {
  --davv-navy: #003882;
  --davv-blue: #0056b3;
  --davv-blue-dark: #0b409c;
  --bg-light: #edf2f9;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --accent-gold: #d97706;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #e6f0f9;
  background-image:
    radial-gradient(rgba(148, 163, 184, 0.35) 0.8px, transparent 0.8px),
    linear-gradient(rgba(230, 240, 249, 0.82), rgba(230, 240, 249, 0.82)),
    url("../img/login-bg.jpg");
  background-size:
    16px 16px,
    cover,
    cover;
  background-position: center, center, center;
  background-repeat: repeat, no-repeat, no-repeat;
  background-attachment: scroll, fixed, fixed;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Design */
.davv-navbar {
  background-color: #ffffff;
  background-image: url("../img/header_BG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 3px solid #0b409c;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 14px rgba(11, 64, 156, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.davv-brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.davv-header-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b409c;
  letter-spacing: -0.01em;
}

.davv-header-hindi {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.davv-header-meta {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.session-badge-container {
  text-align: center;
}

.session-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
}

.session-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0b409c;
  line-height: 1;
}

.top-right-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e3a8a;
}

.top-right-nav a {
  color: #0b409c;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-right-nav a:hover {
  color: #2563eb;
}

.portal-title-right {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0b409c;
}

/* Main Content Header Banner */
.welcome-banner {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.welcome-banner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.welcome-banner p {
  font-size: 0.925rem;
  color: #64748b;
  margin: 0;
}

/* Stepper Design */
.stepper-pill-container {
  background: #ffffff;
  border-radius: 50rem;
  padding: 0.4rem 0.6rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  margin: 1.25rem 0 0.5rem;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.35rem;
  border-radius: 50rem;
  color: #64748b;
  transition: all 0.2s ease;
}

.step-pill.active {
  background: #0b409c;
  color: #ffffff;
}

.step-pill-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.step-pill-sub {
  font-size: 0.725rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

.step-pill.active .step-pill-sub {
  color: #93c5fd;
}

.step-pill-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-pill.active .step-pill-num {
  background: #ffffff;
  color: #0b409c;
}

.step-line-divider {
  width: 40px;
  height: 2px;
  background: #cbd5e1;
}

.step-count-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 50rem;
  margin-bottom: 1.5rem;
}

/* Main Layout Grid */
.portal-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

.info-sidebar-card {
  background: linear-gradient(180deg, #fffdf5 0%, #fffbeb 100%);
  border: 1px solid #fef3c7;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.info-sidebar-title .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.info-list li {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.35;
}

.info-list li i {
  color: #16a34a;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.sidebar-divider {
  border: 0;
  border-top: 2px solid #fcd34d;
  opacity: 0.8;
  margin: 1.25rem 0;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #fef3c7;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-label {
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.timeline-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.timeline-date {
  font-weight: 800;
  color: #0f172a;
  font-size: 0.85rem;
}

.need-help-box {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 0.85rem;
  padding: 0.95rem 1.1rem;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
}

.need-help-box i {
  font-size: 1.6rem;
  color: #2563eb;
  flex-shrink: 0;
}

.need-help-text {
  font-size: 0.775rem;
  color: #1e3a8a;
  line-height: 1.35;
}

.need-help-text strong {
  display: block;
  font-size: 0.875rem;
  color: #0f172a;
  font-weight: 800;
}

/* Card Section Design with Distinct Styled Header Banner */
.section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 0; /* Padding handles inside body */
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.section-card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.section-card-header .icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 0.65rem;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.section-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.section-card-body {
  padding: 1.75rem;
}

.verification-main-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Allotment Details Grid Cards */
.allotment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.allotment-grid > div:not(.allotment-row-divider) {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  transition: all 0.2s ease;
}

.allotment-grid > div:not(.allotment-row-divider):hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

@media (max-width: 991px) {
  .allotment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .allotment-grid {
    grid-template-columns: 1fr;
  }
}

.allotment-field-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.allotment-field-value {
  font-size: 0.925rem;
  color: #0b409c;
  font-weight: 800;
  word-break: break-word;
}

.allotment-row-divider {
  display: none; /* Replaced by grid gap */
}

/* Input with Icon Styling */
.input-group-custom {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group-custom .input-icon-bg {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 5;
}

.input-group-custom .form-control {
  padding-left: 3.25rem;
  height: 48px;
  border-radius: 0.6rem;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}

.input-group-custom .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-label-custom {
  font-size: 0.825rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.form-label-custom .req {
  color: #dc2626;
}

.btn-verify-primary {
  background: linear-gradient(180deg, #0b57d0 0%, #0040a8 100%);
  border: none;
  height: 48px;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: white;
  box-shadow: 0 4px 12px rgba(11, 87, 208, 0.25);
  transition: all 0.2s ease;
}

.btn-verify-primary:hover {
  background: linear-gradient(180deg, #094cb8 0%, #00338a 100%);
  box-shadow: 0 6px 16px rgba(11, 87, 208, 0.35);
}

.btn-verify-primary:hover,
.btn-verify-primary:focus,
.btn-verify-primary:active,
.btn-verify-primary:focus-visible,
.btn-verify-primary:disabled,
.btn-verify-primary[disabled],
.btn-verify-primary * {
  color: #ffffff !important;
}

.btn-submit-custom {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: none;
  height: 48px;
  padding: 0 1.75rem;
  border-radius: 50rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
  transition: all 0.2s ease;
}

.btn-submit-custom:hover {
  background: linear-gradient(180deg, #15803d 0%, #166534 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

.btn-back-verification {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  height: 48px;
  padding: 0 1.5rem;
  border-radius: 50rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-back-verification:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Custom Checkbox Styling for Declaration */
.form-check-input {
  border: 2px solid #475569 !important;
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
  border-radius: 0.3rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: #0b409c !important;
  border-color: #0b409c !important;
}

.form-check-input:focus {
  border-color: #0b409c !important;
  box-shadow: 0 0 0 4px rgba(11, 64, 156, 0.15) !important;
}

.fee-card {
  padding: 1.15rem 1.25rem;
  border-radius: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.fee-card.active {
  border: 2px solid #2563eb !important;
  background: #eff6ff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fee-card.active .radio-dot {
  border-color: #2563eb;
}

.fee-card.active .radio-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
}

.doc-checklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.doc-status-badge-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 170px;
}

.doc-file-input {
  max-width: 220px;
}

/* Footer Styling matching exact design */
.portal-footer-wrapper {
  margin-top: auto;
}

.footer-info-bar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.footer-info-grid {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-info-col {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.footer-info-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background-color: #e2e8f0;
}

@media (max-width: 991px) {
  .footer-info-col:not(:last-child)::after {
    display: none;
  }
}

.footer-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-icon-blue {
  background: #eff6ff;
  color: #1d4ed8;
}
.footer-icon-red {
  background: #fef2f2;
  color: #dc2626;
}

.footer-info-text {
  display: flex;
  flex-direction: column;
}

.footer-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b409c;
  margin-bottom: 0.15rem;
}

.footer-info-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
}

.footer-info-sub {
  font-size: 0.725rem;
  color: #64748b;
  font-weight: 500;
}

.footer-motto-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 0.85rem;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 280px;
}

.footer-motto-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1.05rem;
  color: #78350f;
  line-height: 1.25;
}

.footer-motto-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Main Dark Blue Footer */
.main-davv-footer {
  background: #003380;
  color: #ffffff;
  padding: 1.25rem 0;
}

.footer-brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-address {
  font-size: 0.775rem;
  color: #93c5fd;
  margin-top: 0.2rem;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #bfdbfe;
}

.footer-nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-links a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: white;
}

.social-fb {
  background: #1877f2;
}
.social-insta {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.social-tw {
  background: #1da1f2;
}
.social-yt {
  background: #ff0000;
}

/* Circular Photo Upload Widget */
.photo-upload-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.photo-circle-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.photo-circle-container:hover {
  border-color: #2563eb;
  transform: scale(1.03);
}

.photo-circle-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-upload-label {
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 700;
  margin-top: 0.6rem;
  text-align: center;
}

.sub-header-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 1rem;
}

/* Responsive Media Queries for Mobile Devices */
@media (max-width: 768px) {
  html {
    overflow-x: hidden !important;
  }

  body {
    overflow-x: clip !important;
    width: 100% !important;
  }

  .davv-navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    background-color: #ffffff !important;
    background-image: url("../img/header_BG.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 0.5rem 0.5rem;
    width: 100%;
  }

  .davv-navbar .container-fluid {
    flex-wrap: wrap !important;
    gap: 0.35rem 0.5rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    width: 100% !important;
  }

  .davv-brand-logo {
    width: 44px;
    height: 44px;
  }

  .davv-header-title {
    font-size: 0.85rem;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: unset;
    font-weight: 800;
  }

  .davv-header-hindi {
    display: block !important;
    font-size: 0.775rem;
    line-height: 1.2;
  }

  .davv-header-meta {
    display: block !important;
    font-size: 0.65rem;
  }

  .header-right-nav-container {
    display: none !important; /* Hidden on mobile devices */
  }

  .welcome-banner {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0 0.75rem !important;
    width: 100% !important;
  }

  .welcome-banner h2 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }

  .welcome-banner p {
    font-size: 0.8rem;
  }

  .welcome-session-pill-mobile {
    display: inline-block !important;
    font-size: 0.75rem;
    font-weight: 800;
    color: #0b409c;
    background: #dbeafe;
    padding: 0.2rem 0.75rem;
    border-radius: 50rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
  }

  .portal-grid-container {
    padding: 0 0.75rem 1.5rem !important;
    width: 100% !important;
  }

  /* Compact Mobile Stepper: Single Row with Number Above Label */
  .stepper-pill-container {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    border-radius: 1rem;
    padding: 0.4rem 0.5rem;
    width: 100%;
    max-width: 100%;
    gap: 0.25rem;
    margin: 0.75rem 0 0.35rem !important;
  }

  .step-pill {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.4rem 0.2rem;
    border-radius: 0.75rem;
    gap: 0.25rem;
  }

  .step-pill .text-start {
    text-align: center !important;
  }

  .step-pill-title {
    font-size: 0.725rem;
    white-space: nowrap;
  }

  .step-pill-sub {
    display: none;
  }

  .step-line-divider {
    display: none;
  }

  /* Layout Grid & Card Adjustments */
  .info-sidebar-card {
    display: none !important; /* Hidden from left column on mobile */
  }

  .verification-main-card {
    padding: 1.25rem 1rem;
    height: auto;
    border-radius: 1rem;
    width: 100%;
  }

  .input-group-custom .form-control {
    font-size: 0.875rem;
  }

  .btn-verify-primary {
    font-size: 0.775rem !important;
    height: 44px;
    padding: 0 0.5rem !important;
    letter-spacing: 0;
  }

  .doc-checklist-row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .doc-status-badge-container {
    min-width: unset !important;
    justify-content: flex-start !important;
  }

  .doc-file-input {
    max-width: 100% !important;
    flex: 1;
  }

  .btn-submit-custom {
    font-size: 0.775rem !important;
    height: 44px !important;
    padding: 0 0.85rem !important;
    width: 100%;
  }

  .btn-back-verification {
    font-size: 0.775rem !important;
    height: 44px !important;
    padding: 0 0.85rem !important;
    width: 100%;
  }

  .payment-proof-box {
    flex-direction: column;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .payment-proof-box > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  #proof-filename {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
    word-break: break-all;
  }

  .pay-proof-btn-col {
    width: 100% !important;
    margin-top: 0.5rem;
  }

  .pay-proof-btn-col button {
    width: 100% !important;
  }

  /* Compact Footer Mobile Adjustments */
  .footer-info-bar-card {
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    border-radius: 0.85rem;
  }

  .footer-info-grid {
    display: flex;
    flex-direction: column; /* Stacked one under another on mobile */
    gap: 1rem;
  }

  .footer-info-col {
    width: 100%;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #e2e8f0;
  }

  .footer-info-col:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-icon-box {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .footer-info-title {
    font-size: 0.75rem;
  }

  .footer-info-val {
    font-size: 0.825rem;
  }

  .footer-info-sub {
    font-size: 0.65rem;
  }

  .footer-motto-banner {
    grid-column: 1 / -1; /* Banner spans full width */
    padding: 0.5rem 0.85rem;
    min-width: unset;
  }

  .footer-motto-text {
    font-size: 0.85rem;
  }

  .main-davv-footer {
    padding: 0.85rem 0;
  }

  .main-davv-footer .container-fluid {
    flex-direction: column;
    gap: 0.65rem;
    text-align: center;
  }

  .footer-brand-title {
    font-size: 0.85rem;
  }

  .footer-address {
    font-size: 0.7rem;
  }

  .footer-nav-links {
    justify-content: center;
    font-size: 0.725rem;
    gap: 0.4rem;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .social-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* Document Checklist Card Styling & Mobile Responsiveness */
.doc-checklist-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.doc-checklist-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.doc-header-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.doc-actions-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.doc-upload-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-file-input {
  max-width: 230px;
  font-size: 0.825rem;
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .doc-checklist-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem;
  }

  .doc-header-block {
    margin-bottom: 0.25rem;
  }

  .doc-actions-block {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
  }

  .doc-badge-col {
    display: flex;
    justify-content: flex-start;
  }

  .doc-upload-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }

  .doc-file-input {
    max-width: 100%;
    flex: 1;
    font-size: 0.8rem;
  }

  .doc-upload-controls button {
    white-space: nowrap;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

/* Payment Badges Responsiveness */
.pay-badges-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .pay-badges-container {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    gap: 0.4rem;
  }

  .pay-badges-container .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem !important;
  }
}


