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

:root {
    /* Light Theme (Default) */
    --bg-main: #f5f7fb;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent: #6c5ce7;
    --accent-hover: #5849d4;
    --accent-glow: rgba(108, 92, 231, 0.15);
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --glass-blur: blur(8px);
    --header-height: 70px;
    --sidebar-width: 260px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-main: #0b0914;
    --bg-card: #141124;
    --bg-sidebar: #100d1e;
    --border-color: rgba(255, 255, 255, 0.06);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #8e7dff;
    --accent-hover: #7b66ff;
    --accent-glow: rgba(142, 125, 255, 0.25);
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.1);
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.1);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.1);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    transition: var(--transition);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Authentication Page Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(11, 9, 20, 0.7), rgba(11, 9, 20, 0.85)), url('uploads/welcome_banner.jpg') no-repeat center center / cover;
    padding: 20px;
}

.auth-card {
    background-color: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    padding: 40px;
    width: 100%;
    max-width: 460px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.auth-logo img {
    height: 70px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 10px rgba(108, 92, 231, 0.3));
}

.auth-logo h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent), #e50914);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-logo p {
    color: var(--text-secondary);
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

[data-theme="dark"] .form-input {
    background-color: rgba(255, 255, 255, 0.02);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background-color: var(--bg-card);
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}

.alert-danger {
    background-color: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.alert-success {
    background-color: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: var(--transition);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    text-decoration: none;
}

.sidebar-logo img {
    height: 38px;
    filter: drop-shadow(0 4px 6px rgba(108, 92, 231, 0.2));
}

.sidebar-logo span {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent), #e50914);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-profile-badge {
    background-color: rgba(108, 92, 231, 0.05);
    border: 1px solid rgba(108, 92, 231, 0.15);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff7675);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.profile-role {
    font-size: 12px;
    color: var(--text-secondary);
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-item a i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.sidebar-item a:hover, .sidebar-item.active a {
    color: var(--accent);
    background-color: var(--accent-glow);
}

.sidebar-item.admin-btn a {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--warning);
    border: 1px dashed rgba(245, 158, 11, 0.3);
}

