/* =========================================
   Madhuvai Badaga Matrimony – Styles
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---- BROWN THEME (default) — light warm cream ---- */
:root,
[data-theme="brown"] {
    --mv-primary:       #8b5e3c;   /* warm terracotta brown            */
    --mv-gold:          #b8860b;   /* dark gold accent                 */
    --mv-dark:          #3d2b1f;   /* deep espresso – headings         */
    --mv-accent:        #c0392b;   /* red                              */
    --mv-light:         #fef9f3;   /* ivory cream – backgrounds        */
    --mv-text:          #2c2416;   /* warm dark body text              */
    --mv-border:        #e8d5be;   /* soft warm beige border           */

    /* ── Hero panel: LIGHT in brown theme ── */
    --mv-hero-bg:       #fef9f3;          /* cream left panel bg      */
    --mv-hero-title:    #3d2b1f;          /* dark headings            */
    --mv-hero-desc:     #6b4f3a;          /* warm muted body text     */
    --mv-hero-badge-bg: rgba(139,94,60,.10);
    --mv-hero-badge-bd: rgba(139,94,60,.30);
    --mv-hero-badge-cl: #8b5e3c;
    --mv-hero-pill-bg:  rgba(139,94,60,.08);
    --mv-hero-pill-bd:  rgba(139,94,60,.18);
    --mv-hero-pill-cl:  #6b4f3a;
    --mv-hero-dot-bg:   rgba(139,94,60,.25);
    --mv-hero-outline-cl:  #8b5e3c;
    --mv-hero-outline-bd:  #8b5e3c;

    /* dark section gradients (stats bar, right carousel bg) */
    --mv-hero-grad-a:   #3d2b1f;
    --mv-hero-grad-b:   #2e1e12;
    --mv-hero-grad-c:   #4a3225;
    --mv-hero-grad-edge:#3d2b1f;   /* dark fade on left edge of carousel  */

    /* marquee bar */
    --mv-marquee-mid:   #5a3820;
    /* mobile off-canvas */
    --mv-canvas-a:      #3d2b1f;
    --mv-canvas-b:      #241509;
    --mv-canvas-c:      #2e1e12;
    /* page hero banner */
    --mv-page-hero-b:   #4a3225;
    /* mobile nav icon colours */
    --mv-link-icon-bg:      rgba(139,94,60,.22);
    --mv-link-icon-color:   #f0c9a0;
    --mv-link-hover-bg:     rgba(139,94,60,.18);
    --mv-link-hover-border: rgba(139,94,60,.28);
    --mv-link-hover-icon:   rgba(139,94,60,.40);
}

/* ---- GREEN THEME ---- */
[data-theme="green"] {
    --mv-primary:  #2d7a3a;
    --mv-gold:     #c8a04a;
    --mv-dark:     #1a2e1a;
    --mv-accent:   #e63946;
    --mv-light:    #f4faf4;
    --mv-text:     #2a2a2a;
    --mv-border:   #d4e8d4;

    /* ── Hero panel: DARK in green theme ── */
    --mv-hero-bg:       #1a2e1a;
    --mv-hero-title:    #ffffff;
    --mv-hero-desc:     rgba(255,255,255,.72);
    --mv-hero-badge-bg: rgba(200,160,74,.16);
    --mv-hero-badge-bd: rgba(200,160,74,.45);
    --mv-hero-badge-cl: #c8a04a;
    --mv-hero-pill-bg:  rgba(255,255,255,.06);
    --mv-hero-pill-bd:  rgba(255,255,255,.12);
    --mv-hero-pill-cl:  rgba(255,255,255,.75);
    --mv-hero-dot-bg:   rgba(255,255,255,.30);
    --mv-hero-outline-cl:  #fff;
    --mv-hero-outline-bd:  rgba(255,255,255,.45);

    --mv-hero-grad-a:   #1a2e1a;
    --mv-hero-grad-b:   #122a14;
    --mv-hero-grad-c:   #1a3d1c;
    --mv-hero-grad-edge:#122a14;
    --mv-marquee-mid:   #1e4d22;
    --mv-canvas-a:      #1a2e1a;
    --mv-canvas-b:      #0e2410;
    --mv-canvas-c:      #122a14;
    --mv-page-hero-b:   #1e4620;
    --mv-link-icon-bg:      rgba(45,122,58,.25);
    --mv-link-icon-color:   #8ecf96;
    --mv-link-hover-bg:     rgba(45,122,58,.2);
    --mv-link-hover-border: rgba(45,122,58,.3);
    --mv-link-hover-icon:   rgba(45,122,58,.45);
}

