/* ===================================================================
   ACCAWO SAVINGS PLATFORM — STYLES
   Matches the prototype design: clean white, sage-green accents,
   organic wavy shapes, glassmorphism cards, premium typography.
   =================================================================== */

/* ---------- RESET & BASE ---------- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:#1a1a1a;background:#fff;line-height:1.65;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}

/* ---------- UTILITY ---------- */
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.text-green{color:#2D6A4F}
.section-title{font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:800;margin-bottom:12px;text-align:center;color:#1a1a1a}
.section-subtitle{font-size:1.05rem;color:#555;max-width:620px;margin:0 auto 48px;text-align:center}

/* ---------- BUTTONS ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;border-radius:50px;font-weight:600;font-size:.95rem;transition:all .25s ease;cursor:pointer;border:2px solid transparent}
.btn--primary{background:#2D6A4F;color:#fff;border-color:#2D6A4F}
.btn--primary:hover{background:#245840;border-color:#245840;transform:translateY(-2px);box-shadow:0 6px 20px rgba(45,106,79,.25)}
.btn--outline{background:transparent;color:#2D6A4F;border-color:#2D6A4F}
.btn--outline:hover{background:#2D6A4F;color:#fff;transform:translateY(-2px)}
.btn--sm{padding:8px 20px;font-size:.85rem}

/* ===================================================================
   HEADER
   =================================================================== */
.header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid #e8e8e8;transition:box-shadow .3s}
.header--scrolled{box-shadow:0 2px 20px rgba(0,0,0,.06)}
.header__inner{display:flex;align-items:center;justify-content:space-between;height:72px}
.header__logo{display:flex;align-items:center;gap:10px}
.header__logo-text{font-weight:800;font-size:1.35rem;color:#2D6A4F}
.header__nav{display:flex;gap:32px}
.header__link{font-weight:500;font-size:.92rem;color:#444;position:relative;transition:color .2s}
.header__link::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2.5px;background:#2D6A4F;border-radius:2px;transition:width .3s}
.header__link:hover,.header__link--active{color:#2D6A4F}
.header__link--active::after,.header__link:hover::after{width:100%}
.header__actions{display:flex;gap:12px}
.header__hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px}
.header__hamburger span{display:block;width:24px;height:2.5px;background:#1a1a1a;border-radius:2px;transition:all .3s}

/* ===================================================================
   HERO
   =================================================================== */
.hero{position:relative;padding:80px 0 60px;overflow:hidden;background:#fafcfa}
.hero--accawo{background:linear-gradient(175deg,#f0f7f2 0%,#fff 60%)}
.hero__inner{display:flex;align-items:center;gap:60px}
.hero__content{flex:1;max-width:560px}
.hero__title{font-size:clamp(2rem,4.5vw,3.2rem);font-weight:800;line-height:1.18;margin-bottom:20px;color:#1a1a1a}
.hero__subtitle{font-size:1.1rem;color:#555;margin-bottom:32px;line-height:1.7}
.hero__cta{display:flex;gap:16px;flex-wrap:wrap}
.hero__image{flex:1;display:flex;justify-content:center}
.hero__image-card{animation:float 4s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* Decorative leaves */
.hero__leaf{position:absolute;z-index:0;animation:sway 6s ease-in-out infinite}
.hero__leaf--1{top:10%;right:5%}
.hero__leaf--2{top:60%;left:2%}
.hero__leaf--3{bottom:10%;right:15%}
@keyframes sway{0%,100%{transform:rotate(0deg) translateY(0)}50%{transform:rotate(5deg) translateY(-8px)}}
.hero__decor-top{position:absolute;top:0;left:0;width:100%;z-index:0}
.hero__decor-top svg{width:100%;height:120px}

/* ===================================================================
   FEATURED IN
   =================================================================== */
.featured{padding:32px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
.featured__label{text-align:center;font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:2px;color:#999;margin-bottom:16px}
.featured__logos{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap}
.featured__logo-item{font-size:.95rem;font-weight:600;color:#aaa;opacity:.6;transition:opacity .3s}
.featured__logo-item:hover{opacity:1}

/* ===================================================================
   FEATURES (3-column cards)
   =================================================================== */
.features{padding:80px 0;background:#fff}
.features__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px}
.feature-card{background:#fff;border:1px solid #e8efe8;border-radius:16px;padding:36px 28px;text-align:center;transition:all .3s ease;position:relative;overflow:hidden}
.feature-card:hover{transform:translateY(-6px);box-shadow:0 12px 40px rgba(45,106,79,.1);border-color:#c5dcc5}
.feature-card__icon{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:0}
.feature-card__icon .material-symbols-outlined{font-size:30px;color:#fff}
.feature-card__icon--green{background:#2D6A4F}
.feature-card__icon--lime{background:#A7C957}
.feature-card__icon--teal{background:#40916C}
.feature-card__title{font-size:1.15rem;font-weight:700;margin-bottom:10px;color:#1a1a1a}
.feature-card__text{font-size:.92rem;color:#666;line-height:1.6}

/* ===================================================================
   MULTI-FEATURES (icon + text rows)
   =================================================================== */
.multi-features{padding:80px 0;background:#f7faf7}
.multi-features__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}
.multi-feature-item{display:flex;gap:16px;align-items:flex-start;background:#fff;padding:24px;border-radius:14px;border:1px solid #e8efe8;transition:all .3s}
.multi-feature-item:hover{box-shadow:0 8px 30px rgba(45,106,79,.08);transform:translateY(-3px)}
.multi-feature-item__icon{font-size:28px;color:#2D6A4F;flex-shrink:0;margin-top:2px}
.multi-feature-item h4{font-size:1rem;font-weight:700;margin-bottom:6px;color:#1a1a1a}
.multi-feature-item p{font-size:.88rem;color:#666;line-height:1.55}

/* ===================================================================
   CTA BANNER (green band with phone mockup)
   =================================================================== */
.cta-banner{position:relative;overflow:hidden}
.cta-banner__wave-top,.cta-banner__wave-bottom{line-height:0}
.cta-banner__wave-top svg,.cta-banner__wave-bottom svg{width:100%;height:80px}
.cta-banner__body{background:#2D6A4F;padding:60px 0}
.cta-banner__inner{display:flex;align-items:center;gap:60px;color:#fff}
.cta-banner__text{flex:1}
.cta-banner__text h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;margin-bottom:12px;line-height:1.25}
.cta-banner__text p{font-size:1rem;opacity:.85;margin-bottom:24px}
.cta-banner__buttons{display:flex;gap:12px;flex-wrap:wrap}
.store-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);padding:10px 20px;border-radius:12px;color:#fff;font-weight:600;font-size:.88rem;transition:all .25s}
.store-badge:hover{background:rgba(255,255,255,.25)}
.cta-banner__phone{flex-shrink:0}

/* Phone mockup */
.phone-mockup{width:220px;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.15);border:3px solid #e0e0e0}
.phone-mockup--dark{background:#1a1a2e;border-color:#333}
.phone-mockup__screen{padding:20px 16px}
.phone-mockup__header{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-weight:700;font-size:.85rem;color:#2D6A4F}
.phone-mockup--dark .phone-mockup__header{color:#A7C957}
.phone-mockup__dot{width:8px;height:8px;border-radius:50%;background:#A7C957}
.phone-mockup__balance{margin-bottom:16px}
.phone-mockup__balance small{display:block;font-size:.72rem;color:#888;margin-bottom:4px}
.phone-mockup__balance strong{font-size:1.4rem;font-weight:800;color:#2D6A4F}
.phone-mockup--dark .phone-mockup__balance strong{color:#fff}
.phone-mockup__bar{height:8px;background:#e8f5e9;border-radius:4px;margin-bottom:8px}
.phone-mockup__bar--short{width:60%}
.phone-mockup__chart{margin-top:8px}

/* ===================================================================
   SECURITY
   =================================================================== */
.security{padding:80px 0;background:#fff}
.security__inner{text-align:center;max-width:600px;margin:0 auto}
.security__icon-wrap{margin:0 auto 24px;width:80px;height:80px}

/* ===================================================================
   4 WAYS TO SAVE
   =================================================================== */
.ways-to-save{padding:80px 0;background:#f7faf7}
.ways-to-save__header{max-width:400px;margin-bottom:40px}
.ways-to-save__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.save-card{background:#fff;border-radius:16px;padding:28px 24px;border:1px solid #e8efe8;transition:all .3s}
.save-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(45,106,79,.08)}
.save-card__icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.save-card__icon .material-symbols-outlined{font-size:24px;color:#fff}
.save-card__icon--1{background:#2D6A4F}
.save-card__icon--2{background:#40916C}
.save-card__icon--3{background:#A7C957}
.save-card__icon--4{background:#52B788}
.save-card h4{font-size:1rem;font-weight:700;margin-bottom:8px;color:#1a1a1a}
.save-card p{font-size:.88rem;color:#666;line-height:1.55}

/* ===================================================================
   INVESTMENT
   =================================================================== */
.investment{padding:80px 0;background:#fff}
.investment__inner{display:flex;align-items:center;gap:60px}
.investment__phone{flex-shrink:0}
.investment__content{flex:1}
.investment__content h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;margin-bottom:16px;color:#1a1a1a}
.investment__content p{font-size:1rem;color:#555;margin-bottom:24px;line-height:1.7}

/* ===================================================================
   TESTIMONIAL
   =================================================================== */
.testimonial{padding:80px 0;background:linear-gradient(135deg,#f0f7f2,#e8f5e9)}
.testimonial__inner{display:flex;align-items:center;gap:48px}
.testimonial__image{flex-shrink:0}
.testimonial__content{flex:1}
.testimonial__content h3{font-size:1.3rem;font-weight:700;margin-bottom:4px;color:#1a1a1a}
.testimonial__role{font-size:.88rem;color:#888;margin-bottom:16px}
.testimonial__content blockquote{font-size:1.05rem;color:#444;line-height:1.7;font-style:italic;border-left:3px solid #A7C957;padding-left:20px;margin-bottom:16px}
.testimonial__stars{color:#FFD166;font-size:1.2rem;letter-spacing:4px}

/* ===================================================================
   ACCAWO SHEET (TABLE) — accawo.html
   =================================================================== */
.accawo-sheet{padding:60px 0;background:#fff}
.accawo-sheet__header{margin-bottom:32px}
.accawo-sheet__header h2{font-size:1.6rem;font-weight:800;color:#1a1a1a;margin-bottom:8px}
.accawo-sheet__header p{font-size:.92rem;color:#777}
.accawo-sheet__table-wrap{overflow-x:auto;border-radius:14px;border:1px solid #d4e8d4}
.accawo-sheet__table{width:100%;border-collapse:collapse;font-size:.92rem}
.accawo-sheet__table thead{background:#2D6A4F;color:#fff}
.accawo-sheet__table th{padding:14px 20px;text-align:left;font-weight:600}
.accawo-sheet__table td{padding:12px 20px;border-bottom:1px solid #e8efe8}
.accawo-sheet__table tbody tr:nth-child(even){background:#f7faf7}
.accawo-sheet__table tbody tr:hover{background:#e8f5e9}
.badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:.78rem;font-weight:600}
.badge--paid{background:#d4edda;color:#2D6A4F}
.badge--pending{background:#fff3cd;color:#856404}

/* ===================================================================
   ONLINE ACCAWO — accawo.html
   =================================================================== */
.online-accawo{padding:80px 0;background:#f7faf7}
.online-accawo__inner{text-align:center}
.online-accawo__icon{margin:0 auto 20px}
.online-accawo h2{font-size:1.8rem;font-weight:800;margin-bottom:12px;color:#1a1a1a}
.online-accawo > .container > p{max-width:600px;margin:0 auto 40px;color:#555;font-size:1rem}
.online-accawo__steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;margin-top:40px}
.step-card{background:#fff;border-radius:16px;padding:28px 24px;border:1px solid #e8efe8;text-align:center;transition:all .3s}
.step-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(45,106,79,.08)}
.step-card__num{width:44px;height:44px;border-radius:50%;background:#2D6A4F;color:#fff;font-weight:800;font-size:1.1rem;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.step-card h4{font-size:1rem;font-weight:700;margin-bottom:6px;color:#1a1a1a}
.step-card p{font-size:.88rem;color:#666}

/* ===================================================================
   SAVER OF THE MONTH — accawo.html
   =================================================================== */
.saver-of-month{padding:80px 0;background:#fff}
.saver-of-month__inner{display:flex;align-items:center;gap:60px}
.saver-of-month__text{flex:1}
.saver-of-month__text h2{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;margin-bottom:16px;color:#1a1a1a}
.saver-of-month__text p{font-size:1rem;color:#555;margin-bottom:24px;line-height:1.7}
.saver-of-month__image{flex:1}
.saver-of-month__placeholder{border-radius:20px;overflow:hidden}

/* ===================================================================
   MORE SAVINGS — accawo.html
   =================================================================== */
.more-savings{padding:80px 0;background:#f7faf7}
.more-savings__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.more-savings__card{background:#fff;border-radius:16px;padding:32px 24px;border:1px solid #e8efe8;text-align:center;transition:all .3s}
.more-savings__card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(45,106,79,.08)}
.more-savings__card .material-symbols-outlined{font-size:36px;color:#2D6A4F;margin-bottom:14px}
.more-savings__card h4{font-size:1.05rem;font-weight:700;margin-bottom:8px;color:#1a1a1a}
.more-savings__card p{font-size:.88rem;color:#666;line-height:1.55}

/* ===================================================================
   FAQ
   =================================================================== */
.faq{padding:80px 0;background:#fff}
.faq__list{max-width:760px;margin:0 auto}
.faq__item{border-bottom:1px solid #e8efe8;overflow:hidden}
.faq__question{padding:20px 0;font-weight:600;font-size:1.05rem;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;color:#1a1a1a;transition:color .2s}
.faq__question::-webkit-details-marker{display:none}
.faq__question::after{content:'+';font-size:1.4rem;font-weight:400;color:#2D6A4F;transition:transform .3s}
details[open] .faq__question::after{content:'−'}
details[open] .faq__question{color:#2D6A4F}
.faq__answer{padding:0 0 20px;font-size:.95rem;color:#555;line-height:1.7;animation:fadeIn .3s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

/* ===================================================================
   NEWSLETTER
   =================================================================== */
.newsletter{padding:60px 0;background:#2D6A4F;color:#fff}
.newsletter__inner{text-align:center}
.newsletter__inner h2{font-size:1.6rem;font-weight:800;margin-bottom:8px}
.newsletter__inner p{font-size:1rem;opacity:.85;margin-bottom:28px}
.newsletter__form{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;max-width:500px;margin:0 auto}
.newsletter__form input{flex:1;min-width:220px;padding:12px 20px;border:2px solid rgba(255,255,255,.3);border-radius:50px;background:rgba(255,255,255,.1);color:#fff;font-size:.95rem;font-family:inherit;outline:none;transition:border-color .3s}
.newsletter__form input::placeholder{color:rgba(255,255,255,.6)}
.newsletter__form input:focus{border-color:#A7C957}
.newsletter__form .btn--primary{background:#A7C957;color:#1a1a1a;border-color:#A7C957}
.newsletter__form .btn--primary:hover{background:#96b84a}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer{padding:60px 0 0;background:#0f1f17;color:#ccc}
.footer__inner{display:flex;gap:60px;flex-wrap:wrap}
.footer__brand{flex:1;min-width:240px}
.footer__logo{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.footer__logo span{font-weight:800;font-size:1.2rem;color:#fff}
.footer__brand p{font-size:.9rem;color:#888;max-width:280px;line-height:1.6}
.footer__links{display:flex;gap:60px;flex-wrap:wrap}
.footer__col{min-width:140px}
.footer__col h4{font-weight:700;font-size:.92rem;color:#fff;margin-bottom:16px}
.footer__col a{display:block;font-size:.88rem;color:#999;margin-bottom:10px;transition:color .2s}
.footer__col a:hover{color:#A7C957}
.footer__bottom{display:flex;align-items:center;justify-content:space-between;padding:24px 0;margin-top:40px;border-top:1px solid #1a3328;font-size:.85rem;color:#777}
.footer__socials{display:flex;gap:16px}
.footer__socials a{width:36px;height:36px;border-radius:50%;background:#1a3328;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:#aaa;transition:all .25s}
.footer__socials a:hover{background:#2D6A4F;color:#fff}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media(max-width:900px){
  .hero__inner{flex-direction:column;text-align:center}
  .hero__content{max-width:100%}
  .hero__cta{justify-content:center}
  .cta-banner__inner{flex-direction:column;text-align:center}
  .cta-banner__buttons{justify-content:center}
  .investment__inner{flex-direction:column}
  .testimonial__inner{flex-direction:column;text-align:center}
  .testimonial__content blockquote{border-left:none;padding-left:0;border-top:3px solid #A7C957;padding-top:16px}
  .saver-of-month__inner{flex-direction:column;text-align:center}
  .footer__inner{flex-direction:column;gap:40px}
}
@media(max-width:768px){
  .header__nav,.header__actions{display:none}
  .header__hamburger{display:flex}
  .header__nav--open{display:flex;flex-direction:column;position:absolute;top:72px;left:0;right:0;background:#fff;padding:24px;gap:20px;box-shadow:0 10px 30px rgba(0,0,0,.1);border-bottom:1px solid #eee;z-index:99}
  .header__nav--open + .header__actions{display:flex;flex-direction:column;position:absolute;top:calc(72px + var(--nav-height,200px));left:0;right:0;padding:0 24px 24px;background:#fff;gap:12px;z-index:99}
  .ways-to-save__header{text-align:center}
  .ways-to-save__header .section-title,.ways-to-save__header .section-subtitle{text-align:center !important}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .hero{padding:60px 0 40px}
  .hero__title{font-size:1.8rem}
  .feature-card{padding:24px 20px}
}

/* ===================================================================
   AUTH PAGES & CARDS
   =================================================================== */
.auth-page {
  background: linear-gradient(135deg, #f0f7f2 0%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-page .header {
  position: static;
  background: transparent;
  border-bottom: none;
}
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.auth-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: sway 8s ease-in-out infinite;
}
.auth-leaf--1 {
  top: 10%;
  left: 5%;
}
.auth-leaf--2 {
  bottom: 10%;
  right: 5%;
}
.auth-card {
  background: #ffffff;
  border: 1px solid rgba(45, 106, 79, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  max-width: 460px;
  padding: 48px 40px;
  position: relative;
  z-index: 1;
}
.auth-card--wide {
  max-width: 640px;
}
.auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.auth-card__logo span {
  font-weight: 800;
  font-size: 1.5rem;
  color: #2D6A4F;
}
.auth-card__title {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.auth-card__sub {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  margin-bottom: 32px;
}
.auth-alert {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}
.auth-alert--error {
  background: #fff5f5;
  color: #e63946;
  border: 1px solid #ffcccc;
}
.auth-alert--success {
  background: #e8f5e9;
  color: #2D6A4F;
  border: 1px solid #c8e6c9;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-form__group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-form__forgot {
  font-size: 0.82rem;
  color: #2D6A4F;
  font-weight: 500;
  transition: color 0.2s;
}
.auth-form__forgot:hover {
  color: #1b4332;
  text-decoration: underline;
}
.auth-form__input-wrap {
  position: relative;
}
.auth-form__input-wrap .material-symbols-outlined {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 20px;
  pointer-events: none;
}
.auth-form__input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a1a1a;
  outline: none;
  transition: all 0.2s ease;
}
.auth-form__input-wrap input:focus {
  border-color: #2D6A4F;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}
.auth-form__eye {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.auth-form__eye:hover {
  color: #333;
}
.auth-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin-top: 4px;
}
.auth-form__checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #2D6A4F;
}
.auth-form__checkbox span {
  display: inline;
}
.auth-form__checkbox a {
  color: #2D6A4F;
  font-weight: 600;
}
.auth-form__checkbox a:hover {
  text-decoration: underline;
}
.btn--full {
  width: 100%;
  border-radius: 12px;
  padding: 14px 28px;
}
.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1.5px solid #f1f5f9;
}
.auth-divider::before { margin-right: 12px; }
.auth-divider::after { margin-left: 12px; }
.auth-card__switch {
  text-align: center;
  font-size: 0.92rem;
  color: #666;
}
.auth-card__switch a {
  color: #2D6A4F;
  font-weight: 600;
}
.auth-card__switch a:hover {
  text-decoration: underline;
}
.pw-strength {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: -8px;
}
.pw-strength__bar {
  background: #f1f5f9;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}
.pw-strength__fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}
#pw-label {
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===================================================================
   DASHBOARD GENERAL LAYOUT
   =================================================================== */
.dashboard-body {
  background: #f4f7f5;
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}
.sidebar {
  width: 260px;
  background: #1b4332;
  color: #ffffff;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.sidebar__brand {
  height: 80px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar__brand span {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.sidebar__nav {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}
.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.sidebar__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.sidebar__link--active {
  background: #2d6a4f !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}
.sidebar__link .material-symbols-outlined {
  font-size: 22px;
}
.sidebar__bottom {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar__link--logout {
  color: #fca5a5;
}
.sidebar__link--logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.dash-wrap {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 40px 40px;
  transition: margin-left 0.3s ease;
}
.dash-topbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}
.dash-topbar__menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #1a1a1a;
}
.dash-topbar__greeting {
  font-size: 1.15rem;
  color: #555;
}
.dash-topbar__greeting strong {
  color: #1a1a1a;
  font-weight: 700;
}
.dash-topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.dash-topbar__icon {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.dash-topbar__icon:hover {
  background: #fafafa;
  color: #1a1a1a;
  transform: translateY(-1px);
}
.dash-topbar__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f4f7f5;
}
.dash-topbar__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #2D6A4F;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.2);
}

.dash-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: fadeIn 0.4s ease-out;
}

/* ===================================================================
   STATS CARDS & CONTROLS
   =================================================================== */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.dash-stat {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s, box-shadow 0.25s;
}
.dash-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}
.dash-stat .material-symbols-outlined {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.dash-stat--green .material-symbols-outlined {
  background: rgba(45, 106, 79, 0.1);
  color: #2D6A4F;
}
.dash-stat--lime .material-symbols-outlined {
  background: rgba(167, 201, 87, 0.15);
  color: #7a9a30;
}
.dash-stat--teal .material-symbols-outlined {
  background: rgba(64, 145, 108, 0.1);
  color: #40916c;
}
.dash-stat--gold .material-symbols-outlined {
  background: rgba(233, 180, 76, 0.15);
  color: #b58010;
}
.dash-stat p {
  font-size: 0.88rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 4px;
}
.dash-stat h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
}
.dash-select {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-select:focus {
  border-color: #2D6A4F;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

/* ===================================================================
   TRADITIONAL CONTRIBUTION CARD
   =================================================================== */
.contrib-card-section {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}
.contrib-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.contrib-card-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contrib-card-header h2 .material-symbols-outlined {
  color: #2D6A4F;
}
.contrib-card-header__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Card ledger book aesthetic */
.contrib-card {
  background: #fffdf5; /* Off-white/cream paper color */
  border: 3px double #2D6A4F; /* Double boundary lines like traditional ledgers */
  border-radius: 12px;
  padding: 24px;
  box-shadow: inset 0 0 40px rgba(45, 106, 79, 0.03), 0 10px 30px rgba(0, 0, 0, 0.03);
  font-family: 'Courier Prime', 'CourierNew', Courier, monospace;
  color: #1b4332;
  position: relative;
  overflow: hidden;
}
.contrib-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: #2D6A4F; /* Forest green top strip */
}
.contrib-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #2D6A4F;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 700;
}
.contrib-card__month-line {
  display: flex;
  align-items: center;
}
.contrib-card__label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #40916c;
}
.contrib-card__dots {
  color: #40916c;
  margin: 0 4px;
}
.contrib-card__year-label {
  color: #1b4332;
}
.contrib-card__year-val {
  border-bottom: 1.5px solid #1b4332;
  padding: 0 6px;
}
.contrib-card__member, .contrib-card__group {
  display: flex;
  gap: 8px;
}
#card-member-name, #card-group-name {
  border-bottom: 1.5px solid #1b4332;
  padding-bottom: 1px;
  font-weight: 700;
  color: #1a1a1a;
}

.contrib-card__body {
  display: flex;
  gap: 0;
  border: 1.5px solid #2D6A4F;
  background: #ffffff;
  margin-bottom: 20px;
  position: relative;
}
.contrib-card__divider {
  width: 3px;
  background: #2D6A4F;
  display: flex;
}

/* Card tables */
.card-table {
  flex: 1;
  border-collapse: collapse;
  font-size: 0.88rem;
  width: 50%;
}
.card-table th, .card-table td {
  border: 1px solid #c5dcc5;
  padding: 6px 12px;
  text-align: center;
}
.card-table th {
  background: rgba(45, 106, 79, 0.05);
  font-weight: 700;
  color: #2D6A4F;
}
.card-table__amount-head {
  border-bottom: none;
}
.card-table__sub-head th {
  font-size: 0.72rem;
  padding: 3px 6px;
  color: #40916c;
  background: rgba(45, 106, 79, 0.02);
}
.card-day {
  font-weight: 700;
  width: 55px;
  color: #40916c;
  background: rgba(45, 106, 79, 0.01);
}
.card-n {
  text-align: right;
  font-weight: 700;
  width: 80px;
}
.card-k {
  text-align: center;
  width: 45px;
  color: #666;
}
.card-sign {
  width: 60px;
  position: relative;
}
.card-sig {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
}
.card-sig--ok {
  color: #2d6a4f;
  transform: scale(1.1);
  display: inline-block;
}
.card-sig--pending {
  color: #e9b44c;
}
.card-row--paid {
  background: #fffdf5;
}
.card-row--paid td {
  color: #1b4332;
}
.card-row--empty td {
  color: #ccdcd0;
}
.card-row--empty .card-day {
  color: #99bca5;
}
.card-table__total {
  background: rgba(167, 201, 87, 0.1) !important;
  border-top: 2px solid #2D6A4F;
}
.card-table__total td {
  border-top: 2.5px solid #2D6A4F;
  font-weight: 700;
}
#total-n {
  color: #2D6A4F;
}

/* Card footer details */
.contrib-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 16px;
  border-top: 2px solid #2D6A4F;
}
.contrib-card__footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}
.contrib-card__footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px dotted #2D6A4F;
  padding-bottom: 4px;
}
.contrib-card__footer-row span:last-child {
  border-bottom: 1.5px solid #1b4332;
  min-width: 80px;
  text-align: right;
  padding-right: 4px;
}
.contrib-card__footer-row--balance {
  font-size: 1rem;
  color: #2D6A4F;
  border-bottom: 2px double #2D6A4F;
  padding-bottom: 6px;
}
.contrib-card__footer-row--balance span:last-child {
  color: #2D6A4F;
  border-bottom: 2.5px double #2D6A4F;
  font-size: 1.1rem;
}
.contrib-card__sigs {
  display: flex;
  gap: 40px;
}
.contrib-card__sig {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.contrib-card__sig-line {
  width: 140px;
  height: 44px;
  border-bottom: 1.5px solid #2D6A4F;
  margin-bottom: 8px;
  position: relative;
}

/* Simulated handwritten signatures */
#manager-sig-line::after {
  content: 'Accawo Digital';
  font-family: 'Courier Prime', cursive, monospace;
  font-style: italic;
  font-size: 0.85rem;
  position: absolute;
  bottom: 2px;
  left: 20px;
  color: rgba(45, 106, 79, 0.45);
  transform: rotate(-3deg);
}
#customer-sig-line::after {
  content: 'Adaeze';
  font-family: 'Courier Prime', cursive, monospace;
  font-style: italic;
  font-size: 0.85rem;
  position: absolute;
  bottom: 2px;
  left: 35px;
  color: rgba(64, 145, 108, 0.4);
  transform: rotate(-5deg);
}

/* ===================================================================
   RECENT ACTIVITY LIST
   =================================================================== */
.dash-activity {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}
.dash-activity h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-activity h3 .material-symbols-outlined {
  color: #2D6A4F;
}
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.activity-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fdfdfd;
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}
.activity-list__item:hover {
  background: #fafafa;
  transform: translateX(4px);
}
.activity-list__icon {
  font-size: 24px;
}
.activity-list__item--paid .activity-list__icon {
  color: #2D6A4F;
}
.activity-list__item--pending .activity-list__icon {
  color: #e9b44c;
}
.activity-list__item div {
  flex: 1;
}
.activity-list__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.activity-list__item p {
  font-size: 0.82rem;
  color: #777;
}

/* ===================================================================
   MODALS
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 31, 23, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease-out;
}
.modal {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.2s;
}
.modal__close:hover {
  background: #e2e8f0;
  color: #1a1a1a;
}
.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.modal__icon .material-symbols-outlined {
  font-size: 30px;
  color: #2D6A4F;
}
.modal h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.modal p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}
.modal__amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #2D6A4F;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.modal__group {
  font-size: 0.88rem;
  font-weight: 700;
  color: #40916c;
  background: rgba(45, 106, 79, 0.05);
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 28px;
}
.modal__note {
  font-size: 0.75rem !important;
  color: #999 !important;
  margin-top: 16px;
  margin-bottom: 0 !important;
}

/* ===================================================================
   TOAST NOTIFICATIONS
   =================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1b4332;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.92rem;
  font-weight: 600;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #A7C957;
}
.toast--show {
  transform: translateY(0);
  opacity: 1;
}

/* ===================================================================
   PRINT STYLES (@media print)
   =================================================================== */
@media print {
  body, .dashboard-body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .sidebar, .dash-topbar, .dash-stats, .dash-activity, .dash-topbar__menu, button, select, .contrib-card-header__controls, [onclick] {
    display: none !important;
  }
  .dash-wrap {
    margin-left: 0 !important;
    padding: 0 !important;
  }
  .contrib-card-section {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .contrib-card {
    border: 2px solid #000000 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #000000 !important;
    font-size: 11pt !important;
    width: 100% !important;
  }
  .contrib-card::before {
    display: none !important;
  }
  .contrib-card__body {
    border: 1px solid #000000 !important;
  }
  .card-table th, .card-table td {
    border: 1px solid #000000 !important;
  }
  .contrib-card__sig-line {
    border-bottom: 1.5px solid #000000 !important;
  }
}

/* ===================================================================
   RESPONSIVE LAYOUTS FOR DASHBOARD
   =================================================================== */
@media(max-width: 1024px) {
  .contrib-card__body {
    flex-direction: column;
    border: none;
  }
  .contrib-card__divider {
    display: none;
  }
  .card-table {
    width: 100%;
    border: 1.5px solid #2D6A4F;
    margin-bottom: 16px;
  }
  .card-table:last-child {
    margin-bottom: 0;
  }
}
@media(max-width: 768px) {
  .sidebar {
    transform: translateX(-260px);
  }
  .sidebar--open {
    transform: translateX(0);
  }
  .dash-wrap {
    margin-left: 0 !important;
    padding: 0 16px 24px;
  }
  .dash-topbar__menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contrib-card-section {
    padding: 20px 16px;
  }
  .contrib-card {
    padding: 16px;
  }
  .contrib-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .contrib-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .contrib-card__sigs {
    justify-content: space-between;
  }
  .contrib-card__sig-line {
    width: 120px;
  }
}
@media(max-width: 480px) {
  .contrib-card__sigs {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .contrib-card__sig-line {
    width: 180px;
  }
}

/* ===================================================================
   DASHBOARD ADDITIONAL SECTIONS STYLES
   =================================================================== */

/* --- Quick Links Grid (Overview) --- */
.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.quick-card-info {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1.5px solid rgba(45, 106, 79, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s, box-shadow 0.25s;
}
.quick-card-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.06);
}
.quick-card-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2D6A4F;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.quick-card-info p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}
.quick-card-info__actions {
  display: flex;
  gap: 12px;
}

/* --- Savings Groups Section --- */
.groups-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-desc {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
}
.groups-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.groups-list-card {
  background: #ffffff;
  border: 1.5px solid rgba(45, 106, 79, 0.08);
  border-radius: 20px;
  padding: 24px;
  max-height: 620px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.groups-list-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.groups-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}
.group-item:hover {
  border-color: #2D6A4F;
  background: #fafdfb;
}
.group-item--active {
  border-color: #2D6A4F;
  background: rgba(45, 106, 79, 0.04) !important;
  color: #2D6A4F;
}
.group-item strong {
  display: block;
  font-size: 0.92rem;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.group-item--active strong {
  color: #2D6A4F;
}
.group-item p {
  font-size: 0.78rem;
  color: #666;
}
.group-item .material-symbols-outlined {
  font-size: 18px;
  color: #aaa;
  transition: color 0.2s;
}
.group-item:hover .material-symbols-outlined, .group-item--active .material-symbols-outlined {
  color: #2D6A4F;
}

.group-details-card {
  background: #ffffff;
  border: 1.5px solid rgba(45, 106, 79, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.group-details__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.group-details__top h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a1a;
}
.group-details__desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}
.group-info-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 24px;
}
.info-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.info-stat .material-symbols-outlined {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(45, 106, 79, 0.06);
  color: #2D6A4F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.info-stat div {
  display: flex;
  flex-direction: column;
}
.info-stat small {
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 2px;
}
.info-stat strong {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 700;
}

.rotation-sheet-section h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.rotation-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.rotation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.rotation-table th {
  background: #2D6A4F;
  color: #ffffff;
  padding: 12px 16px;
  font-weight: 600;
}
.rotation-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #444;
}
.rotation-table tbody tr:last-child td {
  border-bottom: none;
}
.rotation-table tbody tr:hover {
  background: #fafdfb;
}

/* --- Make Payment Section --- */
.pay-form-card {
  background: #ffffff;
  border: 1.5px solid rgba(45, 106, 79, 0.08);
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}
.pay-form-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.dashboard-pay-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.dash-input, .dash-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  transition: all 0.2s ease;
}
.dash-input:focus, .dash-select:focus {
  border-color: #2D6A4F;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}
.dash-select--full {
  width: 100%;
}
.pay-summary-box {
  background: #fafdfb;
  border: 1.5px solid rgba(45, 106, 79, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pay-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #555;
}
.pay-summary-row--total {
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
  margin-top: 4px;
  font-weight: 700;
  color: #2D6A4F;
  font-size: 1.05rem;
}

/* --- Transaction Ledger History --- */
.history-card {
  background: #ffffff;
  border: 1.5px solid rgba(45, 106, 79, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.history-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
}
.history-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.history-table th {
  background: #2D6A4F;
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 600;
}
.history-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #444;
}
.history-table tbody tr:last-child td {
  border-bottom: none;
}
.history-table tbody tr:hover {
  background: #fafdfb;
}

/* --- Edit Profile Tab --- */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}
.profile-card {
  background: #ffffff;
  border: 1.5px solid rgba(45, 106, 79, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: #2D6A4F;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(45, 106, 79, 0.2);
}
.profile-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.profile-card p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
}
.profile-meta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.profile-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-meta strong {
  font-size: 0.72rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.profile-meta p {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
}
.profile-edit-card {
  background: #ffffff;
  border: 1.5px solid rgba(45, 106, 79, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}
.profile-edit-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Modals Helper Layouts --- */
.modal--left-align {
  text-align: left !important;
  max-width: 500px !important;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.dash-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  color: #1a1a1a;
  background: #ffffff;
  resize: vertical;
  transition: all 0.2s ease;
}
.dash-textarea:focus {
  border-color: #2D6A4F;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

/* ===================================================================
   RESPONSIVE DESIGN ADAPTATIONS FOR ADDITIONAL DASHBOARD ELEMENTS
   =================================================================== */
@media (max-width: 900px) {
  .groups-grid {
    grid-template-columns: 1fr;
  }
  .groups-list-card {
    max-height: 260px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-card {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  .history-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
