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

:root {
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --primary: #22c55e;
    /* Electric Green */
    --secondary: #ef4444;
    /* Bright Red */
    --accent: #f472b6;
    /* Pink (kept as accent or can be changed if needed) */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --neon-glow: 0 0 20px rgba(34, 197, 94, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(239, 68, 68, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(34, 197, 94, 0.15), transparent 25%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 1000;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.5));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-nav-action {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-nav-action:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    mask-image: linear-gradient(to bottom, black, transparent);
    z-index: -1;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #fff 30%, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.highlight {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3);
}

.btn-glow {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-glow:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2) inset;
}

/* Sections */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 4rem;
    color: white;
}

.grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.4));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(34, 197, 94, 0.3);
    /* Green */
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.1), transparent 40%);
    opacity: 0;
    transition: 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    margin-bottom: 1.5rem;
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.card-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.card:hover .card-btn {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.1);
    /* Green tint */
    color: var(--primary);
}

/* Chat Widget */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    border: none;
}

.chat-widget-btn:hover {
    transform: scale(1.1);
}

.chat-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
    overflow: hidden;
}

.chat-window.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(6, 182, 212, 0.1), transparent);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.chat-info h4 {
    color: white;
    font-size: 0.9rem;
}

.chat-info span {
    color: var(--primary);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-info span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 5px var(--primary);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.message.user {
    background: var(--primary);
    color: var(--bg-dark);
    align-self: flex-end;
    font-weight: 500;
    border-bottom-right-radius: 2px;
}

/* Invoice Card Styles */
.invoice-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
    margin-top: 0.5rem;
    align-self: flex-start;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.invoice-header strong {
    color: var(--primary);
    font-size: 0.95rem;
}

.status-badge {
    background: rgba(244, 114, 182, 0.2);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.invoice-details p {
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.invoice-details span {
    color: var(--text-muted);
}

.invoice-pay-btn {
    display: block;
    width: 100%;
    background: var(--primary);
    color: var(--bg-dark);
    text-align: center;
    padding: 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.invoice-pay-btn:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send {
    background: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.chat-send:hover {
    background: var(--secondary);
}

footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    text-align: center;
    color: var(--text-muted);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Network Status Card */
.status-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0;
    margin-top: 0.5rem;
    align-self: flex-start;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
    /* Fix for invisible card */
    height: auto;
    flex-shrink: 0;
}

.status-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-top: 3px solid #ccc;
    /* fallback */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.status-body {
    padding: 1.2rem;
}

.status-body p {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.status-body strong {
    color: var(--text-main);
}

.status-advice {
    margin-top: 1rem !important;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem;
    border-radius: 6px;
    border-left: 2px solid var(--primary);
    line-height: 1.4;
    color: var(--text-main) !important;
}

/* Copy Field Styling */
.copy-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.copy-field p {
    margin-bottom: 0 !important;
}

.copy-btn {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #555 !important;
    color: #fff !important;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.2s;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-detail-item:last-child {
    border-bottom: none;
}

.modal-detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.modal-detail-value {
    color: var(--text-main);
    font-weight: 700;
    text-align: right;
}

/* =========================================================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   ========================================================================= */

/* =========================================================================
   MOBILE RESPONSIVE OPTIMIZATIONS (Hamburger Menu)
   ========================================================================= */

/* Hamburger Button (Hidden by default on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 1rem;
        border-radius: 15px;
        top: 10px;
        flex-wrap: wrap;
        /* Allow wrapping */
    }

    .menu-toggle {
        display: flex;
        /* Show hamburger on mobile */
    }

    .nav-links {
        display: none;
        /* Hide links by default */
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
        background: rgba(15, 23, 42, 0.95);
        padding: 1rem;
        border-radius: 12px;
        border: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
        animation: slideDown 0.3s ease-out;
    }

    .nav-links a {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Hamburger Animation when active */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .nav-links a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    /* Hero Text */
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero {
        padding: 140px 20px 40px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-primary,
    .btn-glow {
        width: 100%;
        padding: 1rem;
    }

    /* Cards & Grid */
    .grid {
        padding: 0 1rem;
        gap: 1.5rem;
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    .card {
        padding: 1.5rem;
    }

    /* Chat Widget - Full Screen Experience */
    .chat-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        border: none;
        transform: translateY(100%);
        box-shadow: none;
    }

    .chat-window.active {
        transform: translateY(0);
    }

    .chat-header {
        padding: 1rem;
        padding-top: max(1.5rem, env(safe-area-inset-top));
        /* Notch support */
        background: rgba(15, 23, 42, 0.98);
        /* Less transparent for readability */
    }

    .chat-widget-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .chat-input-area {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        /* Home indicator support */
        background: rgba(15, 23, 42, 0.98);
    }

    /* Modals - Better Mobile Fit */
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        transform: scale(1);
    }

    .close-modal {
        top: 2rem;
        right: 2rem;
        font-size: 2.5rem;
        padding: 10px;
    }

    /* Interactive Elements - Touch Targets */
    .btn-nav-action,
    .card-btn,
    .invoice-pay-btn {
        min-height: 48px;
    }
}

/* Network Status Grid */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.node-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.node-card.online {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1) inset;
}

.node-card.offline {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1) inset;
}

.node-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.node-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.node-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.node-badge.online {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.node-badge.offline {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Registration Form Specific Styles */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.step.active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    width: 1rem;
    height: 1px;
    background: var(--glass-border);
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.05);
}

.form-group input::placeholder {
    color: #4b5563;
}

/* Chrome/Safari number input arrows removal */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Firefox number input arrows removal */
input[type=number] {
    -moz-appearance: textfield;
}

/* =========================================================================
   QUICK MENU (Centro de Comandos) STYLES
   ========================================================================= */

.glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(34, 197, 94, 0.1);
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop Default */
    gap: 1.5rem;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .quick-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Mobile: 2 Columns */
        gap: 1rem;
    }

    .quick-card {
        padding: 1.5rem 0.5rem;
        /* Less padding on sides */
    }

    .quick-card h3 {
        font-size: 0.9rem;
        /* Smaller text */
    }
}

.quick-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    user-select: none;
}

.quick-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(34, 197, 94, 0.3);
}

.quick-card:active {
    transform: scale(0.98);
}

.quick-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s;
}

.quick-card:hover .quick-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-card h3 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.quick-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Specific Card Hovers (Optional specific colors) */
#btnQuickPay:hover .quick-icon {
    filter: drop-shadow(0 0 15px #009ee3);
}

#btnQuickTicket:hover .quick-icon {
    filter: drop-shadow(0 0 15px #f472b6);
}

#btnQuickStatus:hover .quick-icon {
    filter: drop-shadow(0 0 15px #22c55e);
}


/* Chat Close Button Styles */
.chat-header {
    background: var(--glass-bg);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    margin-left: auto;
    padding: 0 0.5rem;
}

.close-chat:hover {
    color: #ef4444;
}