/* ========================================================================
   WEB KURBAN - Custom Styles
   Palette: green, white, gold, light brown
======================================================================== */
:root {
    --green: #2e7d32;
    --green-dark: #1b5e20;
    --green-light: #e8f5e9;
    --gold: #c8a24a;
    --gold-light: #f3e7c9;
    --brown: #b08968;
    --brown-light: #f4ece4;
    --ink: #243027;
    --muted: #6b7a6e;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow-soft: 0 10px 30px rgba(46, 125, 50, .08);
    --shadow-hover: 0 18px 44px rgba(46, 125, 50, .16);
    --font: 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: #fbfdfb;
    margin: 0;
    overflow-x: hidden;
}
a { text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 700; }

/* ---------- Loader ---------- */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-light) 0%, #ffffff 50%, var(--gold-light) 100%);
    transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.loader-hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; position: relative; z-index: 2; }
.loader-sapi { width: 130px; height: 130px; margin: 0 auto 18px; animation: bounce 1.1s infinite; }
.loader-sapi img { width: 100%; height: 100%; object-fit: contain; }
.loader-sapi-icon { display: none; font-size: 90px; color: var(--green); }
.loader-sapi-fallback .loader-sapi-icon { display: inline-block; animation: floaty 2s ease-in-out infinite; }
.loader-text { color: var(--green-dark); letter-spacing: .5px; margin-bottom: 16px; }
.loader-progress { width: 220px; height: 8px; background: rgba(46,125,50,.15); border-radius: 20px; margin: 0 auto; overflow: hidden; }
.loader-progress-bar { width: 0; height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--green), var(--gold)); animation: loadbar 2s ease forwards; }
.loader-ornament { position: absolute; border-radius: 50%; opacity: .12; }
.loader-ornament-top { top: -60px; left: -60px; width: 240px; height: 240px; background: var(--green); }
.loader-ornament-bottom { bottom: -80px; right: -80px; width: 320px; height: 320px; background: var(--gold); }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes loadbar { 0% { width: 0; } 100% { width: 100%; } }