/* ---- GLOBAL ---- */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Poppins', 'Segoe UI', sans-serif; color: var(--mv-text); background: #fff; margin: 0; }
a { text-decoration: none; }
img { max-width: 100%; }
.btn-mv-primary { background: var(--mv-primary); color: #fff !important; border: none; font-weight: 600; transition: background .2s; }
.btn-mv-primary:hover { background: var(--mv-dark); color: #fff !important; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--mv-dark); line-height: 1.2; }
.section-title span { color: var(--mv-primary); }

/* ---- MARQUEE / SCROLLING BAR ---- */
/* (defined in header section below) */

/* ---- TOPBAR ---- */
/* (defined in header section below) */

/* ---- NAVBAR ---- */
/* (defined in header section below) */

/* ---- HERO ---- */
.hero-badge {
    background: rgba(200,160,74,.18); border: 1px solid var(--mv-gold);
    color: var(--mv-gold); font-size: .8rem; padding: 4px 14px;
    border-radius: 20px; display: inline-block; margin-bottom: 16px;
}

/* ---- SERVICES ---- */
.services-section { background: var(--mv-light); padding: 80px 0; }
.service-card {
    background: #fff; border-radius: 14px; padding: 30px 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    transition: transform .25s, box-shadow .25s; height: 100%;
    border-top: 3px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.12); border-top-color: var(--mv-primary); }
.service-icon {
    width: 58px; height: 58px; background: rgba(0,0,0,.06);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--mv-primary); margin-bottom: 14px;
}