.sidebar-item.admin-btn a:hover {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.sidebar-item.logout-btn a {
    margin-top: auto;
    color: var(--danger);
}

.sidebar-item.logout-btn a:hover {
    background-color: var(--danger-bg);
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    padding: 30px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Header */
.main-header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-title h2 {
    font-size: 24px;
    font-weight: 700;
}

.header-title p {
    color: var(--text-secondary);
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Custom Select Dropdowns */
.currency-selector {
    padding: 8px 12px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.currency-selector:focus {
    border-color: var(--accent);
}

.theme-toggle-btn, .notification-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    position: relative;
}

.theme-toggle-btn:hover, .notification-btn:hover {
    background-color: var(--accent-glow);
    color: var(--accent);
    border-color: var(--accent);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.balance-card {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 8px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.balance-card i {
    font-size: 16px;
}

/* Banner Slider/Carousel */
.hero-slider {
    position: relative;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    background: linear-gradient(to top, rgba(15, 12, 30, 0.9) 0%, rgba(15, 12, 30, 0.3) 60%, transparent 100%);
    width: 100%;
    padding: 40px;
    color: white;
    text-align: left;
}

.slide-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-subtitle {
    font-size: 15px;
    color: #e2e8f0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.slide-indicator {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.indicator-dot.active {
    background-color: white;
    width: 24px;
    border-radius: 4px;
}

/* Content Pages */
.content-page {
    display: none;
    animation: fadeIn 0.4s ease;
}

.content-page.active {
    display: block;
}

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

/* Catalog Catalog Product Cards Grid */
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px -5px var(--accent-glow);
}

.badge-stock {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-stock.available {
    background-color: var(--success-bg);
    color: var(--success);
}

.badge-stock.out {
    background-color: var(--danger-bg);
    color: var(--danger);
}

.product-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
}

.product-logo i {
    font-size: 32px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Custom platform logos using beautiful inner styles */
.logo-netflix { background: linear-gradient(135deg, #e50914, #800000); }
.logo-prime { background: linear-gradient(135deg, #00a8e1, #0056b3); }
.logo-max { background: linear-gradient(135deg, #0026e6, #000840); }
.logo-disney { background: linear-gradient(135deg, #113ccf, #071740); }
.logo-apple { background: linear-gradient(135deg, #333333, #000000); }
.logo-paramount { background: linear-gradient(135deg, #0064ff, #001f66); }
.logo-spotify { background: linear-gradient(135deg, #1db954, #0f5c2a); }
.logo-youtube { background: linear-gradient(135deg, #ff0000, #990000); }
.logo-canva { background: linear-gradient(135deg, #00c4cc, #6312a0); }
.logo-vix { background: linear-gradient(135deg, #ff5a00, #b33a00); }
.logo-win { background: linear-gradient(135deg, #0f1e36, #000000); }
.logo-crunchy { background: linear-gradient(135deg, #f47521, #a34606); }
.logo-star { background: linear-gradient(135deg, #000829, #0026e6); }
.logo-iptv { background: linear-gradient(135deg, #e5a00d, #8a5e00); }
.logo-duolingo { background: linear-gradient(135deg, #58cc02, #3b8700); }
.logo-default { background: linear-gradient(135deg, var(--accent), #ff7675); }

/* Table styling for purchases and admin */
.table-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 16px 20px;
    font-size: 14px;
}

th {
    background-color: rgba(0, 0, 0, 0.02);
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] th {
    background-color: rgba(255, 255, 255, 0.01);
}

td {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

tr:last-child td {
    border-bottom: none;
}

.status-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pill.completado {
    background-color: var(--success-bg);
    color: var(--success);
}

.status-pill.pendiente {
    background-color: var(--warning-bg);
    color: var(--warning);
}

.status-pill.fallido {
    background-color: var(--danger-bg);
    color: var(--danger);
}

/* Support Form Layout */
.support-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .support-container {
        grid-template-columns: 1fr;
    }
}

.card-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-primary);
}

/* Image File Upload Styles */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-wrapper:hover {
    border-color: var(--accent);
    background-color: var(--accent-glow);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-wrapper i {
    font-size: 32px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.file-upload-text {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Balance Recharge Layout */
.recharge-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .recharge-grid {
        grid-template-columns: 1fr;
    }
}

.recharge-methods {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.recharge-method-btn {
    flex: 1;
    padding: 18px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.recharge-method-btn i {
    font-size: 22px;
}

.recharge-method-btn.active {
    border-color: var(--accent);
    background-color: var(--accent-glow);
    color: var(--accent);
}

.recharge-detail-card {
    background-color: rgba(108, 92, 231, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.recharge-instruction {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.recharge-value-display {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.recharge-qr-box img {
    max-width: 180px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: white;
    padding: 10px;
    margin: 15px 0;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
}

/* Admin Cpanel Panel Styling */
.admin-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    gap: 10px;
    overflow-x: auto;
}

.admin-tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content.active {
    display: block;
}

/* Utility classes & actions */
.text-right { text-align: right; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.margin-b-15 { margin-bottom: 15px; }
.margin-t-20 { margin-top: 20px; }

.small-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-success { background-color: var(--success); color: white; }
.btn-success:hover { background-color: #0d9488; }
.btn-danger { background-color: var(--danger); color: white; }
.btn-danger:hover { background-color: #dc2626; }
.btn-secondary { background-color: rgba(0,0,0,0.05); color: var(--text-primary); }
[data-theme="dark"] .btn-secondary { background-color: rgba(255,255,255,0.05); }

/* Notifications Modal/Dropdown styling */
.notifications-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 15px;
    display: none;
    z-index: 1000;
}

.notifications-dropdown.active {
    display: block;
}

.notification-header {
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-list {
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-item {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background-color: rgba(0,0,0,0.02);
    border-left: 3px solid var(--accent);
}

[data-theme="dark"] .notification-item {
    background-color: rgba(255,255,255,0.02);
}

.notification-item.recharge {
    border-left-color: var(--success);
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-backdrop.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
}

/* Responsive side nav triggers */
.sidebar-trigger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .sidebar {
        left: -100%;
        box-shadow: 15px 0 30px rgba(0,0,0,0.15);
    }
    .sidebar.active {
        left: 0;
    }
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    .sidebar-trigger {
        display: flex;
    }
}

/* Floating cPanel Button */
.cpanel-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #e67e22);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.cpanel-float-btn:hover {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, #f39c12, #d35400);
}

