/* Shared application styles */
:root {
    --care-ink: #102a2a;
    --care-green: #047857;
    --care-teal: #0f766e;
    --care-coral: #f97362;
    --care-mist: #f4f8f5;
    --care-line: rgba(16, 42, 42, 0.12);
    --care-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body {
    background: var(--care-mist);
    color: var(--care-ink);
    font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
    overflow-x: hidden;
}
body:not(.admin-shell) main { position: relative; }
body:not(.admin-shell) main > section, body:not(.admin-shell) main > .mx-auto { animation: pageEnter 700ms var(--care-ease) both; }
body:not(.admin-shell) main > section:nth-child(2), body:not(.admin-shell) main > .mx-auto:nth-child(2) { animation-delay: 70ms; }
body:not(.admin-shell) main > section:nth-child(3), body:not(.admin-shell) main > .mx-auto:nth-child(3) { animation-delay: 140ms; }
.site-header { box-shadow: 0 4px 24px rgba(16,42,42,.04); transition: box-shadow 250ms ease, background-color 250ms ease; }
.site-header nav > a:first-child { transition: transform 250ms var(--care-ease); }
.site-header nav > a:first-child:hover { transform: translateY(-2px); }
.site-brand-mark { color: #102a2a; background: #fbbf24 !important; border-radius: 11px !important; box-shadow: 0 6px 14px rgba(251,191,36,.22); }
.site-brand-logo { display: block; width: 44px; height: 44px; object-fit: cover; object-position: center 18%; border: 2px solid #f6bd3c; border-radius: 50%; box-shadow: 0 6px 14px rgba(18,49,47,.14); transition: transform 250ms var(--care-ease), box-shadow 250ms ease; }
.site-header nav > a:first-child:hover .site-brand-logo { transform: rotate(-5deg) scale(1.06); box-shadow: 0 10px 20px rgba(18,49,47,.2); }
.site-header nav > div a { position: relative; transition: color 220ms ease; }
.site-header nav > div a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; content: ''; transform: scaleX(0); transform-origin: center; background: #fbbf24; transition: transform 220ms var(--care-ease); }
.site-header nav > div a:hover::after { transform: scaleX(1); }
.mobile-nav-toggle { position: relative; display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid rgba(18,49,47,.12); border-radius: 12px; color: #12312f; background: #fff; cursor: pointer; }
.mobile-nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 260ms var(--care-ease), opacity 180ms ease; }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-panel { border-top: 1px solid rgba(18,49,47,.08); background: rgba(255,255,255,.97); box-shadow: 0 18px 28px rgba(18,49,47,.1); }
.mobile-nav-panel.is-open { animation: mobileMenuIn 300ms var(--care-ease) both; }
.mobile-nav-links { display: grid; padding: 8px 20px 18px; }
.mobile-nav-links a { display: flex; align-items: center; justify-content: space-between; min-height: 49px; color: #12312f; border-bottom: 1px solid #edf1ed; font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif; font-size: 17px; font-weight: 600; text-decoration: none; transition: color 180ms ease, padding-left 220ms var(--care-ease); }
.mobile-nav-links a:last-child { border-bottom: 0; }
.mobile-nav-links a:hover { padding-left: 8px; color: #07845e; }
.mobile-nav-links span { color: #9ab0a7; font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: .12em; }
@keyframes mobileMenuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.site-action { transition: transform 220ms var(--care-ease), box-shadow 220ms ease, background-color 220ms ease !important; }
.site-action:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(8,127,91,.18); }
body:not(.admin-shell) .rounded-2xl.bg-white { border: 1px solid var(--care-line); box-shadow: 0 8px 24px rgba(16,42,42,.045); transition: transform 300ms var(--care-ease), box-shadow 300ms ease, border-color 300ms ease; }
body:not(.admin-shell) .rounded-2xl.bg-white:hover { border-color: rgba(8,127,91,.22); box-shadow: 0 18px 38px rgba(16,42,42,.10); }
body:not(.admin-shell) form.rounded-2xl.bg-white, body:not(.admin-shell) main > .mx-auto > form.rounded-2xl.bg-white { box-shadow: 0 14px 38px rgba(16,42,42,.07); }
body:not(.admin-shell) input, body:not(.admin-shell) textarea, body:not(.admin-shell) select { transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
body:not(.admin-shell) input:focus, body:not(.admin-shell) textarea:focus, body:not(.admin-shell) select:focus { border-color: #087f5b !important; box-shadow: 0 0 0 4px rgba(8,127,91,.12); }
.site-footer { position: relative; margin-top: 28px; background: linear-gradient(135deg, #102a2a, #123b38) !important; }
.site-footer a { transition: color 180ms ease, transform 180ms var(--care-ease); }
.site-footer a:hover { transform: translateX(3px); }
.care-contact-tools { position: fixed; right: 22px; bottom: 144px; z-index: 55; width: min(360px, calc(100vw - 32px)); height: 52px; }
.care-ai-panel { order: 3; z-index: 3; }.care-whatsapp-button { order: 2; z-index: 2; }.care-ai-toggle { order: 1; z-index: 1; }
.care-whatsapp-button, .care-ai-toggle { display: flex; align-items: center; justify-content: center; border: 0; color: #fff; background: #087f5b; border-radius: 999px; box-shadow: 0 12px 26px rgba(8,127,91,.26); cursor: pointer; text-decoration: none; transition: transform 220ms var(--care-ease), box-shadow 220ms ease; }
.care-whatsapp-button { position: fixed; right: 22px; bottom: 144px; width: 52px; height: 52px; font-size: 25px; }.care-ai-toggle { position: absolute; top: 62px; right: 0; gap: 8px; padding: 11px 15px; color: #102a2a; background: #fbbf24; font-size: 13px; font-weight: 800; }.care-whatsapp-button:hover { transform: translateY(-3px); }.care-ai-toggle:hover { transform: translateY(-3px); }.care-whatsapp-button:hover, .care-ai-toggle:hover { box-shadow: 0 16px 30px rgba(8,127,91,.3); }
.care-ai-panel { position: absolute; right: 0; bottom: 62px; width: 100%; margin-bottom: 2px; overflow: hidden; background: #fff; border: 1px solid var(--care-line); border-radius: 16px; box-shadow: 0 22px 55px rgba(16,42,42,.2); animation: carePanelIn 260ms var(--care-ease) both; }
.care-ai-header { display: flex; align-items: start; justify-content: space-between; padding: 17px 18px; color: #fff; background: linear-gradient(120deg, #087f5b, #123b38); }.care-ai-header h2 { margin: 5px 0 0; font-size: 18px; }.care-ai-header button { border: 0; color: #c8e7da; background: transparent; font-size: 23px; cursor: pointer; }.care-ai-status { color: #fbbf24; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.care-ai-status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #62dda4; border-radius: 50%; }
.care-ai-messages { display: grid; max-height: 235px; gap: 9px; padding: 16px; overflow-y: auto; }.care-ai-message { max-width: 88%; padding: 10px 12px; border-radius: 11px; font-size: 12px; line-height: 1.5; }.care-ai-bot { color: #315149; background: #edf7f0; }.care-ai-user { justify-self: end; color: #fff; background: #087f5b; }.care-ai-whatsapp-link { color: #087f5b; font-size: 12px; font-weight: 800; text-decoration: none; }.care-ai-quick-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }.care-ai-quick-actions button { padding: 7px 9px; color: #087f5b; background: #fffdf2; border: 1px solid #f3d879; border-radius: 7px; font-size: 10px; font-weight: 800; cursor: pointer; }.care-ai-form { display: flex; gap: 8px; padding: 12px; background: #f5f9f6; border-top: 1px solid #e8f0eb; }.care-ai-form input { min-width: 0; flex: 1; padding: 9px 10px; border: 1px solid #d7e3dd; border-radius: 8px; font-size: 12px; }.care-ai-form button { width: 34px; border: 0; color: #102a2a; background: #fbbf24; border-radius: 8px; font-size: 18px; cursor: pointer; }
.donation-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }.donation-intro { position: sticky; top: 110px; padding: 24px 0; }.donation-eyebrow { color: #087f5b; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.donation-intro h2 { margin: 10px 0; color: #102a2a; font-size: 30px; line-height: 1.08; letter-spacing: -.045em; }.donation-intro p { color: #5e7d73; font-size: 14px; line-height: 1.7; }.donation-trust-list { display: grid; gap: 10px; margin-top: 22px; color: #315149; font-size: 12px; font-weight: 700; }.donation-form-column { min-width: 0; }
@keyframes carePanelIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 760px) { .donation-layout { grid-template-columns: 1fr; gap: 12px; }.donation-intro { position: static; padding: 0; }.donation-intro h2 { font-size: 26px; }.care-contact-tools { right: 14px; bottom: 132px; }.care-whatsapp-button { right: 14px; bottom: 132px; }.care-ai-toggle span { display: none; }.care-ai-toggle { width: 48px; height: 48px; padding: 0; } }
body:not(.admin-shell) main > section:first-child { overflow: hidden; }
body:not(.admin-shell) main > section:first-child img { animation: heroDrift 18s ease-in-out infinite alternate; }
body:not(.admin-shell) .group.overflow-hidden img { transition: transform 500ms var(--care-ease), filter 500ms ease; }
body:not(.admin-shell) .group.overflow-hidden:hover img { filter: saturate(1.08); }
.sponsorship-process { position: relative; isolation: isolate; overflow: hidden; }
.sponsorship-process::before { position: absolute; inset: 0; z-index: -2; content: ''; background: url('images/carelifelogo.jpg') center / 520px auto no-repeat; opacity: .09; filter: saturate(.7) sepia(.12); }
.sponsorship-process::after { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(180deg, rgba(245,248,243,.94), rgba(245,248,243,.82) 48%, rgba(245,248,243,.96)); pointer-events: none; }
.sponsorship-process > * { position: relative; }
@keyframes pageEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
button, input, textarea, select { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.hero-cinematic { min-height: 620px; isolation: isolate; background: #102a2a; }
.hero-bg { animation: heroDrift 18s ease-in-out infinite alternate; }
.hero-logo-bg { object-position: center; mix-blend-mode: screen; opacity: .38 !important; filter: saturate(.9) contrast(1.08) brightness(1.14); transform: scale(1.08); }
.hero-vignette { z-index: 0; background: linear-gradient(90deg, rgba(7,25,25,.96) 0%, rgba(7,25,25,.76) 35%, rgba(5,55,48,.28) 75%, rgba(5,55,48,.52) 100%), linear-gradient(0deg, rgba(5,25,24,.74), transparent 45%, rgba(7,25,25,.16)); pointer-events: none; }
.hero-scanlines { z-index: 1; opacity: .18; background: repeating-linear-gradient(0deg, transparent 0, transparent 4px, rgba(255,255,255,.08) 5px, transparent 6px); mix-blend-mode: overlay; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero-orbit { position: absolute; z-index: 1; width: 420px; height: 420px; border: 1px solid rgba(251,191,36,.24); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { right: -100px; top: 12%; animation: heroOrbit 20s linear infinite; }
.hero-orbit-two { right: 10%; top: 22%; width: 180px; height: 180px; border-color: rgba(99,220,164,.24); animation: heroOrbit 13s linear infinite reverse; }
.hero-progress { z-index: 3; height: 3px; background: rgba(255,255,255,.16); }
.hero-progress span { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, #fbbf24, #62dda4); box-shadow: 0 0 18px rgba(98,221,164,.8); animation: heroProgress 9s ease-in-out infinite alternate; }
.hero-title, .hero-subtitle, .hero-cta { will-change: transform, opacity; }
.hero-title { animation: heroText 900ms var(--care-ease) 120ms both; }
.hero-subtitle { animation: heroText 800ms var(--care-ease) 260ms both; }
.hero-cta { animation: heroText 800ms var(--care-ease) 400ms both; }
.btn-hover { position: relative; overflow: hidden; transition: transform 220ms var(--care-ease), box-shadow 220ms ease, background-color 220ms ease; }
.btn-hover::after { position: absolute; inset: 0; content: ''; transform: translateX(-110%) skewX(-18deg); background: rgba(255,255,255,.22); transition: transform 500ms var(--care-ease); }
.btn-hover:hover { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(4, 78, 66, .22); }
.btn-hover:hover::after { transform: translateX(110%) skewX(-18deg); }
.card-hover { transition: transform 350ms var(--care-ease), box-shadow 350ms ease, border-color 350ms ease; }
.card-hover:hover { transform: translateY(-8px) rotate(-.5deg); border-color: rgba(8,127,91,.35); box-shadow: 0 24px 50px rgba(16,42,42,.12); }
.stagger-children > [data-animate] { animation-duration: 700ms; animation-fill-mode: both; }
.stagger-children > [data-animate]:nth-child(1) { transition-delay: 70ms; }
.stagger-children > [data-animate]:nth-child(2) { transition-delay: 140ms; }
.stagger-children > [data-animate]:nth-child(3) { transition-delay: 210ms; }
.stagger-children > [data-animate]:nth-child(4) { transition-delay: 280ms; }
.admin-shell #mainContent { transition: margin-left 300ms ease-in-out; }
@media (min-width: 768px) {
    .admin-shell.sidebar-collapsed #mainContent { margin-left: 0; }
    .admin-shell.sidebar-collapsed #sidebar { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fixed { position: fixed; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }

/* Admin workspace */
.admin-frame { display: flex; min-height: 100vh; background: #f3f6f4; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; display: flex; width: 270px; flex-direction: column; padding: 24px 16px; color: #d9eee4; background: #102a2a; box-shadow: 18px 0 40px rgba(16,42,42,.08); }
.admin-brand { display: flex; align-items: center; padding: 4px 12px 28px; }
.admin-brand-logo { display: block; width: 210px; height: 96px; object-fit: contain; object-position: center; border-radius: 8px; background: #fff; }
.admin-workspace-label { padding: 0 12px 10px; color: #75a397; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; color: #a9c8bd; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; transition: color 220ms ease, background 220ms ease, transform 220ms var(--care-ease); }
.admin-nav-link span { display: grid; width: 22px; place-items: center; color: #72b89f; font-size: 17px; }
.admin-nav-link:hover { color: #fff; background: #1c4540; transform: translateX(3px); }
.admin-nav-link.is-active { color: #102a2a; background: #fbbf24; box-shadow: 0 8px 18px rgba(251,191,36,.16); }
.admin-nav-link.is-active span { color: #102a2a; }
.admin-nav-link b { margin-left: auto; min-width: 22px; padding: 2px 6px; color: #fff; background: #f97362; border-radius: 99px; font-size: 10px; text-align: center; }
.admin-sidebar-foot { display: grid; gap: 4px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.admin-logout { color: #e5a49b; }
.admin-main { width: 100%; margin-left: 270px; padding: 24px clamp(24px, 4vw, 56px) 56px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; padding: 20px clamp(24px, 4vw, 56px); background: rgba(255,255,255,.8); border-bottom: 1px solid var(--care-line); backdrop-filter: blur(16px); }
.admin-topbar h1 { margin: 2px 0 0; color: #102a2a; font-size: 22px; letter-spacing: -.03em; }
.admin-kicker, .admin-eyebrow { margin: 0; color: #6e9187; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.admin-topbar-actions { display: flex; align-items: center; gap: 16px; }
.admin-live-dot { display: flex; align-items: center; gap: 7px; color: #5c8176; font-size: 12px; font-weight: 700; }
.admin-live-dot i { width: 7px; height: 7px; background: #2fb77b; border-radius: 50%; box-shadow: 0 0 0 5px rgba(47,183,123,.12); }
.admin-avatar { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: #087f5b; border-radius: 50%; font-size: 13px; font-weight: 800; text-decoration: none; }
.admin-menu-button { display: none; border: 0; color: #102a2a; background: transparent; font-size: 22px; cursor: pointer; }
.admin-content { max-width: 1440px; margin: 0 auto; padding: clamp(24px, 4vw, 56px); }
.admin-welcome-panel { display: flex; align-items: end; justify-content: space-between; gap: 24px; min-height: 190px; margin-bottom: 26px; padding: 32px 36px; color: #fff; background: linear-gradient(120deg, #087f5b, #145c51 52%, #0e3c38); border-radius: 18px; box-shadow: 0 18px 42px rgba(8,127,91,.16); overflow: hidden; }
.admin-welcome-panel h2 { max-width: 580px; margin: 8px 0 7px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.045em; }
.admin-welcome-panel p { max-width: 520px; margin: 0; color: #c8e7da; font-size: 14px; }
.admin-welcome-panel .admin-eyebrow { color: #fbbf24; }
.admin-primary-action { padding: 12px 18px; color: #102a2a; background: #fbbf24; border-radius: 9px; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: transform 220ms var(--care-ease), box-shadow 220ms ease; }
.admin-primary-action:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,.16); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.admin-stat-card { position: relative; min-height: 145px; padding: 20px; background: #fff; border: 1px solid var(--care-line); border-radius: 14px; box-shadow: 0 4px 18px rgba(16,42,42,.04); transition: transform 260ms var(--care-ease), box-shadow 260ms ease; }
.admin-stat-card:hover { transform: translateY(-5px); box-shadow: 0 18px 30px rgba(16,42,42,.09); }
.admin-stat-card p { margin: 0 0 9px; color: #6f8e84; font-size: 12px; font-weight: 700; }
.admin-stat-card strong { display: block; color: #102a2a; font-size: 28px; letter-spacing: -.05em; }
.admin-stat-card small { color: #8aa49b; font-size: 11px; }
.admin-stat-icon { display: grid; width: 30px; height: 30px; place-items: center; float: right; border-radius: 9px; font-weight: 800; }
.admin-stat-green .admin-stat-icon { color: #087f5b; background: #dff6ea; }.admin-stat-gold .admin-stat-icon { color: #9a6800; background: #fff1bd; }.admin-stat-blue .admin-stat-icon { color: #2362a1; background: #e0efff; }.admin-stat-coral .admin-stat-icon { color: #c84e41; background: #ffe4df; }
.admin-grid-two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-bottom: 24px; }
.admin-panel { padding: 24px; background: #fff; border: 1px solid var(--care-line); border-radius: 14px; box-shadow: 0 4px 18px rgba(16,42,42,.04); }
.admin-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }.admin-panel-heading h2 { margin: 4px 0 0; color: #102a2a; font-size: 19px; letter-spacing: -.035em; }.admin-panel-heading a { color: #087f5b; font-size: 12px; font-weight: 800; text-decoration: none; }.admin-panel-heading a span { margin-left: 4px; }
.admin-eyebrow-coral { color: #d96759; }
.admin-activity-list, .admin-child-list { display: grid; gap: 4px; }.admin-activity-row, .admin-child-row { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px 0; border-bottom: 1px solid #edf2ef; }.admin-activity-row:last-child, .admin-child-row:last-child { border-bottom: 0; }.admin-activity-icon { display: grid; width: 34px; height: 34px; place-items: center; color: #087f5b; background: #e3f5eb; border-radius: 10px; font-weight: 800; }.admin-activity-row div, .admin-child-row span { display: grid; min-width: 0; gap: 3px; }.admin-activity-row strong, .admin-child-row strong { color: #25453e; font-size: 12px; }.admin-activity-row small, .admin-child-row small { color: #8aa49b; font-size: 11px; }.admin-activity-row > b { margin-left: auto; color: #087f5b; font-size: 13px; }.admin-child-row { text-decoration: none; }.admin-child-row img { width: 38px; height: 38px; object-fit: cover; border-radius: 10px; }.admin-child-row i { margin-left: auto; padding: 4px 7px; color: #c84e41; background: #fff0ed; border-radius: 5px; font-size: 10px; font-style: normal; font-weight: 800; }.admin-empty-state { display: grid; min-height: 150px; place-items: center; align-content: center; gap: 8px; color: #8aa49b; text-align: center; }.admin-empty-state span { display: grid; width: 38px; height: 38px; place-items: center; color: #087f5b; background: #e3f5eb; border-radius: 50%; font-weight: 800; }.admin-empty-state p { margin: 0; font-size: 12px; }
.admin-quick-panel { margin-bottom: 20px; }.admin-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }.admin-quick-grid a { display: grid; gap: 4px; padding: 16px; color: #25453e; background: #f8fbf9; border: 1px solid #e8f0eb; border-radius: 10px; text-decoration: none; transition: transform 220ms var(--care-ease), background 220ms ease, border-color 220ms ease; }.admin-quick-grid a:hover { transform: translateY(-4px); background: #fffdf2; border-color: #f5d574; }.admin-quick-grid a > span { color: #087f5b; font-size: 18px; font-weight: 800; }.admin-quick-grid strong { font-size: 12px; }.admin-quick-grid small { color: #8aa49b; font-size: 10px; }
.admin-sidebar-backdrop { display: none; }
.admin-mobile-bar { display: none; }
.admin-legacy-page { background: #f3f6f4 !important; }
.admin-legacy-page .admin-shell { background: #f3f6f4; }
.admin-legacy-page #sidebar { width: 270px; padding: 24px 16px; background: #102a2a; box-shadow: 18px 0 40px rgba(16,42,42,.08); }
.admin-legacy-page #sidebar > div:first-child { padding: 4px 12px 28px; border-bottom: 0; }
.admin-legacy-page #sidebar > div:first-child span:first-child { color: #102a2a; background: #fbbf24; border-radius: 11px; box-shadow: 0 6px 14px rgba(251,191,36,.22); }
.admin-legacy-page #sidebar > div:first-child span:last-child { color: #fff; letter-spacing: -.03em; }
.admin-legacy-page #sidebar > div:first-child span:last-child span { color: #7dd3b0; }
.admin-legacy-page #sidebar nav { display: grid; gap: 5px; padding: 0 0; }
.admin-legacy-page #sidebar nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: #a9c8bd; font-size: 13px; font-weight: 700; transition: color 220ms ease, background 220ms ease, transform 220ms var(--care-ease); }
.admin-legacy-page #sidebar nav a:hover { color: #fff; background: #1c4540; transform: translateX(3px); }
.admin-legacy-page #sidebar nav a.text-emerald-400 { color: #102a2a; background: #fbbf24; box-shadow: 0 8px 18px rgba(251,191,36,.16); }
.admin-legacy-page #sidebar > div:last-child { margin-top: auto; border-top-color: rgba(255,255,255,.1); }
.admin-legacy-page #sidebar + div, .admin-legacy-page #mainContent { background: #f3f6f4; }
.admin-legacy-page #mainContent > header { max-width: 1440px; margin: -8px auto 22px; padding: 20px 28px; background: rgba(255,255,255,.82); border: 1px solid var(--care-line); border-radius: 14px; box-shadow: 0 4px 18px rgba(16,42,42,.04); backdrop-filter: blur(16px); }
.admin-legacy-page #mainContent > header h1 { color: #102a2a; font-size: 22px; letter-spacing: -.03em; }
.admin-legacy-page .admin-legacy-content { max-width: 1440px; margin-right: auto; margin-left: auto; }
.admin-legacy-page .admin-legacy-content, .admin-legacy-page #mainContent > main { width: 100%; max-width: 1440px; margin-right: auto; margin-left: auto; }
.admin-legacy-page .admin-legacy-content > .grid { display: grid; }
.admin-legacy-page .admin-legacy-content > .grid > .rounded-2xl.bg-white { min-height: 132px; }
.admin-legacy-page .admin-legacy-content > .mb-8.rounded-2xl.bg-white, .admin-legacy-page .admin-legacy-content > form.rounded-2xl.bg-white { max-width: 100%; }
.admin-legacy-page .admin-legacy-content > .overflow-x-auto { width: 100%; }
.admin-legacy-page .admin-legacy-content > p.mb-6 { max-width: 760px; color: #6f8e84; font-size: 13px; }
.admin-legacy-page .rounded-2xl.bg-white, .admin-legacy-page .rounded-xl.bg-white { padding: 20px; border-radius: 14px; }
.admin-legacy-page .overflow-x-auto.rounded-2xl, .admin-legacy-page .overflow-x-auto.rounded-xl { padding: 0; }
.admin-legacy-page .admin-legacy-content > .grid, .admin-legacy-page #mainContent > main > .grid { align-items: stretch; }
.admin-legacy-page .admin-legacy-content > .grid > div, .admin-legacy-page #mainContent > main > .grid > div { min-width: 0; }
.admin-legacy-page table th, .admin-legacy-page table td { white-space: nowrap; }
.admin-legacy-page table td:nth-child(1), .admin-legacy-page table td:nth-child(2) { white-space: normal; }
.admin-legacy-page .admin-legacy-content > h2, .admin-legacy-page > h2 { color: #102a2a; font-size: clamp(25px, 3vw, 32px); letter-spacing: -.045em; }
.admin-legacy-page .rounded-2xl.bg-white, .admin-legacy-page .rounded-xl.bg-white { border: 1px solid var(--care-line); border-radius: 14px; box-shadow: 0 5px 20px rgba(16,42,42,.045); }
.admin-legacy-page .rounded-2xl.bg-white:hover, .admin-legacy-page .rounded-xl.bg-white:hover { border-color: rgba(8,127,91,.22); box-shadow: 0 16px 32px rgba(16,42,42,.08); }
.admin-legacy-page table { border-collapse: separate; border-spacing: 0; }
.admin-legacy-page thead { background: #f5f9f6 !important; }
.admin-legacy-page th { color: #6f8e84; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.admin-legacy-page tbody tr { transition: background-color 180ms ease; }
.admin-legacy-page tbody tr:hover { background: #fffdf2 !important; }
.admin-legacy-page input, .admin-legacy-page textarea, .admin-legacy-page select { border-color: #d7e3dd; border-radius: 9px; background: #fbfdfb; }
.admin-legacy-page input:focus, .admin-legacy-page textarea:focus, .admin-legacy-page select:focus { border-color: #087f5b !important; box-shadow: 0 0 0 4px rgba(8,127,91,.12); outline: 0; }
.admin-legacy-page button.rounded-full, .admin-legacy-page button.rounded-lg, .admin-legacy-page a.rounded-full.bg-emerald-600, .admin-legacy-page a.rounded-lg.bg-emerald-600 { transition: transform 220ms var(--care-ease), box-shadow 220ms ease, background-color 220ms ease; }
.admin-legacy-page button.rounded-full:hover, .admin-legacy-page button.rounded-lg:hover, .admin-legacy-page a.rounded-full.bg-emerald-600:hover, .admin-legacy-page a.rounded-lg.bg-emerald-600:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(8,127,91,.16); }
.admin-legacy-page .bg-emerald-50 { background: #e8f7ee !important; }
.admin-legacy-page .bg-slate-50 { background: #f5f9f6 !important; }
.admin-legacy-page .bg-slate-100 { background: #edf4ef !important; }
.admin-legacy-page .text-emerald-600, .admin-legacy-page .text-emerald-700 { color: #087f5b !important; }
.admin-legacy-page .text-slate-900 { color: #102a2a !important; }
@media (max-width: 1000px) { .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }.admin-quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .admin-sidebar { transform: translateX(-100%); transition: transform 300ms var(--care-ease); }.admin-sidebar.is-open { transform: translateX(0); }.admin-main { margin-left: 0; padding: 76px 20px 28px; }.admin-menu-button { display: block; }.admin-topbar { min-height: 76px; padding: 14px 20px; }.admin-topbar h1 { font-size: 17px; }.admin-live-dot { display: none; }.admin-content { padding: 20px; }.admin-welcome-panel { align-items: start; flex-direction: column; padding: 24px; }.admin-grid-two { grid-template-columns: 1fr; }.admin-sidebar-backdrop.is-visible { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(16,42,42,.45); backdrop-filter: blur(2px); } }
@media (max-width: 720px) { .admin-mobile-bar { position: fixed; inset: 0 0 auto; z-index: 45; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; color: #fff; background: #102a2a; font-size: 13px; font-weight: 800; }.admin-legacy-page #mainContent { padding-top: 76px; }.admin-legacy-page #mainContent > header { margin-top: 0; } }
@media (max-width: 720px) { .admin-legacy-page .admin-legacy-content, .admin-legacy-page #mainContent > main { padding-right: 0; padding-left: 0; }.admin-legacy-page .rounded-2xl.bg-white, .admin-legacy-page .rounded-xl.bg-white { padding: 16px; }.admin-legacy-page .grid.sm\:grid-cols-2, .admin-legacy-page .grid.md\:grid-cols-2, .admin-legacy-page .grid.md\:grid-cols-3, .admin-legacy-page .grid.md\:grid-cols-4 { grid-template-columns: 1fr; }.admin-legacy-page .admin-legacy-content > h2 { margin-bottom: 18px; }.admin-legacy-page table { min-width: 720px; } }

/* ===== ANIMATIONS ===== */

/* Fade in from bottom */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
}

/* Fade in from left */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
.animate-fade-in-left {
    animation: fadeInLeft 0.7s ease-out forwards;
}

/* Fade in from right */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.animation-fade-in-right {
    animation: fadeInRight 0.7s ease-out forwards;
}

/* Fade in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Scale up */
@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.animate-scale-up {
    animation: scaleUp 0.6s ease-out forwards;
}

/* Float (gentle hover for floating button) */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.floating-btn {
    animation: float 3s ease-in-out infinite;
}

/* Pulse (heartbeat) */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.animate-heartbeat {
    animation: heartbeat 2s ease-in-out infinite;
}

/* Shine on hover */
@keyframes shine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Card hover lift */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button hover lift */
.btn-hover:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Text gradient animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.text-gradient {
    background: linear-gradient(-45deg, #10b981, #059669, #0d9488, #0f766e);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Staggered children animation */
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* Scroll reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}
[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar slide down */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.navbar-enter {
    animation: slideDown 0.5s ease-out forwards;
}

/* Hero text animation */
@keyframes heroText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrift {
    from { transform: scale(1.02) translate3d(-1%, 0, 0); }
    to { transform: scale(1.08) translate3d(1%, -1%, 0); }
}
@keyframes heroOrbit { from { transform: rotate(0deg) translateX(18px) rotate(0deg); } to { transform: rotate(360deg) translateX(18px) rotate(-360deg); } }
@keyframes heroProgress { from { transform: translateX(-8%); width: 28%; } to { transform: translateX(235%); width: 42%; } }
.hero-title {
    animation: heroText 1s ease-out 0.3s both;
}
.hero-subtitle {
    animation: heroText 1s ease-out 0.6s both;
}
.hero-cta {
    animation: heroText 1s ease-out 0.9s both;
}

/* Background pattern subtle animation */
@keyframes bgPan {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* Public visual polish */
body:not(.admin-shell) { font-family: 'DM Sans', 'Trebuchet MS', sans-serif; background: #f6f8f2; }
body:not(.admin-shell) h1, body:not(.admin-shell) h2, body:not(.admin-shell) h3, body:not(.admin-shell) h4 { font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif; }
.site-header { background: rgba(255,255,255,.9) !important; box-shadow: 0 10px 35px rgba(18,49,47,.08); }
body:not(.admin-shell) main > section:first-child { min-height: min(720px, calc(100vh - 72px)); display: flex; align-items: center; isolation: isolate; background: #12312f !important; }
body:not(.admin-shell) main > section:first-child::before { position: absolute; inset: 0; z-index: 1; content: ''; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, black, transparent 78%); animation: gridFloat 16s linear infinite; }
body:not(.admin-shell) main > section:first-child .relative.mx-auto { z-index: 2; width: 100%; }
body:not(.admin-shell) main > section:first-child h1 { max-width: 760px; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .95; letter-spacing: -.075em; text-wrap: balance; }
body:not(.admin-shell) main > section:first-child h1.text-gradient { background-image: linear-gradient(110deg, #fff 12%, #ffd96e 53%, #7ee2b8 92%); }
body:not(.admin-shell) main > section:first-child .hero-subtitle { max-width: 600px; color: rgba(241,249,244,.82); font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.7; }
body:not(.admin-shell) main > section:first-child .hero-cta a:first-child { color: #12312f !important; background: #f6bd3c !important; box-shadow: 0 14px 30px rgba(246,189,60,.22); }
body:not(.admin-shell) main > section:nth-child(2) { background: #fff !important; }
body:not(.admin-shell) .card-hover { position: relative; overflow: hidden; border: 1px solid rgba(18,49,47,.08); box-shadow: 0 12px 30px rgba(18,49,47,.06); }
body:not(.admin-shell) .card-hover::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ''; background: linear-gradient(90deg, #07845e, #f6bd3c, #ec6c5b); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--care-ease); }
body:not(.admin-shell) .card-hover:hover { transform: translateY(-10px); box-shadow: 0 24px 50px rgba(18,49,47,.12); }
body:not(.admin-shell) .card-hover:hover::before { transform: scaleX(1); }
body:not(.admin-shell) main > section:nth-child(4) { background: linear-gradient(120deg, #e8f5ed, #fff8df) !important; }
body:not(.admin-shell) main > section:nth-child(5) > div { background: linear-gradient(120deg, #087f5b, #123b38 68%, #164f48) !important; box-shadow: 0 24px 55px rgba(8,127,91,.2) !important; }
@keyframes gridFloat { from { transform: translate3d(0,0,0); } to { transform: translate3d(56px,56px,0); } }
@media (max-width: 640px) { body:not(.admin-shell) main > section:first-child h1 { font-size: clamp(3rem, 15vw, 4.8rem); } }
@media (prefers-reduced-motion: reduce) { body:not(.admin-shell) main > section:first-child::before { animation: none; } }