/* ---- ABOUT ---- */
.about-section { padding: 80px 0; }
.stat-box {
    background: var(--mv-light); border-left: 4px solid var(--mv-primary);
    border-radius: 8px; padding: 18px 20px;
}
.stat-box h3 { font-size: 2rem; font-weight: 800; color: var(--mv-primary); margin: 0; }
.stat-box p  { margin: 0; font-size: .9rem; color: #666; }

/* ---- PAGE HERO ---- */
.page-hero {
    background: linear-gradient(135deg, var(--mv-dark), var(--mv-page-hero-b));
    padding: 48px 0 32px; color: #fff;
}
.page-hero .section-title { color: #fff; }
.page-hero .section-title span { color: var(--mv-gold); }
.page-hero .breadcrumb-item a { color: var(--mv-gold); }
.page-hero .breadcrumb-item.active { color: #aaa; }

/* ---- REGISTRATION FORM ---- */
.register-section { background: var(--mv-light); padding: 40px 0 60px; }
.register-card {
    background: #fff; border-radius: 16px;
    box-shadow: 0 8px 40px rgba(45,122,58,.12); padding: 40px 36px;
}
.register-card .form-label { font-weight: 600; color: #333; font-size: .88rem; margin-bottom: 5px; }
.register-card .form-control,
.register-card .form-select {
    border-radius: 8px; border: 1.5px solid var(--mv-border);
    padding: 10px 14px; font-size: .9rem; color: var(--mv-text);
    transition: border-color .2s, box-shadow .2s;
}
.register-card .form-control:focus,
.register-card .form-select:focus {
    border-color: var(--mv-primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
    outline: none;
}
.register-card .input-group-text {
    background: var(--mv-light); border: 1.5px solid var(--mv-border);
    border-right: none; color: var(--mv-primary);
}
.register-card .input-group .form-control { border-left: none; }
.register-card .input-group .form-control.is-invalid { border-left: none; }

/* ---- FORM SECTIONS ---- */
.form-section-head {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    color: var(--mv-primary); letter-spacing: .1em;
    border-bottom: 2px solid var(--mv-border);
    padding-bottom: 7px; margin-bottom: 18px; margin-top: 4px;
    display: flex; align-items: center; gap: 7px;
}

/* ---- PROFILE PHOTO ---- */
.photo-upload-wrap { text-align: center; margin-bottom: 28px; }
.photo-preview-circle {
    width: 120px; height: 120px; border-radius: 50%;
    border: 3px dashed var(--mv-primary); background: var(--mv-light);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px; overflow: hidden; cursor: pointer;
    transition: border-color .2s, background .2s;
}
.photo-preview-circle:hover { border-color: var(--mv-dark); background: var(--mv-light); }
.photo-preview-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.photo-preview-circle i  { font-size: 2.8rem; color: var(--mv-primary); }
.photo-upload-label { font-size: .82rem; color: #888; line-height: 1.5; }

/* ---- REQUIRED STAR ---- */
.req { color: #dc3545; margin-left: 2px; }

/* ---- ALERTS ---- */
.alert-mv-success {
    background: #d4edda; border-left: 5px solid #28a745;
    border-radius: 10px; padding: 18px 22px; color: #155724; display: flex; gap: 14px;
}
.alert-mv-error {
    background: #fde8e8; border-left: 5px solid #dc3545;
    border-radius: 10px; padding: 18px 22px; color: #721c24; display: flex; gap: 14px;
}
.alert-mv-success .alert-title,
.alert-mv-error .alert-title { font-weight: 700; font-size: 1rem; margin-bottom: 5px; }
.alert-icon { flex-shrink: 0; font-size: 1.5rem; margin-top: 2px; }

/* ---- CONTACT ---- */
.contact-section { padding: 50px 0; }
.contact-info-compact {
    background: var(--mv-dark); color: #fff;
    border-radius: 14px; padding: 22px 24px;
}
.contact-info-compact h5 { color: var(--mv-gold); font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.contact-info-row {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .87rem;
}
.contact-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-row i { font-size: 1rem; color: var(--mv-gold); flex-shrink: 0; width: 18px; text-align: center; }
.contact-info-row a { color: #ccc; }
.contact-info-row a:hover { color: var(--mv-gold); }
.map-wrapper { border-radius: 12px; height: 250px; margin-top: 14px; }
.map-wrapper > div { width: 100%; height: 100%; border-radius: 12px; }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 12px; }

/* ---- FOOTER ---- */
.footer-main { background: var(--mv-dark); color: #aaa; padding: 55px 0 26px; }
.footer-main h5 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: .95rem; }
.footer-main a { color: #aaa; display: block; margin-bottom: 7px; font-size: .88rem; transition: color .2s; }
.footer-main a:hover { color: var(--mv-gold); padding-left: 4px; }
.footer-logo img { height: 60px; width: auto; object-fit: contain; margin-bottom: 14px; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 28px 0 18px; }
.footer-bottom { font-size: .84rem; color: #666; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #aaa; margin-right: 7px; font-size: 1rem;
    transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--mv-primary); color: #fff; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed; bottom: 22px; right: 22px; z-index: 9999;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 18px rgba(37,211,102,.55); font-size: 1.7rem; color: #fff;
    text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.12); color: #fff; box-shadow: 0 6px 26px rgba(37,211,102,.75); }
.whatsapp-float .wa-tooltip {
    position: absolute; right: 64px;
    background: #222; color: #fff; padding: 5px 13px; border-radius: 5px;
    font-size: .78rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ---- MOBILE RESPONSIVE (general) ---- */
@media (max-width: 768px) {
    .section-title { font-size: 1.6rem; }
    .register-card { padding: 24px 16px; }
    .contact-info-box { margin-bottom: 24px; }
    .page-hero { padding: 36px 0 22px; }
    .register-section { padding: 24px 0 40px; }
    .photo-preview-circle { width: 100px; height: 100px; }
    .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.5rem; }
    .footer-main { padding: 40px 0 20px; }
}

@media (max-width: 480px) {
    .register-card { padding: 20px 12px; }
    .form-section-head { font-size: .68rem; }
}

/* ============================================================
   MADHUVAI – HEADER / NAVBAR (mv- prefixed)
   ============================================================ */

/* ---- Marquee Bar ---- */
.marquee-bar {
    background: linear-gradient(90deg, var(--mv-dark) 0%, var(--mv-marquee-mid) 50%, var(--mv-dark) 100%);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .03em;
    border-bottom: 2px solid var(--mv-gold);
}
.marquee-inner {
    display: inline-block;
    animation: marquee-scroll 38s linear infinite;
    padding-left: 100%;
}
.marquee-bar:hover .marquee-inner { animation-play-state: paused; }

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ---- Topbar ---- */
.topbar {
    background: var(--mv-dark);
    color: #bbb;
    font-size: .8rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(200,160,74,.2);
}
.topbar a { color: var(--mv-gold); transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar .topbar-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,.06); color: #aaa;
    font-size: .82rem; transition: background .2s, color .2s;
}
.topbar .topbar-social a:hover { background: var(--mv-primary); color: #fff; }

/* ---- Main Navbar ---- */
.navbar-madhuvai {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.10);
    padding: 0;
    min-height: 74px;
    transition: box-shadow .3s;
}
.navbar-madhuvai.scrolled {
    box-shadow: 0 4px 28px rgba(0,0,0,.16);
}

/* ---- Brand ---- */
.mv-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}
.mv-brand-img {
    height: 75px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px;
}
.mv-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.mv-brand-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--mv-dark);
    letter-spacing: -.01em;
}
.mv-brand-sub {
    font-size: .72rem;
    color: var(--mv-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ---- Desktop Nav Links ---- */
.mv-nav-desktop { gap: 4px; }

.mv-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    color: var(--mv-dark);
    font-weight: 600;
    font-size: .9rem;
    border-radius: 8px;
    position: relative;
    transition: color .15s, background .15s;
    white-space: nowrap;
}
.mv-nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 14px; right: 14px;
    height: 2px;
    background: var(--mv-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .2s ease;
}
.mv-nav-link:hover {
    color: var(--mv-primary);
    background: rgba(0,0,0,.04);
}
.mv-nav-link:hover::after { transform: scaleX(1); }
.mv-nav-link.active {
    color: var(--mv-primary);
    background: rgba(0,0,0,.05);
}
.mv-nav-link.active::after { transform: scaleX(1); }

/* Register CTA button — always uses theme primary, never inherits active/hover link styles */
.mv-nav-register,
.mv-nav-register:link,
.mv-nav-register:visited,
.mv-nav-register.active,
.mv-nav-register:hover {
    background: linear-gradient(135deg, var(--mv-primary) 0%, var(--mv-dark) 100%) !important;
    color: #fff !important;
}
.mv-nav-register {
    padding: 9px 18px !important;
    border-radius: 10px !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    transition: transform .15s, box-shadow .15s !important;
}
.mv-nav-register::after { display: none !important; }
.mv-nav-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.28) !important;
}

/* ---- Hamburger Button ---- */
.mv-menu-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--mv-light);
    border: 1.5px solid var(--mv-border);
    padding: 8px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.mv-menu-btn:hover {
    background: rgba(0,0,0,.04);
    border-color: var(--mv-primary);
}
.mv-menu-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,.1); }
.mv-menu-bar {
    background: var(--mv-dark);
    width: 20px;
    height: 2.5px;
    display: block;
    border-radius: 2px;
    transition: transform .22s ease, opacity .15s ease, width .2s ease;
}
.mv-menu-btn[aria-expanded="true"] { background: rgba(0,0,0,.06); border-color: var(--mv-primary); }
.mv-menu-btn[aria-expanded="true"] .mv-menu-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mv-menu-btn[aria-expanded="true"] .mv-menu-bar:nth-child(2) { opacity: 0; width: 0; }
.mv-menu-btn[aria-expanded="true"] .mv-menu-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   MOBILE OFF-CANVAS PANEL
   ============================================================ */
