/* ==========================================================================
   Base Styles: Dark Theme, Header, Navbars, Categories, and Mobile Navigation
   ========================================================================== */

body.dark-theme {
            background-color: #121212;
            color: #e0e0e0;
            /* General text color for dark theme */
        }

        /* Custom Header Styles */
        .sticky-top {
            z-index: 1030;
            /* Ensure navbar and its dropdowns are above other content on scroll */
        }

        .navbar.bg-dark {
            background-color: rgba(26, 26, 26, 0.75) !important;
            backdrop-filter: blur(10px);
            border-top: 1px solid #333;
            border-bottom: none;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
        }

        .navbar.bg-dark:hover {
            background-color: #1a1a1a !important;
        }

        .navbar-nav .nav-link,
        .d-flex .nav-link {
            color: #888 !important;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 1rem !important;
            transition: all 0.2s ease;
            font-size: 0.8rem;
            text-align: center;
        }

        .navbar-nav .nav-link i,
        .d-flex .nav-link i {
            font-size: 1.4rem;
            margin-bottom: 4px;
            display: block !important;
        }

        .navbar-nav .nav-link .nav-link-text,
        .d-flex .nav-link .nav-link-text {
            display: block !important;
        }

        .navbar-nav .nav-link:hover,
        .d-flex .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #f39c12 !important;
            background-color: transparent !important;
        }

        /* Vertical List Style (Used for Categories and Collapsible Menus) */
        .vertical-list-container {
            background-color: #1a1a1a;
            border-radius: 12px;
            overflow: hidden;
            margin: 20px auto;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: 1px solid #333;
            max-width: 600px;
            /* Limit width on desktop to look like mobile app */
        }

        .vertical-list-item {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #333;
            text-decoration: none;
            color: #e0e0e0;
            transition: background-color 0.2s;
        }

        .vertical-list-item:last-child {
            border-bottom: none;
        }

        .vertical-list-item:hover,
        .vertical-list-item:active {
            background-color: #2a2a2a;
            color: #f39c12;
        }

        .vertical-list-icon {
            width: 32px;
            height: 32px;
            margin-right: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #f39c12;
            font-size: 1.4rem;
        }

        .vertical-list-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .vertical-list-name {
            flex-grow: 1;
            font-weight: 500;
            font-size: 1rem;
            color: #e0e0e0;
        }

        .vertical-list-item:hover .vertical-list-name {
            color: #f39c12;
        }

        .vertical-list-chevron {
            color: #555;
            font-size: 0.8rem;
        }

        /* Grid List Style (Responsive Columns) */
        .grid-list-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            margin: 15px auto;
            max-width: 100%;
        }

        @media (min-width: 576px) {
            .grid-list-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
        }

        @media (min-width: 992px) {
            .grid-list-container {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
        }

        @media (min-width: 1200px) {
            .grid-list-container {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (min-width: 1600px) {
            .grid-list-container {
                grid-template-columns: repeat(5, 1fr);
            }
        }

        .grid-list-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background-color: #1a1a1a;
            border-radius: 15px;
            text-decoration: none;
            color: #e0e0e0;
            transition: all 0.3s ease;
            border: 1px solid #333;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .grid-list-item:hover {
            background-color: #2a2a2a;
            color: #f39c12;
            border-color: #f39c12;
            transform: translateY(-2px);
        }

        .grid-list-icon {
            width: 50px;
            height: 50px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #f39c12;
            font-size: 1.6rem;
            flex-shrink: 0;
            background-color: #222;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        @media (min-width: 992px) {
            .grid-list-icon {
                width: 80px;
                height: 80px;
                margin-right: 20px;
                font-size: 2.5rem;
            }
        }

        .grid-list-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .grid-list-name {
            font-weight: 600;
            font-size: 1.1rem;
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        /* Collapsible Menu Styles */
        .collapse-menu-container {
            background-color: #121212;
            padding: 10px 0;
        }

        @media (max-width: 991.98px) {
            .navbar {
                display: none !important;
                /* Hide top navbar on mobile as we have bottom nav */
            }

            body {
                padding-bottom: 80px;
                /* Space for bottom nav */
                background-color: #121212 !important;
            }

            .dark-theme {
                background-color: #121212 !important;
                color: #e0e0e0 !important;
            }

            main.container-fluid {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }

            .vertical-list-container {
                margin: 10px;
                max-width: none;
            }

            /* Bottom Sheet for Mobile */
            #navCollapseParent {
                position: fixed;
                bottom: 65px; /* Height of mobile nav */
                left: 0;
                right: 0;
                z-index: 1040;
            }

            .collapse-menu-container {
                max-height: 80vh;
                overflow-y: auto;
                background-color: #1a1a1a;
                border-top: 1px solid #333;
                border-top-left-radius: 20px;
                border-top-right-radius: 20px;
                box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.7);
                /* Ensure it looks like a card coming up */
            }
        }

        /* Mobile Bottom Navigation */
        .mobile-bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 65px;
            background-color: #1a1a1a;
            display: flex;
            justify-content: space-around;
            align-items: center;
            box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.5);
            z-index: 1050;
            border-top: 1px solid #333;
        }

        .mobile-bottom-nav .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #888;
            font-size: 0.75rem;
            flex: 1;
            padding: 8px 0;
            position: relative;
            transition: color 0.2s ease;
        }

        .mobile-bottom-nav .nav-item i {
            font-size: 1.4rem;
            margin-bottom: 4px;
        }

        .mobile-bottom-nav .nav-item.active {
            color: #f39c12;
            /* Orange color from screenshot */
        }

        .mobile-bottom-nav .cart-badge {
            position: absolute;
            top: 5px;
            right: 25%;
            font-size: 0.65rem;
            padding: 2px 6px;
            border-radius: 10px;
            background-color: #f39c12 !important;
            color: white !important;
            border: 2px solid #1a1a1a;
        }

