@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('auth.css');

/* ==========================================================================
   RESET & BASE STYLES & THEMING SYSTEM
   ========================================================================== */
:root {
    /* Terracotta & Emerald Green Theme (Light Mode) */
    --primary-teal: #e65c00; /* Terracotta Orange */
    --primary-teal-dark: #b33600;
    --accent-orange: #1b4d3e; /* Forest Emerald Green */
    --accent-orange-dark: #123329;
    --accent-terracotta: #e65c00;
    --bg-light: #f5f8f6; /* Soft Herb Background */
    --card-bg: #ffffff;
    --text-dark: #1a252c;
    --text-muted: #5e6d75;
    --shadow-floating: 0 16px 40px rgba(27, 77, 62, 0.08);
    --shadow-card: 0 8px 24px rgba(27, 77, 62, 0.04);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-pill: 50px;
    --border-color: rgba(0, 0, 0, 0.08);
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --toast-bg: #1a252c;
    --toast-color: #ffffff;
    --accent-gold: #f39c12;
}

:root[data-theme="dark"] {
    /* Terracotta & Emerald Green Theme (Dark Mode) */
    --primary-teal: #ff751a; /* Lighter Terracotta for high contrast */
    --primary-teal-dark: #e65c00;
    --accent-orange: #2bb38e; /* Lighter Emerald Green for contrast */
    --accent-orange-dark: #1b4d3e;
    --accent-terracotta: #ff751a;
    --bg-light: #0d1215; /* Rich Dark Slate */
    --card-bg: #161c20; /* Darker Slate Card Surface */
    --text-dark: #ecf0f2;
    --text-muted: #8ca0ab;
    --shadow-floating: 0 16px 40px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.25);
    --border-color: rgba(255, 255, 255, 0.1);
    --navbar-bg: rgba(13, 18, 21, 0.85);
    --toast-bg: #ecf0f2;
    --toast-color: #0d1215;
    --accent-gold: #f5b041;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Smooth Modern Custom Scrollbars */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: rgba(140, 150, 160, 0.35);
    border-radius: 10px;
    border: 2px solid var(--bg-light);
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal);
}

:root[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
}

:root[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal);
}

html {
    scroll-behavior: smooth;
    background-color: var(--card-bg);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Targeted Smooth Transitions for Interactive Elements */
a, button, input, select, textarea, .nav-link, .btn, .card, .umkm-card, .footer-social-btn, .theme-toggle-btn {
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Touch/Click Press Physics */
button:active, .btn:active, .nav-link:active, .footer-social-btn:active, .theme-toggle-btn:active {
    transform: scale(0.96) !important;
}

/* Smooth Theme Switching Fade */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Hardware Acceleration Class */
.smooth-gpu {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Smooth Scroll Reveal Animations */
.smooth-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.smooth-reveal.smooth-reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.smooth-reveal-delay-1 { transition-delay: 0.08s; }
.smooth-reveal-delay-2 { transition-delay: 0.16s; }
.smooth-reveal-delay-3 { transition-delay: 0.24s; }
.smooth-reveal-delay-4 { transition-delay: 0.32s; }

/* Smooth Back To Top Floating Button */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(230, 92, 0, 0.35);
    z-index: 990;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 28px rgba(230, 92, 0, 0.5);
}

/* Image Fade In */
img.img-loading {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img.img-loaded {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ==========================================================================
   NAVIGATION BAR STYLES
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
}

.navbar-logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.navbar-logo .logo-accent {
    color: var(--accent-orange);
}

.navbar-logo:hover {
    transform: scale(1.02);
}

.navbar-kkn-logo {
    height: 48px;
    max-height: 52px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
    transition: all 0.25s ease;
}

.navbar-logo:hover .navbar-kkn-logo {
    transform: scale(1.04);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-teal);
    background: rgba(230, 92, 0, 0.08);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    box-shadow: 0 4px 12px rgba(230, 92, 0, 0.25);
}

/* Dark Mode Switcher Button */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 38px;
    height: 38px;
    outline: none;
}

.theme-toggle-btn:hover {
    background: rgba(230, 92, 0, 0.08);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: scale(1.08);
}

.theme-toggle-btn svg {
    transition: transform 0.5s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(20deg);
}

.theme-toggle-btn .sun-icon {
    display: block;
}

.theme-toggle-btn .moon-icon {
    display: none;
}

:root[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: none;
}

:root[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: block;
}

/* Mobile Toggle Button */
.navbar-toggle-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    width: 42px;
    height: 42px;
}

.navbar-toggle-btn:hover {
    background: rgba(230, 92, 0, 0.08);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

@media (max-width: 768px) {
    .navbar-container {
        position: relative;
        padding: 12px 18px;
        justify-content: space-between;
    }
    
    .navbar-toggle-btn {
        display: flex;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--card-bg);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-floating);
        gap: 12px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
        z-index: 999;
    }

    .navbar-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-link, .btn-logout, .btn-login-trigger {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 18px;
        font-size: 1rem;
    }

    .navbar-role-badge {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .theme-toggle-btn {
        margin: 6px auto 0 auto;
    }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--card-bg);
    color: var(--text-muted);
    text-align: center;
    padding: 24px;
    margin-top: auto;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   SHARED UI COMPONENTS
   ========================================================================== */