/* ---------- Navbar ---------- */
.navbar-glass {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(46,125,50,.08);
    transition: all .3s ease;
    padding: .9rem 0;
}
.navbar-glass.scrolled { background: rgba(255,255,255,.97); box-shadow: var(--shadow-soft); padding: .55rem 0; }
.navbar-brand { font-weight: 800; font-size: 1.35rem; color: var(--green-dark) !important; }
.navbar-brand span { color: var(--gold); }
.navbar-brand i { color: var(--green); }
.navbar-glass .nav-link { color: var(--ink) !important; font-weight: 500; margin: 0 .35rem; position: relative; }
.navbar-glass .nav-link.active, .navbar-glass .nav-link:hover { color: var(--green) !important; }
.navbar-glass .nav-link.active::after { content: ''; position: absolute; left: .35rem; right: .35rem; bottom: -2px; height: 3px; border-radius: 4px; background: var(--gold); }
.btn-nav-login { background: var(--green); color: #fff; border-radius: 50px; padding: .5rem 1.3rem; font-weight: 600; }
.btn-nav-login:hover { background: var(--green-dark); color: #fff; }

/* ---------- Buttons ---------- */
.btn-primary-gold { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; border: none; border-radius: 50px; padding: .7rem 1.6rem; font-weight: 600; box-shadow: 0 8px 20px rgba(46,125,50,.25); transition: transform .2s, box-shadow .2s; }
.btn-primary-gold:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46,125,50,.35); }
.btn-detail { background: var(--green-light); color: var(--green-dark); border-radius: 50px; font-weight: 600; border: none; }
.btn-detail:hover { background: var(--green); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; border-radius: 50px; font-weight: 600; }
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); animation: ripple .6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.btn-danger-soft { background: #fde8e8; color: #d9534f; border: none; }
.btn-danger-soft:hover { background: #d9534f; color: #fff; }
.btn-warning-soft { background: #fcf3e3; color: #c8870e; border: none; }
.btn-warning-soft:hover { background: #e0a106; color: #fff; }
.btn-info-soft { background: #e6f4f7; color: #2691a8; border: none; }
.btn-info-soft:hover { background: #2691a8; color: #fff; }

/* ---------- Hero ---------- */
.hero-section { position: relative; padding: 160px 0 90px; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #3d9140 100%); color: #fff; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(200,162,74,.35), transparent 45%); }
.hero-section .container { position: relative; z-index: 2; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.18); padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; margin-bottom: 1rem; }
.hero-badge i { color: var(--gold-light); }
.hero-text h1 { font-size: 2.9rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.hero-text p { font-size: 1.15rem; opacity: .92; margin-bottom: 1.8rem; }
.hero-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-image-wrap { position: relative; }
.hero-image { width: 100%; max-width: 460px; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,.3); border: 6px solid rgba(255,255,255,.2); }
.floating { animation: floaty 4s ease-in-out infinite; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--green-light); }
.section-head { margin-bottom: 48px; }
.section-eyebrow { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; }
.section-head h2 { font-size: 2.2rem; margin-top: .4rem; color: var(--green-dark); }
.page-header { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; padding: 130px 0 50px; }
.page-header h1 { font-size: 2.4rem; }
.breadcrumb-light .breadcrumb-item, .breadcrumb-light a { color: rgba(255,255,255,.85); }
.breadcrumb-light .breadcrumb-item.active { color: var(--gold-light); }

/* ---------- Category Cards ---------- */
.category-card { display: block; background: #fff; border-radius: var(--radius-lg); padding: 2rem; text-align: center; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; color: var(--ink); height: 100%; }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); color: var(--ink); }
.category-icon { width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 22px; background: linear-gradient(135deg, var(--green-light), var(--gold-light)); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--green); }
.category-count { display: inline-block; margin-top: .6rem; color: var(--gold); font-weight: 600; }

/* ---------- Feature Cards ---------- */
.feature-card { background: #fff; border-radius: var(--radius); padding: 1.8rem 1rem; text-align: center; box-shadow: var(--shadow-soft); height: 100%; transition: transform .3s; }
.feature-card:hover { transform: translateY(-6px); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: transform .4s; }
.feature-card:hover .feature-icon { transform: rotate(8deg) scale(1.08); }

/* ---------- Steps ---------- */
.steps-row { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.step-item { text-align: center; width: 130px; }
.step-circle { width: 84px; height: 84px; margin: 0 auto .8rem; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; position: relative; box-shadow: var(--shadow-soft); }
.step-number { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; background: var(--gold); color: #fff; border-radius: 50%; font-size: .85rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step-arrow { color: var(--gold); font-size: 1.3rem; margin-top: 32px; }

/* ---------- Animal Cards ---------- */
.animal-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; height: 100%; }
.animal-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.animal-card-img { position: relative; height: 220px; overflow: hidden; }
.animal-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.animal-card:hover .animal-card-img img { transform: scale(1.1); }
.badge-status { position: absolute; top: 14px; left: 14px; padding: .35rem .8rem; border-radius: 50px; font-size: .78rem; font-weight: 600; color: #fff; }
.badge-available { background: var(--green); }
.badge-available i { font-size: .55rem; vertical-align: middle; animation: pulse 1.4s infinite; }
.badge-out { background: #9aa0a6; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.animal-type-tag { position: absolute; top: 14px; right: 14px; background: rgba(200,162,74,.95); color: #fff; padding: .3rem .8rem; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.animal-type-tag.static { position: static; display: inline-block; margin-bottom: .6rem; }
.animal-card-body { padding: 1.3rem; }
.animal-card-body h5 { margin-bottom: .6rem; }
.animal-meta { display: flex; gap: 1rem; color: var(--muted); font-size: .85rem; margin-bottom: .8rem; }
.animal-price { font-size: 1.3rem; font-weight: 800; color: var(--green-dark); margin-bottom: 1rem; }

/* ---------- Detail ---------- */
.detail-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: 2rem; margin: .4rem 0; }
.detail-price { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); margin-bottom: 1.2rem; }
.detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.spec-item { background: var(--green-light); border-radius: var(--radius); padding: 1rem; display: flex; flex-direction: column; }
.spec-item i { color: var(--green); font-size: 1.2rem; margin-bottom: .3rem; }
.spec-item span { color: var(--muted); font-size: .8rem; }
.spec-item strong { font-size: 1.05rem; }
.detail-desc { color: var(--muted); line-height: 1.7; margin-bottom: 1.6rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.qty-input { max-width: 90px; border-radius: 50px; }

/* ---------- Filter / Empty ---------- */
.filter-bar { background: #fff; border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-soft); }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 4rem; color: var(--green-light); margin-bottom: 1rem; }
.empty-state.small { padding: 2rem 1rem; }
.empty-state.small i { font-size: 2.6rem; }
.empty-bounce { animation: bounce 1.6s infinite; }

/* ---------- Auth ---------- */
.auth-section { padding: 140px 0 80px; min-height: 90vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--green-light), var(--gold-light)); }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-hover); }
.auth-head { text-align: center; margin-bottom: 1.6rem; }
.auth-icon { width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 20px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.auth-head p { color: var(--muted); }
.auth-foot { text-align: center; margin-top: 1.2rem; color: var(--muted); }
.auth-foot a { color: var(--green); font-weight: 600; }
.auth-demo { margin-top: 1.2rem; padding: .9rem; border-radius: 14px; background: var(--green-light); text-align: center; color: var(--green-dark); }
.input-group-text { background: var(--green-light); border: none; color: var(--green); }
.form-control, .form-select { border-radius: 12px; padding: .6rem .9rem; border-color: #e3e9e4; }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(46,125,50,.12); }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 999; animation: floaty 3s ease-in-out infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.8); padding: 60px 0 24px; }
.footer-brand { color: #fff; }
.footer-brand i { color: var(--gold); }
.site-footer h6 { color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-social a:hover { background: var(--gold); }
.footer-contact i { color: var(--gold); width: 20px; }
.footer-copy { text-align: center; margin: 0; opacity: .7; font-size: .9rem; }

/* ---------- Animations on scroll ---------- */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
[data-animate="fade-in"] { transform: translateY(0); }

/* ========================================================================
   USER PANEL
======================================================================== */
.user-main { padding-top: 100px; min-height: 80vh; background: #fbfdfb; }
.page-title { color: var(--green-dark); }
.user-hero { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; border-radius: var(--radius-lg); padding: 1.8rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; box-shadow: var(--shadow-soft); }
.user-hero h2 { margin: 0; }
.dash-card { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-soft); }
.dash-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.link-more { color: var(--green); font-weight: 600; font-size: .9rem; }
.mini-stat { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-soft); color: var(--ink); }
.mini-stat:hover { color: var(--ink); transform: translateY(-4px); transition: transform .2s; }
.mini-stat-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }
.mini-stat-green .mini-stat-icon { background: var(--green); }
.mini-stat-gold .mini-stat-icon { background: var(--gold); }
.mini-stat-brown .mini-stat-icon { background: var(--brown); }
.mini-stat-value { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.mini-stat-label { color: var(--muted); font-size: .85rem; }
.cart-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #eef2ef; }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 80px; height: 80px; border-radius: 14px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h5 { margin: 0; }
.cart-item-price { color: var(--green-dark); font-weight: 700; margin-top: .3rem; }
.summary-card h4 { margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; color: var(--muted); }
.summary-row.total { border-top: 2px dashed #e3e9e4; margin-top: .5rem; padding-top: .8rem; color: var(--ink); font-size: 1.1rem; }
.summary-row.total strong { color: var(--green-dark); font-size: 1.25rem; }
.info-line { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid #f0f3f0; }
.info-line span { color: var(--muted); }
.info-line strong { text-align: right; }

/* Success */
.success-wrap { max-width: 560px; margin: 1rem auto; background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; box-shadow: var(--shadow-soft); }
.success-check { width: 90px; height: 90px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.success-detail { background: var(--green-light); border-radius: var(--radius); padding: 1.2rem; margin: 1.4rem 0; text-align: left; }
.success-info { display: flex; gap: .8rem; text-align: left; background: var(--gold-light); border-radius: var(--radius); padding: 1rem; color: #7a5e1d; }
.success-info i { font-size: 1.3rem; }
.success-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.4rem; }

/* ========================================================================
   ADMIN PANEL
======================================================================== */
.admin-body { background: #f3f6f3; }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: linear-gradient(180deg, var(--green-dark), var(--green)); color: #fff; position: fixed; top: 0; bottom: 0; left: 0; padding: 1.4rem 1rem; overflow-y: auto; transition: transform .3s; z-index: 1050; }
.sidebar-brand { font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem 1.4rem; }
.sidebar-brand i { color: var(--gold); }
.sidebar-nav { display: flex; flex-direction: column; gap: .3rem; }
.sidebar-nav a, .logout-btn { display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.85); padding: .8rem 1rem; border-radius: 12px; font-weight: 500; background: none; border: none; width: 100%; text-align: left; cursor: pointer; }
.sidebar-nav a i, .logout-btn i { width: 20px; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,.15); color: #fff; }
.logout-btn:hover { background: rgba(217,83,79,.85); color: #fff; }
.sidebar-divider { border-color: rgba(255,255,255,.15); margin: .8rem 0; }
.admin-main { flex: 1; margin-left: 260px; min-width: 0; }
.admin-topbar { background: #fff; padding: 1rem 1.6rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,.04); position: sticky; top: 0; z-index: 1000; }
.topbar-title { font-weight: 700; font-size: 1.1rem; color: var(--green-dark); flex: 1; }
.topbar-user { display: flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; }
.topbar-user i { color: var(--green); font-size: 1.4rem; }
.sidebar-toggle { display: none; background: var(--green-light); border: none; width: 42px; height: 42px; border-radius: 12px; color: var(--green); font-size: 1.1rem; }
.admin-content { padding: 1.6rem; }
.admin-breadcrumb { background: #fff; padding: .7rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow-soft); }
.admin-breadcrumb a { color: var(--green); }
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1040; }
.sidebar-backdrop.show { display: block; }

.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 1.4rem; display: flex; align-items: center; gap: 1.1rem; box-shadow: var(--shadow-soft); transition: transform .25s; }
.stat-card:hover { transform: translateY(-5px); }
.stat-icon { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; }
.stat-green .stat-icon { background: var(--green); }
.stat-gold .stat-icon { background: var(--gold); }
.stat-blue .stat-icon { background: #3d8ab5; }
.stat-brown .stat-icon { background: var(--brown); }
.stat-value { font-size: 1.5rem; font-weight: 800; line-height: 1.1; display: block; color: var(--ink); }
.stat-label { color: var(--muted); font-size: .85rem; }
.table-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; }
.img-preview { max-height: 120px; border-radius: 12px; }
.badge.text-bg-warning { color: #fff !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-image { margin-top: 2rem; }
    .step-arrow { display: none; }
}
@media (max-width: 575px) {
    .section { padding: 56px 0; }
    .detail-specs { grid-template-columns: 1fr; }
    .user-hero { text-align: center; justify-content: center; }
}

/* ========================================================================
   MODULE: CRM + TABUNGAN KURBAN
======================================================================== */
.sidebar-heading { display: block; padding: .4rem 1rem; font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.55); font-weight: 700; }

/* Timeline (interaction / activity) */
.crm-timeline { position: relative; padding-left: 1.6rem; }
.crm-timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--green-light); }
.crm-timeline-item { position: relative; padding-bottom: 1.2rem; }
.crm-timeline-item::before { content: ''; position: absolute; left: -1.6rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green-light); }
.crm-timeline-item .ct-time { font-size: .78rem; color: var(--muted); }
.crm-timeline-item .ct-body { background: #fff; border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow-soft); margin-top: .3rem; }

/* CRM mini stat tiles */
.crm-tile { background: #fff; border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 1rem; transition: transform .25s; height: 100%; }
.crm-tile:hover { transform: translateY(-4px); }
.crm-tile-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.crm-tile .ct-value { font-size: 1.5rem; font-weight: 800; line-height: 1; display: block; }
.crm-tile .ct-label { color: var(--muted); font-size: .82rem; }

/* Savings card */
.saving-card { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; height: 100%; position: relative; overflow: hidden; }
.saving-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.saving-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; margin-bottom: 1rem; }
.saving-card-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--green-light), var(--gold-light)); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.saving-code { font-size: .78rem; color: var(--muted); letter-spacing: .5px; }
.saving-progress { height: 14px; background: var(--green-light); border-radius: 20px; overflow: hidden; margin: .6rem 0; }
.saving-progress-bar { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--green), var(--gold)); width: 0; transition: width 1.2s ease; display: flex; align-items: center; justify-content: flex-end; }
.saving-amounts { display: flex; justify-content: space-between; font-size: .85rem; }
.saving-amounts .sa-current { color: var(--green-dark); font-weight: 700; }
.saving-amounts .sa-target { color: var(--muted); }
.saving-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.saving-summary-item { background: var(--green-light); border-radius: var(--radius); padding: 1rem; text-align: center; }
.saving-summary-item i { color: var(--green); font-size: 1.2rem; margin-bottom: .3rem; }
.saving-summary-item span { display: block; color: var(--muted); font-size: .78rem; }
.saving-summary-item strong { font-size: 1.05rem; color: var(--ink); }
.saving-percent-big { font-size: 2.6rem; font-weight: 800; color: var(--green-dark); }

/* Deposit proof thumb */
.proof-thumb { max-height: 90px; border-radius: 10px; border: 1px solid #eef2ef; }

/* Success check animation (reuse pop) */
.saving-success-check { width: 100px; height: 100px; margin: 0 auto 1rem; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 3rem; animation: pop .5s ease; }

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

@media print {
    .admin-sidebar, .admin-topbar, .sidebar-toggle, .no-print, .btn { display: none !important; }
    .admin-main { margin-left: 0 !important; }
    .admin-content { padding: 0 !important; }
    body { background: #fff !important; }
}

/* ========================================================================
   Filter & Export (admin data pages)
======================================================================== */
.filter-card {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.filter-card .form-control,
.filter-card .form-select {
    border-radius: 12px;
}
.btn-export-excel {
    background: linear-gradient(135deg, #198754, #28a745);
    border: none;
    color: #fff;
    border-radius: 12px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-export-excel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(25, 135, 84, .25);
    color: #fff;
}