/* Desktop Bottom Nav Styles */
        @media (min-width: 992px) {
            body {
                padding-bottom: 80px;
                /* Space for fixed bottom navbar */
            }

            /* Position the collapse menus to open up from the bottom */
            #navCollapseParent {
                position: fixed;
                bottom: 70px;
                /* Height of navbar + slight spacing */
                left: 0;
                right: 0;
                z-index: 1020;
            }

            /* Style the collapse container for bottom-up appearance */
            .collapse-menu-container {
                max-height: 80vh;
                overflow-y: auto;
                background: rgba(20, 20, 20, 0.95);
                backdrop-filter: blur(15px);
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                border-top-left-radius: 20px;
                border-top-right-radius: 20px;
                box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
            }
        }

        /* Bento Tile Category & Action Grid */
        .cat-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 4px;
            padding: 2px 0;
        }

        @media (min-width: 576px) and (max-width: 991px) {
            .cat-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 6px;
                padding: 4px 2px;
            }
        }

        @media (min-width: 992px) {
            .cat-grid {
                grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
                gap: 8px;
                padding: 4px 6px;
                max-width: 100%;
            }
        }

        .cat-tile {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            height: 76px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
            text-decoration: none;
            background: #232323;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 6px 4px;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }

        @media (min-width: 992px) {
            .cat-tile {
                height: 92px;
                border-radius: 14px;
                padding: 8px 6px;
            }
        }

        .cat-tile:hover {
            border-color: #f39c12;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(243, 156, 18, 0.3);
        }

        .cat-tile-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            z-index: 1;
        }

        .cat-tile:hover .cat-tile-bg {
            transform: scale(1.08);
        }

        .cat-tile-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%);
            z-index: 2;
            transition: background 0.2s ease;
        }

        .cat-tile:hover .cat-tile-overlay {
            background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
        }

        .cat-tile-fallback-icon {
            position: absolute;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.25);
            z-index: 1;
        }

        .cat-tile-title {
            position: relative;
            z-index: 3;
            font-size: 0.68rem;
            font-weight: 700;
            color: #ffffff;
            text-align: center;
            line-height: 1.15;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.85);
            max-width: 100%;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            width: 100%;
            transition: color 0.2s;
        }

        @media (min-width: 992px) {
            .cat-tile-title {
                font-size: 0.78rem;
                line-height: 1.2;
            }
        }

        .cat-tile:hover .cat-tile-title {
            color: #f39c12;
        }

        /* Action Tiles (Admin, Contacts) */
        .cat-tile-action {
            justify-content: center;
            gap: 4px;
            background: rgba(255, 255, 255, 0.05);
        }

        .cat-tile-icon {
            font-size: 1.3rem;
            color: #f39c12;
            transition: transform 0.2s ease, color 0.2s ease;
            position: relative;
            z-index: 3;
            line-height: 1;
        }

        @media (min-width: 992px) {
            .cat-tile-icon {
                font-size: 1.55rem;
                margin-bottom: 2px;
            }
        }

        .cat-tile:hover .cat-tile-icon {
            transform: scale(1.15);
        }

/* ==========================================================================
   Instant Live Search Styles
   ========================================================================== */
.live-search-results-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    z-index: 1050;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.live-search-item {
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.live-search-item:hover {
    background: rgba(243, 156, 18, 0.12);
    border-color: rgba(243, 156, 18, 0.3);
    transform: translateX(4px);
}

.live-search-items-list::-webkit-scrollbar {
    width: 6px;
}

.live-search-items-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.live-search-items-list::-webkit-scrollbar-thumb {
    background: rgba(243, 156, 18, 0.5);
    border-radius: 3px;
}

/* ==========================================================================
   Alpine.js Bottom Sheets (Drawers)
   ========================================================================== */
[x-cloak] {
    display: none !important;
}

.panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1055;
}