/* Badges Kategori Berwarna Dinamis */
[class^="badge-"] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.badge-kuliner { background-color: rgba(230, 92, 0, 0.1); color: var(--primary-teal); }
.badge-kerajinan { background-color: rgba(27, 77, 62, 0.1); color: var(--accent-orange); }
.badge-jasa { background-color: rgba(66, 133, 244, 0.1); color: #3b82f6; }

:root[data-theme="dark"] .badge-kuliner { background-color: rgba(255, 117, 26, 0.15); color: #ff8533; }
:root[data-theme="dark"] .badge-kerajinan { background-color: rgba(43, 179, 142, 0.15); color: #4cdbb4; }
:root[data-theme="dark"] .badge-jasa { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; }

/* Tombol WhatsApp */
.btn-whatsapp {
    display: block;
    text-align: center;
    background-color: #25d366;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* Tombol Kembali */
.btn-kembali {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-kembali:hover {
    color: var(--accent-orange);
    transform: translateX(-4px);
}

/* State Status Data */
.loading-text, .empty-text {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   GLOBAL PAGE HEADER (containerHeader)
   ========================================================================== */
.containerHeader {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(230, 92, 0, 0.05) 0%, rgba(27, 77, 62, 0.05) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.containerHeader h1 {
    color: var(--text-dark);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.containerHeader p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .containerHeader h1 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   RICH MODERN FOOTER STYLES & STICKY POSITIONING
   ========================================================================== */
footer {
    margin-top: auto;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 36px 0 16px 0;
    color: var(--text-dark);
    position: relative;
    z-index: 10;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    margin-bottom: 24px;
}

.footer-logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    transition: transform 0.2s ease;
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-brand .footer-logo {
    margin-bottom: 14px;
}

.footer-kkn-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    transition: all 0.25s ease;
}

.footer-logo:hover .footer-kkn-logo {
    transform: scale(1.06);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.footer-logo .logo-accent,
.footer-brand .footer-logo .logo-accent {
    color: var(--accent-orange);
}

.footer-brand p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 340px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    background: var(--primary-teal);
    color: #ffffff;
    border-color: var(--primary-teal);
    box-shadow: 0 6px 16px rgba(27, 77, 62, 0.3);
}

.footer-column h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, var(--primary-teal) 100%);
    margin-top: 8px;
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-contact-item span:first-child {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 0 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.footer-bottom p {
    margin: 0;
    padding: 0;
}

.footer-bottom .credit-text {
    font-size: 0.85rem;
    color: var(--accent-orange);
    font-weight: 700;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ==========================================================================
   WIDGET ASISTEN MASKOT DIGITAL SI JAYA 🌾🤖
   ========================================================================== */
.mascot-floating-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 50%, #e65c00 100%);
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4), 0 4px 12px rgba(230, 92, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.mascot-floating-btn:hover {
    transform: scale(1.12) rotate(4deg);
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.5), 0 6px 20px rgba(230, 92, 0, 0.4);
}

.mascot-avatar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mascot-icon-emoji {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.mascot-online-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #22c55e;
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mascot-speech-bubble {
    position: fixed;
    bottom: 102px;
    right: 28px;
    background: var(--card-bg, #ffffff);
    color: var(--text-dark, #0f172a);
    padding: 12px 18px;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.15), 0 0 0 1px rgba(45,212,191,0.2);
    z-index: 9998;
    max-width: 240px;
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.88rem;
    line-height: 1.4;
}

.mascot-speech-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mascot-speech-bubble small {
    display: block;
    color: var(--accent-orange, #e65c00);
    font-weight: 700;
    margin-top: 4px;
    font-size: 0.78rem;
}

/* Modal Asisten Si Jaya */
.mascot-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mascot-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mascot-modal-card {
    width: 100%;
    max-width: 400px;
    height: 520px;
    background: var(--card-bg, #ffffff);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(45,212,191,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-modal-overlay.active .mascot-modal-card {
    transform: translateY(0) scale(1);
}

.mascot-modal-header {
    background: linear-gradient(135deg, #1c2732 0%, #0d9488 100%);
    color: white;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mascot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mascot-avatar-lg {
    font-size: 2.2rem;
    background: rgba(255,255,255,0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(45,212,191,0.5);
}

.mascot-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.mascot-tag {
    font-size: 0.7rem;
    background: var(--accent-orange, #e65c00);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.mascot-status {
    font-size: 0.78rem;
    color: #2dd4bf;
    margin: 2px 0 0 0;
    font-weight: 600;
}

.mascot-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mascot-close-btn:hover {
    background: rgba(230, 92, 0, 0.8);
}

.mascot-modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--bg-light, #f8fafc);
}

.mascot-dialog-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mascot-msg {
    max-width: 88%;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mascot-msg.bot p {
    background: var(--card-bg, #ffffff);
    color: var(--text-dark, #0f172a);
    padding: 14px 16px;
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(45,212,191,0.2);
    margin: 0;
}

.mascot-quick-chips {
    padding: 14px 16px;
    background: var(--card-bg, #ffffff);
    border-top: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.mascot-quick-chips::-webkit-scrollbar {
    display: none;
}

.chip-btn {
    white-space: nowrap;
    background: rgba(45,212,191,0.1);
    color: var(--text-dark, #0f172a);
    border: 1px solid rgba(45,212,191,0.3);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip-btn:hover {
    background: var(--accent-orange, #e65c00);
    color: white;
    border-color: var(--accent-orange, #e65c00);
    transform: translateY(-2px);
}

@media (max-width: 550px) {
    .mascot-modal-overlay {
        padding: 0;
    }
    .mascot-modal-card {
        max-width: 100%;
        height: 80vh;
        border-radius: 28px 28px 0 0;
    }
}