.mv-offcanvas {
    background: linear-gradient(170deg, var(--mv-canvas-a) 0%, var(--mv-canvas-b) 60%, var(--mv-canvas-c) 100%);
    color: #fff;
    width: 300px !important;
    border-left: none !important;
}
.mv-offcanvas-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(200,160,74,.18);
    background: rgba(0,0,0,.15);
}
.mv-offcanvas-close {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s;
}
.mv-offcanvas-close:hover { background: rgba(230,57,70,.5); }

.mv-offcanvas-contact {
    display: flex;
    gap: 0;
    flex-direction: column;
    padding: 14px 20px;
    background: rgba(200,160,74,.07);
    border-bottom: 1px solid rgba(200,160,74,.12);
}
.mv-offcanvas-contact a {
    color: #ddd;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: .83rem;
    transition: color .15s;
}
.mv-offcanvas-contact a:hover { color: var(--mv-gold); }

.mv-offcanvas-body {
    padding: 20px 16px;
    overflow-y: auto;
}

/* Nav section label */
.mv-mobile-section-label {
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(200,160,74,.65);
    padding: 0 8px;
    margin-bottom: 8px;
    margin-top: 4px;
}

.mv-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mv-mobile-link {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 13px 14px;
    color: rgba(255,255,255,.88);
    border-radius: 10px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.04);
    font-size: .93rem;
    font-weight: 500;
    transition: background .15s, color .15s, border-color .15s;
    text-decoration: none;
}
.mv-mobile-link .mv-link-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--mv-link-icon-bg);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--mv-link-icon-color);
    margin-right: 12px;
    flex-shrink: 0;
    transition: background .15s;
}
.mv-mobile-link span.mv-link-label { flex: 1; }
.mv-link-arrow {
    color: rgba(255,255,255,.25);
    font-size: .78rem;
    transition: transform .15s;
}
.mv-mobile-link:hover {
    background: var(--mv-link-hover-bg);
    color: #fff;
    border-color: var(--mv-link-hover-border);
}
.mv-mobile-link:hover .mv-link-icon { background: var(--mv-link-hover-icon); }
.mv-mobile-link:hover .mv-link-arrow { transform: translateX(3px); color: var(--mv-gold); }
.mv-mobile-link.active {
    background: rgba(200,160,74,.12);
    color: var(--mv-gold);
    border-color: rgba(200,160,74,.2);
}
.mv-mobile-link.active .mv-link-icon {
    background: rgba(200,160,74,.2);
    color: var(--mv-gold);
}
.mv-mobile-link.active .mv-link-arrow { color: var(--mv-gold); }

/* Register CTA in offcanvas */
.mv-offcanvas-register {
    background: linear-gradient(135deg, var(--mv-primary), var(--mv-dark));
    color: #fff !important;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: .95rem;
    border: none;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.mv-offcanvas-register:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* Login button in offcanvas */
.mv-offcanvas-login {
    background: rgba(255,255,255,.08);
    color: var(--mv-gold) !important;
    border: 2px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: .95rem;
    text-decoration: none;
    transition: all .15s;
}
.mv-offcanvas-login:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--mv-gold);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Logout button in offcanvas */
.mv-offcanvas-logout {
    width: 100%;
    background: rgba(220,53,69,.15);
    color: #ff6b7a !important;
    border: 2px solid rgba(220,53,69,.25);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: .95rem;
    cursor: pointer;
    transition: all .15s;
}
.mv-offcanvas-logout:hover {
    background: rgba(220,53,69,.25);
    border-color: #dc3545;
    color: #fff !important;
    transform: translateY(-2px);
}

/* User info in offcanvas */
.mv-user-info {
    padding: 12px;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
}