.bottom-sheet-panel {
    position: fixed;
    bottom: 65px;
    left: 0;
    right: 0;
    z-index: 1060;
    background: #181818;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.85);
    max-height: calc(82vh - 65px);
    overflow-y: auto;
    padding: 0.5rem 0.4rem 0.8rem;
}

@media (min-width: 992px) {
    .bottom-sheet-panel {
        max-width: 840px;
        margin: 0 auto;
        left: 0;
        right: 0;
        bottom: 65px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 18px;
        max-height: calc(78vh - 65px);
        padding: 0.85rem 1.1rem 1.1rem;
    }
}

.sheet-drag-handle {
    width: 38px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    margin: 0 auto 0.45rem auto;
}

@media (min-width: 992px) {
    .sheet-drag-handle {
        display: none;
    }
}

.sheet-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close-sheet {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-sheet:hover {
    background: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    transform: scale(1.1);
}

.sheet-search-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.sheet-search-input:focus {
    border-color: #f39c12;
    background: rgba(255, 255, 255, 0.1);
}

.sheet-search-input::placeholder {
    color: #888;
}

/* Quick Order Modal - Luxury Bento Glassmorphism */
.quick-order-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 10, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.quick-order-dialog {
    background: linear-gradient(170deg, #1f1f2a 0%, #13131b 100%);
    border: 1px solid rgba(243, 156, 18, 0.35);
    border-radius: 26px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.92), 0 0 35px rgba(243, 156, 18, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 460px;
    padding: 1.75rem;
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
    color: #e5e7eb;
}

.quick-order-dialog::-webkit-scrollbar {
    width: 5px;
}
.quick-order-dialog::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

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

.qo-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(230, 126, 34, 0.22));
    border: 1px solid rgba(243, 156, 18, 0.5);
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    color: #f39c12;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.15);
}

.qo-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.qo-close-btn:hover {
    background: rgba(243, 156, 18, 0.2);
    border-color: rgba(243, 156, 18, 0.5);
    color: #f39c12;
    transform: rotate(90deg) scale(1.05);
}

.qo-product-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.qo-product-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.75rem;
}

.qo-product-img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.qo-product-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qo-product-unit-price {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.2rem;
}

.qo-stepper-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qo-stepper {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    padding: 2px 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.qo-stepper-btn {
    background: transparent;
    border: none;
    color: #f39c12;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.qo-stepper-btn:hover:not(:disabled) {
    background: rgba(243, 156, 18, 0.25);
    transform: scale(1.1);
}

.qo-stepper-btn:active:not(:disabled) {
    transform: scale(0.9);
}

.qo-stepper-btn:disabled {
    color: #555;
    cursor: not-allowed;
}

.qo-stepper-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    width: 44px;
    text-align: center;
    padding: 0;
    -moz-appearance: textfield;
}

.qo-stepper-input::-webkit-outer-spin-button,
.qo-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qo-stepper-input:focus {
    outline: none;
}

.qo-total-block {
    text-align: right;
}

.qo-total-label {
    font-size: 0.72rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qo-total-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f39c12;
    text-shadow: 0 0 16px rgba(243, 156, 18, 0.4);
}

.qo-form-group {
    margin-bottom: 1rem;
}

.qo-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 0.35rem;
    display: block;
}

.qo-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.qo-input-icon {
    position: absolute;
    left: 1rem;
    color: #f39c12;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
}

.qo-input {
    width: 100%;
    background: rgba(12, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.75rem 1rem 0.75rem 2.65rem;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.qo-input:focus {
    outline: none;
    background: rgba(16, 16, 24, 0.95);
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.22), 0 0 15px rgba(243, 156, 18, 0.2);
}

.qo-input::placeholder {
    color: #6b7280;
}

.qo-textarea {
    width: 100%;
    background: rgba(12, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    resize: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.qo-textarea:focus {
    outline: none;
    background: rgba(16, 16, 24, 0.95);
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.22), 0 0 15px rgba(243, 156, 18, 0.2);
}

.qo-textarea::placeholder {
    color: #6b7280;
}

.qo-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border: none;
    border-radius: 25px;
    padding: 0.9rem 1.5rem;
    color: #121216;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.45);
    margin-top: 0.5rem;
}

.qo-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(243, 156, 18, 0.65);
    filter: brightness(1.08);
}

.qo-submit-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.qo-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.qo-success-card {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.qo-success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.3));
    border: 2px solid rgba(46, 204, 113, 0.7);
    color: #2ecc71;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.3);
}

.qo-success-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.qo-success-hint {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem;
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 1.25rem 0 1.5rem;
}


