    /* Aqtiverse Technology

Template Name: Aqtiverse
Version: 1.0.0
License: copyright commercial
*/
    
    @import url("https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css");
     :root {
        --primary: #4f46e5;
        --primary-light: #818cf8;
        --secondary: #1e16a1;
        --success: #26c551;
        --danger: #d33434;
        --warning: #e7ad02;
        --info: #00bbdb;
        --muted: #64748b;
        --text: #0f172a;
        --gradiant-bg: linear-gradient(135deg, var(--primary), var(--primary-light));
        --white: #fff;
        --offwhite: #f8fbff;
        --dark: #000;
        --shadow: rgba(79, 70, 229, 0.1);
        --bg-light: #f8f9fc;
        --text-dark: #2e384d;
        --radius: 16px;
    }
    
     ::-moz-selection {
        background: var(--primary);
        color: var(--white);
        text-shadow: none;
    }
    
     ::selection {
        background: var(--primary);
        color: var(--white);
        text-shadow: none;
    }
    
     ::-moz-selection {
        background: var(--primary);
        /* Firefox */
        color: var(--white);
        text-shadow: none;
    }
    
     ::-webkit-selection {
        background: var(--primary);
        /* Safari */
        color: var(--white);
        text-shadow: none;
    }
    
    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: var(--bg-light);
        margin: 0;
        color: var(--text-dark);
        height: 100dvh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    /* Layout Controls */
    
    header,
    footer {
        display: none;
    }
    
    header.active,
    footer.active {
        display: flex;
    }
    
    header {
        height: 60px;
        background: #fff;
        display: none;
        align-items: center;
        padding: 0 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        width: 100%;
        z-index: 100;
        box-sizing: border-box;
    }
    
    header.active {
        display: flex;
        justify-content: space-between;
    }
    
    footer {
        height: 70px;
        background: #fff;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid #eee;
        z-index: 100;
    }
    
    footer button {
        width: 100%;
        height: 100%;
        background: none;
        border: none;
        font-size: 24px;
        color: #aaa;
        cursor: pointer;
        padding-bottom: 0px;
        border-radius: 0;
        transition: 0.3s;
    }
    
    footer button.active {
        color: #fff;
        border-radius: 0 0 50% 50%;
        background: var(--primary);
        padding-bottom: 8px;
    }
    /* Screens */
    
    main {
        overflow-y: auto;
        flex: 1;
    }
    
    .tabscreen {
        display: none;
        padding: 20px;
        /* min-height: 100vh; */
        box-sizing: border-box;
    }
    
    .tabscreen.active {
        display: flex;
        flex-direction: column;
    }
    /* Auth Styles */
    
    .logcard {
        background: white;
        padding: 30px;
        border-radius: var(--radius);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        max-width: 400px;
        margin: auto;
    }
    
    .fld {
        width: 100%;
        padding: 12px;
        margin-top: 8px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    .btn-primary {
        background: var(--primary);
        color: white;
        border: none;
        padding: 15px;
        border-radius: 8px;
        font-weight: 600;
        width: 100%;
        margin-top: 20px;
        cursor: pointer;
    }
    
    .auth-toggle {
        text-align: center;
        margin-top: 15px;
        font-size: 14px;
    }
    
    .auth-toggle span {
        color: var(--primary);
        font-weight: 600;
        cursor: pointer;
    }
    
    .flex1 {
        text-align: center;
        padding: 20px;
    }
    
    .flex1 img {
        max-width: 200px;
        height: auto;
    }
    /* Add these to your style.css */
    
    .course-list {
        margin-top: 10px;
    }
    
    .cat-box {
        transition: transform 0.2s;
        cursor: pointer;
    }
    
    .cat-box:active {
        transform: scale(0.95);
        background: var(--offwhite) !important;
    }
    
    h3,
    h4,
    h5 {
        color: var(--text-dark);
        font-weight: 700;
    }
    /* Ensure main content doesn't get hidden behind footer */
    /* Category Pills */
    
    .cat-pill {
        background: #fff;
        border: 1px solid #eee;
        padding: 8px 5px;
        border-radius: 8px;
        text-align: center;
        font-size: 13px;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .cat-pill.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
    /* Course Card (Grid Style) */
    
    .course-card {
        background: #fff;
        padding: 12px;
        border-radius: 15px;
        box-shadow: 0 4px 15px var(--shadow);
        margin-bottom: 15px;
        cursor: pointer;
    }
    /* Animation for switching screens */
    
    .tabscreen.active {
        display: flex;
        animation: fadeIn 0.4s ease-out;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* Wallet Buttons */
    
    .wallet-btn {
        flex: 1;
        background: white;
        color: var(--primary);
        border: none;
        padding: 10px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    /* Quick Amount Chips */
    
    .amount-chip {
        background: #fff;
        border: 1px solid #ddd;
        padding: 12px;
        text-align: center;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: 0.2s;
    }
    
    .amount-chip.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }
    
    .amount-chip:active {
        transform: scale(0.95);
    }
    /* Typography fix for History */
    
    h6 {
        color: var(--text-dark);
    }
    /* Modal Styles */
    
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        /* Hidden by default */
        align-items: flex-end;
        /* Mobile style: slide from bottom */
        z-index: 1000;
    }
    
    .modal-overlay.active {
        display: flex;
    }
    
    .modal-card {
        background: #fff;
        width: 100%;
        padding: 30px;
        border-radius: 25px 25px 0 0;
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    /* Payment Methods */
    
    .payment-methods {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    
    .method-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 12px;
        border: 1px solid #eee;
        border-radius: 12px;
        cursor: pointer;
    }
    
    .method-item.active {
        border-color: var(--primary);
        background: var(--shadow);
    }
    
    .method-item span {
        font-size: 14px;
        font-weight: 600;
    }
    
    .account-link {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
    }
    
    .back-link {
        background: none;
        border: none;
        color: var(--primary);
        font-weight: 600;
        margin-bottom: 25px;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .history-item {
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        border: 1px solid #eee;
    }
    
    .setting-row {
        padding: 15px;
        background: #fff;
        margin-bottom: 10px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .empty-state {
        text-align: center;
        padding: 50px 20px;
        color: var(--muted);
    }
    
    .cert-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .cert-card {
        background: #fff;
        border-radius: 16px;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 15px;
        border: 1px solid #eee;
        box-shadow: 0 4px 6px var(--shadow);
    }
    
    .cert-preview {
        width: 60px;
        height: 60px;
        background: #eef2ff;
        color: var(--primary);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
    }
    
    .cert-info {
        flex: 1;
    }
    
    .cert-info h6 {
        margin: 0 0 4px 0;
        font-size: 14px;
    }
    
    .cert-info p {
        margin: 0;
        font-size: 12px;
        color: var(--muted);
    }
    
    .download-btn {
        margin-top: 10px;
        background: var(--bg-light);
        border: 1px solid #ddd;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: 0.2s;
    }
    
    .download-btn:active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }
    /* Horizontal Scroll for Categories */
    
    .scroll-x {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }
    
    .scroll-x::-webkit-scrollbar {
        display: none;
    }
    /* Hide scrollbar Chrome/Safari */
    
    .cat-item {
        min-width: 80px;
        background: #fff;
        padding: 15px 10px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 10px var(--shadow);
    }
    
    .cat-item i {
        font-size: 24px;
        color: var(--primary);
    }
    
    .cat-item span {
        font-size: 12px;
        font-weight: 600;
    }
    /* Course Row Card */
    
    .course-row-card {
        background: #fff;
        padding: 12px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        margin-bottom: 12px;
        box-shadow: 0 4px 6px var(--shadow);
        gap: 15px;
    }
    
    .course-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }
    
    .price-tag {
        font-weight: 700;
        color: var(--primary);
        font-size: 14px;
    }
    /* Free Course Grid */
    
    .free-card {
        background: #fff;
        padding: 12px;
        border-radius: 16px;
        box-shadow: 0 4px 10px var(--shadow);
    }
    
    .free-thumb {
        width: 100%;
        height: 80px;
        border-radius: 10px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
    }
    
    .free-card h6 {
        margin: 0;
        font-size: 13px;
    }
    
    .free-card p {
        margin: 0;
        font-size: 11px;
        color: var(--muted);
    }