/* ============================================
   LUXURY SOFTWARE PANEL - MAIN STYLES
   Premium Dark Theme with Gold Accents
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #c9a962;
    --primary-light: #e8d5a3;
    --primary-dark: #a0844a;
    --secondary-color: #1a1a2e;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-sidebar: #16162a;
    --bg-hover: #252545;
    --text-primary: #e8e8f0;
    --text-secondary: #8b8ba3;
    --text-muted: #5a5a7a;
    --success: #28c76f;
    --danger: #ea5455;
    --warning: #ff9f43;
    --info: #00cfe8;
    --border-color: #2a2a4a;
    --gradient-gold: linear-gradient(135deg, #c9a962 0%, #e8d5a3 50%, #c9a962 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    --shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

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

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* ============================================
   LANDING PAGE
   ============================================ */
.landing-page {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.landing-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 207, 232, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(201, 169, 98, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(2deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

.landing-container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
}

.landing-logo {
    margin-bottom: 3rem;
}

.landing-logo i {
    font-size: 4rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(201, 169, 98, 0.4));
}

.landing-logo h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.landing-logo p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Panel Cards */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.panel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.05), transparent);
    transition: left 0.5s;
}

.panel-card:hover::before {
    left: 100%;
}

.panel-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-gold), var(--shadow-card);
}

.panel-card .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    position: relative;
}

.panel-card .icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 23px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.panel-card:hover .icon-wrapper::after {
    opacity: 1;
}

.panel-card .icon-wrapper i {
    color: var(--primary-color);
    transition: color 0.3s;
}

.panel-card:hover .icon-wrapper i {
    color: var(--bg-dark);
}

.panel-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.panel-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.panel-card .btn-luxury {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition);
}

/* Role-specific card colors */
.panel-card.developer .icon-wrapper { background: rgba(201, 169, 98, 0.15); }
.panel-card.mainadmin .icon-wrapper { background: rgba(234, 84, 85, 0.15); }
.panel-card.master .icon-wrapper { background: rgba(0, 207, 232, 0.15); }
.panel-card.admin .icon-wrapper { background: rgba(40, 199, 111, 0.15); }
.panel-card.superseller .icon-wrapper { background: rgba(255, 159, 67, 0.15); }
.panel-card.seller .icon-wrapper { background: rgba(115, 103, 240, 0.15); }

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: pulse 6s ease-in-out infinite;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 207, 232, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 1rem;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.login-header .back-link:hover {
    color: var(--primary-color);
}

.login-header i {
    font-size: 2.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
    color: var(--text-primary);
}

.login-header p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Form Styles */
.luxury-form .form-group {
    margin-bottom: 1.5rem;
}

.luxury-form label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.luxury-form .input-group {
    position: relative;
}

.luxury-form .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.luxury-form .form-control {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.luxury-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.luxury-form .form-control::placeholder {
    color: var(--text-muted);
}

.luxury-form .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.luxury-form .password-toggle:hover {
    color: var(--primary-color);
}

/* Checkbox */
.luxury-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.luxury-checkbox input {
    display: none;
}

.luxury-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.luxury-checkbox input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.luxury-checkbox .checkmark i {
    font-size: 0.7rem;
    color: var(--bg-dark);
    opacity: 0;
    transition: opacity 0.3s;
}

.luxury-checkbox input:checked + .checkmark i {
    opacity: 1;
}

/* Buttons */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-dark);
}

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

.btn-luxury-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-luxury-outline:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-luxury-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ============================================
   SIDEBAR & LAYOUT
   ============================================ */
.wrapper {
    display: flex;
    min-height: 100vh;
}

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

.sidebar-collapsed .sidebar {
    width: 80px;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-header .logo-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--gradient-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-dark);
}

.sidebar-header .logo-text {
    overflow: hidden;
    white-space: nowrap;
}

.sidebar-header .logo-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-header .logo-text small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
    font-size: 0.7rem;
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.sidebar-collapsed .sidebar-toggle {
    transform: translateY(-50%) rotate(180deg);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.nav-link i {
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
}

.nav-link span {
    transition: opacity 0.3s;
}

.nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(201, 169, 98, 0.15);
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 0.75rem;
    border-top: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.user-profile:hover {
    background: var(--bg-hover);
}

.user-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-dark);
    font-size: 0.9rem;
}

