:root {
  --primary-color: #4e73df;
  --bg-light: #f8f9fc;
}

body {
  background-color: var(--bg-light);
}

.registration-container {
  background-color: #F3F5F7;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 100%;
  position: relative;
  margin: auto;
}

.bld-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bld-header .logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #01606f;
  margin-bottom: 0.5rem;
}

.bld-header .sub-text {
  font-size: 1.1rem;
  color: #495057;
  margin-bottom: 1rem;
}

.bld-header .register-steps {
  font-size: 0.95rem;
  color: #6c757d;
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 120px;
  /* Control step width */
}

.progress-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #BBCBE3;
  /* Inactive background */
  color: #1B1833;
  /* Inactive number color */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  z-index: 1;
  /* Above line */
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.progress-step-number.checked {
  background-color: #28a745;
  /* Green for checked */
  color: white;
  border-color: #28a745;
}

.progress-step-label {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.5rem;
  text-align: center;
  white-space: nowrap;
}

.progress-step.active .progress-step-number {
  background: linear-gradient(90deg, #06454e, #01606f);
  color: white;
  border-color: #01606f;
}

.progress-step.active .progress-step-label {
  color: #01606f;
  font-weight: 600;
}

.progress-line {
  position: absolute;
  height: 1px;
  background-color: #1B1833;
  width: calc(100% - 77%);
  top: 18px;
  /* left: 36px; */
  /* right: 36px; */
  z-index: 0;
}

.progress-line-fill {
  height: 100%;
  background-color: #126f7d;
  /* Blue fill */
  width: 0%;
  /* Controlled by JS */
  transition: width 0.3s ease;
}

.form-step-content {
  background-color: white !important;
  padding: 2.5rem 3rem;
}

.custom-form-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.custom-form-control,
.custom-form-select {
  border-radius: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid #E9EDF0 !important;
  background-color: #F3F5F7 !important;
  font-size: 1rem !important;
  color: #343a40 !important;
}

.custom-form-control:focus,
.custom-form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  background-color: white;
}