/* Desktop dropdown menu */
.dropdown-menu {
    background: #fff;
    border: 2px solid var(--mv-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(61,43,31,.15);
    padding: 8px 0;
    min-width: 200px;
}
.dropdown-item {
    padding: 10px 20px;
    color: var(--mv-dark);
    font-weight: 500;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .2s;
}
.dropdown-item:hover {
    background: var(--mv-light);
    color: var(--mv-primary);
}
.dropdown-item.text-danger {
    color: #dc3545 !important;
}
.dropdown-item.text-danger:hover {
    background: rgba(220,53,69,.08);
}
.dropdown-divider {
    border-top: 1px solid var(--mv-border);
    margin: 4px 0;
}

/* Social links in offcanvas */
.mv-offcanvas-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.mv-offcanvas-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: #aaa;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: background .2s, color .2s, border-color .2s;
}
.mv-offcanvas-social a:hover { background: var(--mv-primary); color: #fff; border-color: var(--mv-primary); }
/* Divider in offcanvas */
.mv-offcanvas-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.07);
    margin: 18px 0;
}

/* ============================================================
   HOME HERO – SPLIT LAYOUT  (Text Left | Image Slider Right)
   ============================================================ */
.mv-hero-split {
    background: var(--mv-hero-bg);
    min-height: 560px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

/* Inner two-column flex row */
.mv-hero-split-inner {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* ── LEFT TEXT PANEL ── */
.mv-hero-text {
    flex: 0 0 52%;
    max-width: 52%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px 60px 5%;
    position: relative;
    z-index: 2;
}

/* Badge */
.mv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--mv-hero-badge-bg);
    border: 1px solid var(--mv-hero-badge-bd);
    color: var(--mv-hero-badge-cl);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    width: fit-content;
}

/* Title slots – only .active is visible */
.mv-hero-titles { position: relative; margin-bottom: 16px; min-height: 100px; }
.mv-htitle {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--mv-hero-title);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .55s ease;
    pointer-events: none;
}
.mv-htitle.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}
.mv-htitle span { color: var(--mv-hero-badge-cl); }

/* Description slots */
.mv-hero-descs { position: relative; margin-bottom: 28px; min-height: 56px; }
.mv-hdesc {
    font-size: .97rem;
    color: var(--mv-hero-desc);
    line-height: 1.65;
    margin: 0;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease .1s, transform .55s ease .1s;
    pointer-events: none;
    max-width: 520px;
}
.mv-hdesc.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

/* CTA buttons */
.mv-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.btn-slider-primary {
    background: linear-gradient(135deg, var(--mv-primary), var(--mv-dark));
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    padding: 12px 26px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.22);
    transition: transform .15s, box-shadow .15s;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-slider-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.3);
    color: #fff;
}
.btn-slider-outline {
    background: transparent;
    color: var(--mv-hero-outline-cl);
    font-weight: 600;
    font-size: .92rem;
    padding: 11px 24px;
    border-radius: 10px;
    border: 2px solid var(--mv-hero-outline-bd);
    transition: background .15s, border-color .15s, color .15s;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
}
.btn-slider-outline:hover {
    background: rgba(139,94,60,.08);
    border-color: var(--mv-primary);
    color: var(--mv-primary);
}

/* Stat pills */
.mv-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.mv-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--mv-hero-pill-bg);
    border: 1px solid var(--mv-hero-pill-bd);
    color: var(--mv-hero-pill-cl);
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
}
.mv-pill i { color: var(--mv-hero-badge-cl); }

/* Sync dots */
.mv-hero-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.mv-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--mv-hero-dot-bg);
    border: none;
    padding: 0; cursor: pointer;
    transition: background .25s, transform .25s, width .25s;
}
.mv-dot.active {
    background: var(--mv-primary);
    width: 28px;
    border-radius: 5px;
    transform: none;
}

/* ── RIGHT IMAGE CAROUSEL PANEL ── */
.mv-hero-carousel-wrap {
    flex: 0 0 48%;
    max-width: 48%;
    position: relative;
    overflow: hidden;
    height: 560px;
}
.mv-hero-carousel {
    height: 100%;
    width: 100%;
}
.mv-hero-carousel .carousel-inner {
    height: 100%;
    width: 100%;
}
.mv-hero-carousel .carousel-item {
    height: 100%;
    width: 100%;
    overflow: hidden;
    /* default: dark bg for cover images */
    background: #1a1008;
}

/* ── Default: cover for landscape/portrait photos ── */
.mv-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 7s ease;
}
.mv-hero-carousel .carousel-item.active .mv-hero-img {
    transform: scale(1.05);
}

/* ── Slide 1 (sliderimage5) is a square poster — contain + warm bg ── */
.mv-hero-carousel .carousel-item:first-child {
    background: #fdf6ee;   /* warm cream so the poster sits naturally */
}
.mv-hero-carousel .carousel-item:first-child .mv-hero-img {
    object-fit: contain;
    object-position: center center;
    max-height: 100%;
    width: 100%;
    padding: 8px;          /* small breathing room around the poster  */
}
/* no zoom on contained poster — it would clip the edges */
.mv-hero-carousel .carousel-item:first-child.active .mv-hero-img {
    transform: none;
}

/* Subtle left-edge fade — only on cover-image slides, hidden on poster slide */
.mv-hero-carousel-wrap::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 60px;
    background: linear-gradient(to right, var(--mv-hero-grad-edge), transparent);
    z-index: 2;
    pointer-events: none;
}

