* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: linear-gradient(135deg, #1e70e4 0%, #00b489 100%);
}

/* ── BASE ── */
html {
  font-size: 15px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "Sora", sans-serif;
  -webkit-font-smoothing: antialiased;
 
}

.font-14 {
  font-size: 14px;
}
.font-12 {
  font-size: 12px;
}

/* ==========================================
   header
============================================= */
.header-section {
    background-color: #003D2A; /* Your Primary Theme Color */
    transition: all 0.3s ease;
}

.header-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   Brand & Logo Styling
   ========================================================================== */
.logo-img {
    max-height: 58px;
    width: auto;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

.portal-badge {
    font-size: 0.68rem;
    color: #f3b23e;
    letter-spacing: 0.8px;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Theme Buttons
   ========================================================================== */
.btn-amber {
    background-color: #f3b23e;
    color: #003D2A;
    border: 1px solid #f3b23e;
    transition: all 0.25s ease-in-out;
}

.btn-amber:hover {
    background-color: #e0a12e;
    border-color: #e0a12e;
    color: #002B1D;
    transform: translateY(-1px);
}

.btn-outline-amber {
    background-color: transparent;
    color: #f3b23e;
    border: 1px solid #f3b23e;
    transition: all 0.25s ease-in-out;
}

.btn-outline-amber:hover {
    background-color: #f3b23e;
    color: #003D2A;
    transform: translateY(-1px);
}

/* ==========================================================================
   Social Icons & User Actions
   ========================================================================== */
.social-icon-btn {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-icon-btn:hover {
    background-color: #f3b23e;
    color: #003D2A !important;
    transform: translateY(-2px);
}

.profile-btn {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.profile-btn:hover {
    color: #f3b23e;
}

/* ==========================================================================
   Navigation Bar & Menu Links
   ========================================================================== */
.navbar {
    background-color: #002B1D; /* Slightly darker green for nav contrast */
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px !important;
    position: relative;
    transition: all 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f3b23e;
}

/* Underline Animation on Hover */
.navbar-nav .nav-link::after {
 display: none;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Dropdown Menu Customization */
.dropdown-menu {
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
}

.dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 9px 18px;
    color: #333333;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(243, 178, 62, 0.15);
    color: #003D2A;
    padding-left: 22px;
}

/* Mobile Toggler Customization */
.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        background-color: #003D2A;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
    }

    .dropdown-item:hover {
        background-color: rgba(243, 178, 62, 0.2);
        color: #ffffff;
    }
}


@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
  }
}


.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
  color: #ffc107 !important; 
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #f3b23e;
}
/* ==========================================================================
   Sidebar Dynamic Active Menu Styling
   ========================================================================== */

/* Single Menu Item Active State */
.sidebar-link.single-link.active {
    background-color: #F3B23E !important; /* Theme Accent Amber */
    color: #003D2A !important;             /* Theme Dark Green */
    font-weight: 700;
}

/* Submenu Item Active State */
.submenu-list .list-group-item.active {
    background-color: #F3B23E !important; /* Theme Accent Amber */
    color: #003D2A !important;             /* Theme Dark Green */
    font-weight: 700;
}

/* 2nd Level Nested Submenu Active State */
.nested-submenu .collapse .list-group-item.active {
    background-color: #003D2A !important; /* Theme Dark Green */
    color: #ffffff !important;             /* White Text */
    font-weight: 600;
}

/* Active Parent Accordion Header Highlight */
.sidebar-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(0, 61, 42, 0.08) !important;
    color: #003D2A !important;
    border-left: 4px solid #003D2A;
}
/* ==========================================================================
   Welcome Banner
   ========================================================================== */
.bg-theme-primary {
    background-color: #003D2A !important;
}

.text-theme-primary {
    color: #003D2A !important;
}