.input-group .custom-form-control {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.input-group-text {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  background-color: #F3F5F7;
  border-color: #E9EDF0;
}

/* OTP Input Styling */
.otp-input-group {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  /* Space between OTP boxes */
  margin-bottom: 2rem;
}

.otp-input {
  width: 50px !important;
  height: 50px !important;
  text-align: center !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.5rem !important;
  background-color: #F3F5F7 !important;
  color: #343a40 !important;
  padding: 0 !important;
}

.otp-input:focus {
  border-color: #126f7d;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.otp-timer {
  text-align: center;
  font-size: 1rem;
  color: #126f7d;
  margin-bottom: 1.5rem;
}

.otp-timer .bi {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Password Rules Styling */
.password-rules-list {
  list-style: none;
  padding-left: 0;
  margin-left: 1rem;
}

.password-rules-list li {
  font-size: 0.9rem;
  color: #dc3545;
  /* Red for unmet rules */
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.password-rules-list li.valid {
  color: #28a745;
  /* Green for met rules */
}

.password-rules-list li .bi {
  margin-right: 0.5rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.password-input-group {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  font-size: 1.1rem;
}

.sign-in-link {
  font-size: 0.95rem;
  color: #495057;
  text-decoration: none;
}

.sign-in-link strong {
  color: #F19331;
  font-weight: 600;
}

.sign-in-link:hover strong {
  text-decoration: underline;
}

.footer-links {
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.success-content {
  text-align: center;
  padding: 2rem 0;
}

.success-content h4 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #343a40;
  margin-bottom: 1rem;
}

.success-content p {
  font-size: 16px;
  color: #999;
  margin: 5px !important;
}

.success-content p strong {
  color: #0d6efd;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .registration-container {
    padding: 1.5rem;
  }

  .bld-header .logo-text {
    font-size: 2rem;
  }

  .bld-header .sub-text {
    font-size: 1rem;
  }

  .progress-step-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .progress-step-label {
    font-size: 0.75rem;
  }

  .progress-line {
    width: calc(100% - 60px);
    left: 30px;
    right: 30px;
    top: 15px;
  }

  .custom-form-control,
  .custom-form-select {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  .btn-next,
  .btn-submit {
    padding: 0.6rem 2rem;
    font-size: 1rem;
    max-width: 180px;
  }

  .sign-in-link,
  .footer-links {
    font-size: 0.8rem;
  }

  .registration-container .row>div {
    margin-bottom: 1rem;
    /* Add space between stacked columns */
  }

  .registration-container .row>div:last-child {
    margin-bottom: 0;
  }

  .otp-input-group {
    gap: 0.5rem;
  }

  .otp-input {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .password-rules-list {
    margin-top: 1rem;
  }
}

.password-rules-list li {
  list-style: none;
}

.password-rules-list li.text-success i {
  color: green;
}

.password-rules-list li.text-danger i {
  color: red;
}

.folder-icon {
  width: 50px;
  height: auto;
  object-fit: contain;
}


.btn-next {
  background-color: #126f7d;
  color: white !important;
  border-radius: 999px;
  padding: 0.75rem 3rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 0.5rem rgb(18, 111, 125) !important;
  width: 100%;
  max-width: 200px;
  margin-bottom: 1.5rem;
}

.btn-next:hover {
  background-color: #126f7d;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.3);
}

.book-now-btn {
  padding: 0 40px;
  margin: 0;
  line-height: 44px;
  border: 1px solid #126f7d;
  background-color: #126f7d;
  color: #fff;
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

.disable-btn {
  padding: 0 40px;
  margin: 0;
  line-height: 44px;
  border: 1px solid #eee;
  background-color: #ddd;
  color: #999;
  display: inline-block;
  font-weight: 600;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

.login-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  backdrop-filter: blur(6px);
}

.login-box h4 {
  color: #126f7d;
  margin-bottom: 30px;
  font-weight: 700;
}

.transparent-login {
  background: rgba(255, 255, 255, 0.4);
  /* semi-transparent white */
}

.solid-login {
  background: #ffffff;
  /* solid white */
}

.login-box .form-group {
  margin-bottom: 25px;
}

.login-box .form-control {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-box .form-control:focus {
  border-color: #126f7d;
  box-shadow: 0 0 8px rgba(0, 48, 146, 0.2);
  outline: none;
}

.login-btn {
  width: auto !important;
  background-color: #fff !important;
  color: #126f7d !important;
  padding: 10px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background-color 0.3s, transform 0.2s !important;
}

.login-btn:hover {
  background-color: #002270 !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}

.btn-submit {
  width: 100%;
  background-color: #126f7d;
  color: #fff;
  padding: 15px 20px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
  background-color: #002270;
  transform: translateY(-2px);
}

.text-link {
  margin-top: 20px;
}

.text-link a {
  color: #126f7d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.text-link a:hover {
  color: #002270;
}

/** Dashbaord */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Modern Sidebar */
.sidebar {
  background: #fff;
  border-right: 1px solid #e3e6f0;
  margin-bottom: 20px;
}

.sidenav-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #b7b9cc;
  padding: 0 20px 10px;
  margin-top: 20px;
}

.nav-link-custom {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #4e5e7a;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.nav-link-custom:hover {
  background: #f1f4fb;
  color: var(--primary-color);
}

.nav-link-custom i {
  width: 25px;
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Subnav styling */
.subnav {
  list-style: none;
  padding-left: 45px;
  background: #fafafa;
}

.subnav a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #6e707e;
  text-decoration: none;
}

.subnav a:hover {
  color: var(--primary-color);
}

/* Main Content Area */
/* .main-content {
  flex: 1;
  padding: 30px;
} */

/* Quick Action Cards */
.stat-card {
  background: #fff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  transition: transform 0.2s;
  border-left: 4px solid var(--primary-color);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 45px;
  height: 45px;
  background: #eef2ff;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 15px;
}

.verification-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #28a745;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-not-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #ffc107;
    color: #212529;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.verified-by {
    color: #6c757d;
    font-size: 12px;
}

.charity-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.charity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.charity-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.organization-name {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.charity-title {
    color: #212529;
    font-weight: 600;
    text-decoration: none;
}

.charity-title:hover {
    color: #28a745;
}

.charity-description {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}

.charity-meta {
    font-size: 12px;
    color: #777;
}

.charity-meta i {
    margin-right: 5px;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
}

.event-item {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.event-item:hover {
    background: #f8f9fa;
}

/* Divider */
.event-divider {
    height: 1px;
    background: #eee;
    margin: 0 15px;
}

/* Content */
.event-title {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
}

.event-item:hover .event-title {
    color: #28a745;
}

.event-date {
    font-size: 12px;
    color: #6c757d;
}

.event-date i {
    margin-right: 5px;
}

.date-separator {
    margin: 0 4px;
    color: #999;
}

.share-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.share-icons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 11px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

/* Brand colors */
.fb { background: #1877f2; }
.tw { background: #1da1f2; }
.li { background: #0077b5; }
.wa { background: #25d366; }
.copy { background: #6c757d; }

.share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 8px 0;
}

.dropdown-item {
    font-size: 14px;
    padding: 8px 16px;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #28a745;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: hidden;
}

/* Each item */
.blog-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.blog-item:hover {
    background: #f8f9fa;
}

/* Image */
.blog-img {
    width: 80px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Content */
.blog-content {
    flex: 1;
}

.blog-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #212529;
}

.blog-item:hover .blog-title {
    color: #28a745;
}

.blog-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.blog-meta {
    font-size: 11px;
    color: #999;
}

.blog-meta i {
    margin-right: 4px;
}

/* Divider */
.blog-divider {
    height: 1px;
    background: #eee;
    margin: 0 12px;
}

.content-wrap{
  color: #222 !important;
  background-color: white !important;
}
.btn-view-all {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    margin: 10px;
    font-weight: bold;
}

.btn-view-all:hover {
    color: #e5e7eb;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1); /* subtle shadow */
    transform: translateY(-2px);
    font-weight: bold;
}

.customTable td, th{
  font-size: 13px;
  padding: 5px;
}

.program-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
  }

  /* Hover effect */
  .program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }

  /* Image wrapper */
  .program-img {
    position: relative;
    overflow: hidden;
  }

  .program-img img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  /* Zoom effect */
  .program-card:hover img {
    transform: scale(1.1);
  }

  /* Overlay */
  .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  }

  /* Date badge */
  .date-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
  }

  /* Title */
  .card-title a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
  }

  .card-title a:hover {
    color: #0d6efd;
  }

  /* Read more */
  .read-more {
    font-size: 14px;
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .read-more:hover {
    letter-spacing: 1px;
    color: #0a58ca;
  }

  /* Text */
  .card-text {
    font-size: 14px;
    line-height: 1.6;
  }


  /* Overlay (reuse from your card design) */
.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Content typography */
.program-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.program-content p {
    margin-bottom: 15px;
}

/* Headings inside content */
.program-content h1,
.program-content h2,
.program-content h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Images inside content */
.program-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
}

/* Card smooth look */
.card {
    border-radius: 15px;
}

/* Optional: subtle hover (if needed) */
.card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}