/* Prev/Next arrows on image panel */
.mv-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s, border-color .2s;
}
.mv-carousel-arrow:hover {
    background: rgba(0,0,0,.35);
    border-color: var(--mv-primary);
}
.mv-carousel-prev { left: 14px; }
.mv-carousel-next { right: 14px; }

/* Decorative badge over image */
.mv-img-badge {
    position: absolute;
    bottom: 22px;
    left: 80%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(200,160,74,.35);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .mv-hero-split { min-height: auto; }
    .mv-hero-split-inner { flex-direction: column; }
    .mv-hero-text {
        flex: none; max-width: 100%;
        padding: 36px 24px 28px;
        order: 2;
    }
    .mv-hero-carousel-wrap {
        flex: none; max-width: 100%;
        width: 100%;
        height: 320px;
        order: 1;
    }
    .mv-hero-carousel-wrap::before { display: none; }
    .mv-hero-img { min-height: unset; }
    .mv-htitle { font-size: 2rem; }
    .mv-hero-titles { min-height: 85px; }
    .mv-hero-descs { min-height: 52px; }
}

@media (max-width: 767px) {
    .mv-hero-text { padding: 28px 18px 24px; }
    .mv-htitle { font-size: 1.65rem; }
    .mv-hero-titles { min-height: 74px; }
    .mv-hero-descs { min-height: 62px; }
    .mv-hero-carousel-wrap { height: 250px; }
    .btn-slider-primary, .btn-slider-outline { font-size: .85rem; padding: 10px 18px; }
}

@media (max-width: 480px) {
    .mv-htitle { font-size: 1.35rem; }
    .mv-hero-titles { min-height: 64px; }
    .mv-hero-descs { min-height: 76px; }
    .mv-hero-carousel-wrap { height: 210px; }
    .mv-carousel-arrow { display: none; }
    .mv-hero-badge { font-size: .68rem; }
}

/* ============================================================
   RESPONSIVE HEADER / NAVBAR
   ============================================================ */
@media (max-width: 991px) {
    .navbar-madhuvai { min-height: 62px; }
    .mv-brand-img { height: 44px; }
    .mv-brand-name { font-size: 1rem; }
    .mv-brand-sub { font-size: .66rem; }
    .topbar { font-size: .75rem; padding: 5px 0; }
}
@media (max-width: 576px) {
    .mv-brand-name { font-size: .92rem; }
    .mv-brand-sub { font-size: .62rem; }
    .marquee-bar { font-size: .74rem; padding: 6px 0; }
}


/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.mv-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 22px;
    border: 1.5px solid var(--mv-border);
    background: var(--mv-light);
    color: var(--mv-dark);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: .03em;
    position: relative;
    overflow: hidden;
}
.mv-theme-btn:hover {
    border-color: var(--mv-primary);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.mv-theme-btn .mv-theme-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background .3s;
}
/* Current theme indicator dot */
[data-theme="brown"] .mv-theme-dot,
:root:not([data-theme="green"]) .mv-theme-dot {
    background: #8b5e3c;
}
[data-theme="green"] .mv-theme-dot {
    background: #2d7a3a;
}
/* Labels inside button — show which theme is ACTIVE */
.mv-theme-label-green { display: none; }
.mv-theme-label-brown { display: inline; }
[data-theme="green"] .mv-theme-label-green { display: inline; }
[data-theme="green"] .mv-theme-label-brown { display: none; }

/* Mobile version inside offcanvas */
.mv-theme-btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #ddd;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    text-decoration: none;
    margin-top: 10px;
}
.mv-theme-btn-mobile:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--mv-gold);
    color: var(--mv-gold);
}
.mv-theme-btn-mobile .mv-theme-dot-m {
    width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; transition: background .3s;
}
[data-theme="brown"] .mv-theme-dot-m,
:root:not([data-theme="green"]) .mv-theme-dot-m { background: #8b5e3c; }
[data-theme="green"] .mv-theme-dot-m { background: #2d7a3a; }

/* ============================================================
   BADAGA COMMUNITY SECTION
   ============================================================ */
.mv-badaga-section { background: #fff; }
.mv-community-stat {
    background: var(--mv-light);
    border: 2px solid var(--mv-border);
    border-radius: 16px;
    padding: 28px 20px;
    transition: all .3s;
}
.mv-community-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(61,43,31,.1);
    border-color: var(--mv-primary);
}
.mv-community-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--mv-primary), var(--mv-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(139,94,60,.3);
}
.mv-community-stat-icon-green {
    background: linear-gradient(135deg, #2d7a3a, #1a5c24);
    box-shadow: 0 4px 15px rgba(45,122,58,.3);
}
.mv-community-stat-icon-gold {
    background: linear-gradient(135deg, #b8860b, #8b6508);
    box-shadow: 0 4px 15px rgba(184,134,11,.3);
}
.mv-community-stat-icon-red {
    background: linear-gradient(135deg, #c0392b, #922b21);
    box-shadow: 0 4px 15px rgba(192,57,43,.3);
}
.mv-community-stat h3 {
    font-weight: 800;
    color: var(--mv-dark);
    margin-bottom: 4px;
}
.mv-community-quote {
    background: var(--mv-light);
    border-left: 4px solid var(--mv-primary);
    border-radius: 0 12px 12px 0;
    padding: 24px 30px;
}
.mv-community-quote p {
    font-size: 1.05rem;
    line-height: 1.7;
}
.mv-info-card {
    background: #fff;
    border: 1px solid var(--mv-border);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: all .3s;
    overflow: hidden;
}
.mv-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(61,43,31,.1);
    border-color: var(--mv-primary);
}
.mv-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--mv-primary), var(--mv-dark));
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 14px;
}
.mv-info-icon.mx-auto { margin-left: auto; margin-right: auto; }
.mv-info-card h5 {
    font-weight: 700;
    color: var(--mv-dark);
    margin-bottom: 8px;
}