.user-info {
    overflow: hidden;
    flex: 1;
}

.user-info .user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info .user-role {
    font-size: 0.75rem;
    color: var(--primary-color);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 1.5rem 2rem;
    transition: var(--transition);
}

.sidebar-collapsed .main-content {
    margin-left: 80px;
}

/* Topbar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.topbar-left h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.topbar-left p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.topbar-btn:hover {
    background: var(--bg-hover);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.topbar-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   CARDS
   ============================================ */
.luxury-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.luxury-card:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-card);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

/* Stat Card */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-gold);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.stat-icon.gold { background: rgba(201, 169, 98, 0.15); color: var(--primary-color); }
.stat-icon.blue { background: rgba(0, 207, 232, 0.15); color: var(--info); }
.stat-icon.green { background: rgba(40, 199, 111, 0.15); color: var(--success); }
.stat-icon.red { background: rgba(234, 84, 85, 0.15); color: var(--danger); }
.stat-icon.orange { background: rgba(255, 159, 67, 0.15); color: var(--warning); }
.stat-icon.purple { background: rgba(115, 103, 240, 0.15); color: #7367f0; }

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ============================================
   TABLES
   ============================================ */
.luxury-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.luxury-table thead th {
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.luxury-table tbody td {
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(42, 42, 74, 0.5);
    vertical-align: middle;
}

.luxury-table tbody tr {
    transition: background 0.2s;
}

.luxury-table tbody tr:hover {
    background: var(--bg-hover);
}

.luxury-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge.bg-success { background: rgba(40, 199, 111, 0.15) !important; color: var(--success); }
.badge.bg-danger { background: rgba(234, 84, 85, 0.15) !important; color: var(--danger); }
.badge.bg-warning { background: rgba(255, 159, 67, 0.15) !important; color: var(--warning); }
.badge.bg-info { background: rgba(0, 207, 232, 0.15) !important; color: var(--info); }
.badge.bg-secondary { background: rgba(90, 90, 122, 0.15) !important; color: var(--text-secondary); }

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success { background: rgba(40, 199, 111, 0.1); color: var(--success); }
.alert-danger { background: rgba(234, 84, 85, 0.1); color: var(--danger); }
.alert-warning { background: rgba(255, 159, 67, 0.1); color: var(--warning); }
.alert-info { background: rgba(0, 207, 232, 0.1); color: var(--info); }

.alert .btn-close {
    margin-left: auto;
    background: none;
    border: none;
    color: currentColor;
    opacity: 0.5;
    cursor: pointer;
}

/* ============================================
   MODALS
   ============================================ */
.luxury-modal .modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.luxury-modal .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.luxury-modal .modal-header .modal-title {
    color: var(--text-primary);
    font-weight: 600;
}

.luxury-modal .modal-body {
    padding: 1.5rem;
}

.luxury-modal .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

/* ============================================
   DROPDOWNS
   ============================================ */
.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 0.5rem 0;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--bg-hover);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   TOOLTIPS
   ============================================ */
.tooltip-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* ============================================
   PROGRESS BARS
   ============================================ */
.progress {
    background: var(--bg-dark);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-gold);
    border-radius: 10px;
    transition: width 0.6s ease;
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(201, 169, 98, 0.3); }
    50% { box-shadow: 0 0 20px rgba(201, 169, 98, 0.6); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ============================================
   LOADING
   ============================================ */
.luxury-loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .mobile-toggle {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .landing-logo h1 {
        font-size: 2rem;
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .topbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ============================================
   MOBILE TOGGLE
   ============================================ */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ============================================
   OVERLAY
   ============================================ */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.show {
    display: block;
}

/* ============================================
   NEWS TICKER
   ============================================ */
.news-ticker {
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.news-ticker i {
    color: var(--primary-color);
    font-size: 1rem;
}

.news-ticker .ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.news-ticker .ticker-text {
    display: inline-block;
    animation: ticker 20s linear infinite;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ============================================
   CREDIT DISPLAY
   ============================================ */
.credit-display {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(201, 169, 98, 0.1);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.credit-display i {
    font-size: 0.9rem;
}

/* ============================================
   CHART CONTAINER
   ============================================ */
.chart-container {
    position: relative;
    height: 300px;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
    position: relative;
}

.search-box input {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 250px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