.welcome-banner {
    background: linear-gradient(135deg, #f3b23e 0%, #e0a12e 100%);
    color: #003D2A;
    border: 1px solid rgba(0, 61, 42, 0.1);
}

.welcome-title {
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Sidebar Accordion Navigation
   ========================================================================== */
.sidebar-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.sidebar-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-accordion .accordion-item:last-child {
    border-bottom: none;
}

/* Single Links */
.sidebar-link.single-link {
    display: block;
    padding: 12px 18px;
    color: #333333;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-link.single-link:hover,
.sidebar-link.single-link.active {
    background-color: rgba(243, 178, 62, 0.15);
    color: #003D2A;
    padding-left: 22px;
}

/* Accordion Buttons */
.sidebar-accordion .accordion-button {
    font-size: 0.88rem;
    font-weight: 700;
    color: #003D2A;
    background-color: #ffffff;
    padding: 12px 18px;
    box-shadow: none !important;
}

.sidebar-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(0, 61, 42, 0.04);
    color: #003D2A;
}

.sidebar-accordion .accordion-button::after {
    background-size: 0.85rem;
}

/* Submenu Items */
.submenu-list .list-group-item {
    font-size: 0.84rem;
    font-weight: 500;
    color: #555555;
    padding: 9px 18px 9px 25px;
    background-color: #fcfcfc;
    border-color: #f3f3f3;
    transition: all 0.2s ease;
}

.submenu-list .list-group-item:hover {
    background-color: rgba(243, 178, 62, 0.2);
    color: #003D2A;
    padding-left: 28px;
}

.nested-submenu .collapse a {
    font-size: 0.82rem;
    color: #666666;
}

.nested-submenu .collapse a:hover {
    color: #003D2A;
}

.fs-12 {
    font-size: 12px;
}

/* ==========================================================================
   Right Side Content Tabs
   ========================================================================== */
.main-content-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    min-height: 420px;
}

.custom-content-tabs .nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #003D2A;
    background-color: #f4f6f5;
    border-radius: 6px;
    padding: 9px 18px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.custom-content-tabs .nav-link:hover {
    background-color: rgba(243, 178, 62, 0.2);
    color: #003D2A;
}

.custom-content-tabs .nav-link.active {
    background-color: #003D2A;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 61, 42, 0.2);
}

.content-body p {
    color: #444444;
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.content-body .lead-text {
    color: #111111;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .custom-content-tabs .nav-link {
        width: 100%;
        margin-right: 0;
        text-align: left;
    }
}



/* ==========================================================================
   New LM Registration Section Styles
   ========================================================================== */
.max-w-700 {
    max-width: 700px;
}

.border-dashed {
    border-style: dashed !important;
}

/* Primary Theme Button */
.btn-theme-primary {
    background-color: #003D2A;
    color: #ffffff;
    border: 1px solid #003D2A;
    transition: all 0.25s ease;
}

.btn-theme-primary:hover {
    background-color: #002B1D;
    color: #f3b23e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 42, 0.25) !important;
}

/* Outline Theme Button */
.btn-outline-theme {
    background-color: #ffffff;
    color: #003D2A;
    border: 2px solid #003D2A;
    transition: all 0.25s ease;
}

.btn-outline-theme:hover {
    background-color: #003D2A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 42, 0.15);
}

/* Light Amber Background Card */
.bg-amber-light {
    background-color: rgba(243, 178, 62, 0.08);
    border-color: rgba(243, 178, 62, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .registration-portal-card {
        padding: 1.5rem !important;
    }
}
/* Custom Compact Button Styles */
.registration-actions .btn {
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Primary Theme Outline Button */
.btn-outline-theme {
    background-color: #ffffff;
    color: #003D2A;
    border: 1.5px solid #003D2A;
    transition: all 0.25s ease;
}

.btn-outline-theme:hover {
    background-color: #003D2A;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 61, 42, 0.15);
}

/* Incomplete Registration Button Compact Adjustment */
.incomplete-reg-card .btn {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Incomplete Registration Form Styling
   ========================================================================== */
.max-w-550 {
    max-width: 520px;
}

.tracking-wide {
    letter-spacing: 0.8px;
}

.py-3\.5 {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
}

/* Custom Input Focus and Style */
.input-group-text {
    border-color: #dee2e6;
    font-size: 0.95rem;
}

.form-control {
    font-size: 0.9rem;
    padding: 10px 14px;
    border-color: #dee2e6;
}

.form-control:focus {
    border-color: #003D2A;
    box-shadow: none;
}

.input-group:focus-within .input-group-text {
    border-color: #003D2A;
    color: #003D2A !important;
}

.input-group:focus-within .form-control {
    border-color: #003D2A;
}


/*========================
Member list
============================*/
/* Search Bar Styling */
 
    .btn-mib-red {
      background-color: #E3A331;
      color: #ffffff;
      font-weight: 600;
      border: none;
      padding: 8px 24px;
      transition: all 0.3s ease;
    }
    .btn-mib-red:hover {
      background-color: #E3A331;
      color: #ffffff;
    }

    /* Top Filter Bar Panel */
  /* Top Filter Bar Panel */
.filter-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(11, 28, 62, 0.03);
}

.filter-subtitle {
  color: #d97706;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 8px;
}

/* Membership Type Filter Button Styling */
.btn-filter-type {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.btn-filter-type:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Active State for Clicked Button */
.btn-filter-type.active {
  background-color: #E3A331; 
  color: #ffffff;
  border-color: #E3A331;
}

/* Red Filter Action Button */
.btn-mib-red {
  background-color: #E3A331;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 8px;
  border: none;
  transition: background 0.2s ease;
}

.btn-mib-red:hover {
  background-color: #e3a231d0;
  color: #ffffff;
}

    /* Member table  Design */
.member-table-wrapper {
  background: #f8fafc;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.member-table {
  background-color: #ffffff;
  border-collapse: separate;
  border-spacing: 0 10px;
  min-width: 900px;
}

.member-table thead th {
  background-color: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 2px solid #e2e8f0;
  padding: 12px;
}

.member-table tbody tr {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.member-table tbody tr:hover {
  background-color: #f8fafc;
}

.member-table tbody td {
  padding: 14px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

/* 1. Member Image (Circular Style like image) */
.member-img-wrap {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  margin: 0 auto;
}

.member-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. Name & Email */
.member-name {
  font-size: 12px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.2;
}

.member-email {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* Labels & Values for Info */
.info-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}

.info-value {
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}

/* Member Type Badge */
.badge-member-type {
  background-color: #22c55e; 
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

/* Event Photo Frame Buttons */
.btn-action-frame {
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #334155;
  text-decoration: none;
  background: #ffffff;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-action-frame:hover {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.member-table-wrapper {
  background: #f8fafc;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  width: 100% !important; 
}


.member-table {
  width: 100% !important;
  background-color: #ffffff;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-bottom: 0;
 
}
.member-table-wrapper {
  background: #f8fafc;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  width: 100% !important; 
}


.member-table {
  width: 100% !important;
  background-color: #ffffff;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-bottom: 0;
  
}

    /* Member Action Buttons */
    .btn-action-outline {
      border: 1px solid #c02128;
      color: #c02128;
      font-size: 11.5px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 4px;
      background: transparent;
      text-decoration: none;
      display: inline-block;
      transition: all 0.2s ease;
    }
    .btn-action-outline:hover {
      background-color: #c02128;
      color: #ffffff;
    }



/*==========================
footer
===========================*/

.mib-footer-section {
      background-color: #ffffff;
      color: #475569;
      font-size: 14px;
      border-top: 1px solid #e2e8f0;
    }

    .text-navy { color: #0b1c3e; }
    .text-red { color: #c02128; }

    /* Social Icon Circles */
    .mib-social-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background-color: #f1f5f9;
      color: #003D2A;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      text-decoration: none;
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }

    .mib-social-btn:hover {
      background-color: #e0a12e;
      color: #ffffff;
      border-color: #e0a12e;
      transform: translateY(-3px);
    }

    .contact-info-list {
      line-height: 1.8;
    }

    .contact-info-list a {
      color: #475569;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .contact-info-list a:hover {
      color: #c02128;
    }

    /* Quick Links with Dividers */
    .footer-nav-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 18px;
      padding: 0;
      list-style: none;
    }

    .footer-nav-links a {
      color: #0b1c3e;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-nav-links a:hover {
      color: #c02128;
    }

    .footer-nav-links li:not(:last-child)::after {
      content: '|';
      margin-left: 18px;
      color: #cbd5e1;
      font-weight: 300;
    }

    /* Bank Details Card Box */
    .bank-info-box {
      background: #f8fafc;
      border: 1px dashed #cbd5e1;
      border-radius: 12px;
      padding: 14px 20px;
      max-width: 820px;
      margin: 0 auto;
    }

    /* Equal Width App & QR Alignment (180px Fixed) */
    .app-download-card {
      background: linear-gradient(135deg, #0b1c3e 0%, #172a4d 100%);
      border-radius: 12px;
      padding: 12px;
      color: #ffffff;
      text-align: center;
      width: 170px;
      box-shadow: 0 4px 12px rgba(11, 28, 62, 0.15);
    }

    .btn-google-play {
      background-color: #ffffff;
      color: #0b1c3e;
      border-radius: 8px;
      padding: 6px 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      text-decoration: none;
      transition: all 0.3s ease;
      width: 100%;
    }

    .btn-google-play:hover {
      background-color: #f8fafc;
      color: #c02128;
    }

    .qr-code-box {
      width: 180px;
    }

    .qr-box-wrapper {
      background: #ffffff;
      padding: 8px;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      display: inline-block;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .qr-box-wrapper img {
      width: 90px;
      height: 90px;
      display: block;
      margin: 0 auto;
    }

    /* Bottom Dark Bar */
    .footer-bottom-bar {
      background-color: #003D2A;
      color: #94a3b8;
      padding: 16px 0;
      font-size: 13px;
    }

    .footer-bottom-bar a {
      color: #ffffff;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-bottom-bar a:hover {
      color: #fca5a5;
    }

/* Progress bar and table width helper utilities */
.min-w-50 {
    min-width: 52px;
}

.progress {
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    background-color: #003D2A !important; /* Theme Green for progress bar */
    transition: width 0.6s ease;
}

.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.12) !important;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.12) !important;
}

/* ==========================================================================
   MAA Family Day Event Section Styles
   ========================================================================== */
.event-hero-banner {
    background: linear-gradient(135deg, #003D2A 0%, #002B1D 100%);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.85);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.px-3\.5 {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
}

.p-3\.5 {
    padding: 0.95rem !important;
}

.fee-card {
    transition: all 0.25s ease;
}

.fee-card:hover {
    border-color: #003D2A !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.text-amber {
    color: #f3b23e;
}

.width-48 {
    width: 48px;
}

.height-48 {
    height: 48px;
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid #dee2e6 !important;
    }
}

/* ==========================================================================
   Guideline Steps Timeline & Payment Custom Styles
   ========================================================================== */
.max-w-800 {
    max-width: 800px;
}

.w-fit {
    width: fit-content;
}

/* Timeline Step Icons */
.step-number {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(0, 61, 42, 0.2);
}

.step-item {
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 38px;
    left: 17px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: #e0e0e0;
}

/* Payment Channel Cards */
.channel-icon {
    width: 48px;
    height: 48px;
}

.payment-channel-card {
    transition: all 0.25s ease;
}

.payment-channel-card:hover {
    border-color: #003D2A !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}