.mv-card-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: block;
    border: 3px solid var(--mv-border);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.mv-card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

/* ============================================================
   CULTURE SECTION
   ============================================================ */
.mv-culture-section { background: var(--mv-light); }
.mv-culture-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    border: 2px solid transparent;
    transition: all .3s;
    overflow: hidden;
}
.mv-culture-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(61,43,31,.12);
    border-color: var(--mv-primary);
}
.mv-culture-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mv-primary), var(--mv-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(139,94,60,.3);
}
.mv-culture-avatar-green {
    background: linear-gradient(135deg, #2d7a3a, #1a5c24);
    box-shadow: 0 6px 20px rgba(45,122,58,.3);
}
.mv-culture-avatar-gold {
    background: linear-gradient(135deg, #b8860b, #8b6508);
    box-shadow: 0 6px 20px rgba(184,134,11,.3);
}
.mv-culture-avatar-red {
    background: linear-gradient(135deg, #c0392b, #922b21);
    box-shadow: 0 6px 20px rgba(192,57,43,.3);
}
.mv-culture-avatar-purple {
    background: linear-gradient(135deg, #8e44ad, #6c3483);
    box-shadow: 0 6px 20px rgba(142,68,173,.3);
}
.mv-culture-avatar-teal {
    background: linear-gradient(135deg, #16a085, #117a65);
    box-shadow: 0 6px 20px rgba(22,160,133,.3);
}
.mv-culture-card h5 {
    font-weight: 700;
    color: var(--mv-dark);
    margin-top: 16px;
    margin-bottom: 8px;
}

/* ============================================================
   MARRIAGE SECTION
   ============================================================ */
.mv-marriage-section { background: #fff; }
.mv-marriage-card {
    background: var(--mv-light);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    border: 2px solid var(--mv-border);
    transition: all .3s;
    overflow: hidden;
}
.mv-marriage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(61,43,31,.1);
    border-color: var(--mv-gold);
}
.mv-marriage-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--mv-primary), var(--mv-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(139,94,60,.3);
}
.mv-marriage-avatar-green {
    background: linear-gradient(135deg, #2d7a3a, #1a5c24);
    box-shadow: 0 4px 15px rgba(45,122,58,.3);
}
.mv-marriage-avatar-gold {
    background: linear-gradient(135deg, #b8860b, #8b6508);
    box-shadow: 0 4px 15px rgba(184,134,11,.3);
}
.mv-marriage-avatar-red {
    background: linear-gradient(135deg, #c0392b, #922b21);
    box-shadow: 0 4px 15px rgba(192,57,43,.3);
}
.mv-marriage-card h6 {
    font-weight: 700;
    color: var(--mv-dark);
    margin-bottom: 8px;
}
.mv-marriage-highlight {
    background: linear-gradient(135deg, rgba(139,94,60,.06), rgba(184,134,11,.06));
    border: 2px solid var(--mv-border);
    border-radius: 16px;
    padding: 35px;
}
.mv-marriage-highlight h4 {
    font-weight: 800;
    color: var(--mv-dark);
}

/* ============================================================
   FUNCTIONS / EVENTS SECTION
   ============================================================ */
.mv-functions-section { background: var(--mv-light); }
.mv-function-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    height: 100%;
    border: 2px solid var(--mv-border);
    transition: all .3s;
}
.mv-function-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(61,43,31,.12);
    border-color: var(--mv-primary);
}
.mv-function-img {
    width: 100px;
    min-height: 100%;
    background: linear-gradient(135deg, var(--mv-primary), var(--mv-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}
.mv-function-img-green {
    background: linear-gradient(135deg, #2d7a3a, #1a5c24);
}
.mv-function-img-gold {
    background: linear-gradient(135deg, #b8860b, #8b6508);
}
.mv-function-img-red {
    background: linear-gradient(135deg, #c0392b, #922b21);
}
.mv-function-content {
    padding: 20px;
    flex: 1;
}
.mv-function-content h5 {
    font-weight: 700;
    color: var(--mv-dark);
    margin-bottom: 6px;
}
.mv-functions-highlight {
    background: #fff;
    border: 2px solid var(--mv-border);
    border-radius: 16px;
    padding: 35px;
}
.mv-functions-highlight h4 {
    font-weight: 800;
    color: var(--mv-dark);
}

/* ============================================================
   RESPONSIVE – NEW SECTIONS
   ============================================================ */
@media (max-width: 991px) {
    .mv-function-card { flex-direction: column; }
    .mv-function-img { width: 100%; min-height: 80px; padding: 20px; }
}

@media (max-width: 768px) {
    .mv-badaga-section,
    .mv-culture-section,
    .mv-marriage-section,
    .mv-functions-section { padding: 50px 0; }
    .mv-marriage-highlight,
    .mv-functions-highlight { padding: 24px; }
    .mv-culture-card,
    .mv-marriage-card { padding: 24px 18px; }
    .mv-community-quote { padding: 20px; }
}

@media (max-width: 480px) {
    .mv-culture-avatar,
    .mv-marriage-avatar { width: 60px; height: 60px; font-size: 1.5rem; }
    .mv-marriage-avatar { width: 55px; height: 55px; font-size: 1.4rem; }
    .mv-community-stat { padding: 20px 14px; }
    .mv-community-stat-icon { width: 48px; height: 48px; font-size: 1.3rem; }
}

/* ============================================================
   ADMIN PAGINATION
   ============================================================ */
.mv-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 10px;
}

.mv-pagination-wrapper .pagination {
    gap: 6px;
    margin-bottom: 0;
}

.mv-pagination-wrapper .page-item .page-link {
    border: none;
    background: #fff;
    color: var(--mv-dark);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(61, 43, 31, 0.08);
    transition: all 0.2s;
    border: 1px solid var(--mv-border);
}

.mv-pagination-wrapper .page-item.active .page-link {
    background: var(--mv-primary);
    color: #fff;
    border-color: var(--mv-primary);
    box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3);
}

.mv-pagination-wrapper .page-item .page-link:hover {
    background: var(--mv-light);
    color: var(--mv-primary);
    transform: translateY(-1px);
}

.mv-pagination-wrapper .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #ccc;
    border-color: var(--mv-border);
    box-shadow: none;
    cursor: not-allowed;
}

/* ============================================================
   ADMIN TABLE STICKY COLUMNS & SCROLL
   ============================================================ */
.mv-admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mv-admin-table-wrapper .table {
    margin-bottom: 0;
    white-space: nowrap;
}

.mv-admin-table-wrapper .table thead th {
    position: sticky;
    top: 0;
    background: #f3f4f6;
    z-index: 3;
}

.mv-admin-table-wrapper .table .sticky-col {
    position: sticky;
    background: #fff;
    z-index: 2;
}

.mv-admin-table-wrapper .table .sticky-col.sticky-first {
    left: 0;
}

.mv-admin-table-wrapper .table .sticky-col.sticky-last {
    right: 0;
}

.mv-admin-table-wrapper .table tbody .sticky-col {
    background: #fff;
}

.mv-admin-table-wrapper .table thead .sticky-col {
    background: #f3f4f6;
    z-index: 4;
}

.mv-admin-table-wrapper .table .sticky-last {
    background: #fff;
}

.mv-admin-table-wrapper .table thead .sticky-last {
    background: #f3f4f6;
    z-index: 4;
}

.mv-admin-table-wrapper .table tbody tr:hover .sticky-col {
    background: #f8f9fa;
}

.mv-admin-table-wrapper .table thead tr:hover .sticky-col {
    background: #f3f4f6;
}

/* Sortable headers */
.mv-sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.mv-sortable:hover {
    background: #e9ecef !important;
}

.mv-sort-icon {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.75rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.mv-sortable:hover .mv-sort-icon {
    opacity: 1;
}

.mv-sort-active .mv-sort-icon {
    opacity: 1;
    color: var(--mv-primary);
}

/* Sidebar icon toggle */
.mv-sidebar-icons-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mv-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.mv-sidebar-icons-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.mv-admin-sidebar.collapsed .mv-admin-sidebar-nav .nav-item span,
.mv-admin-sidebar.collapsed .mv-admin-sidebar-nav .nav-section,
.mv-admin-sidebar.collapsed .mv-admin-sidebar-brand div,
.mv-admin-sidebar.collapsed .mv-admin-sidebar-brand small {
    display: none;
}

.mv-admin-sidebar.collapsed .mv-admin-sidebar-brand img {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
}

.mv-admin-sidebar.collapsed .mv-admin-sidebar-nav .nav-item {
    justify-content: center;
    padding: 14px 0;
}

.mv-admin-sidebar.collapsed .mv-admin-sidebar-nav .nav-item i {
    margin: 0;
    font-size: 1.2rem;
}

.mv-admin-sidebar {
    width: 260px;
    transition: width 0.3s ease;
}

.mv-admin-sidebar.collapsed {
    width: 70px;
}

.mv-admin-main {
    margin-left: 260px;
    transition: margin-left 0.3s ease;
}

.mv-admin-sidebar.collapsed ~ .mv-admin-main {
    margin-left: 70px;
}
