/* ============================================
   PREMIUM UI CSS - Modern Dark Theme
   Mobile Friendly & Responsive Design
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Premium Colors */
:root {
    /* Primary Colors - Vibrant Light Navy Blue Gradient */
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --primary-color: #3b82f6;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;

    /* Secondary Colors */
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --accent-color: #00d2ff;

    /* Dark Theme Colors - Deep Professional Navy */
    --dark-bg: #030712;
    --dark-surface: #111827;
    --dark-card: #1f2937;
    --dark-border: rgba(255, 255, 255, 0.15);

    /* Overlay */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);

    /* Text Colors - Pure White for maximum readability */
    --text-primary: #ffffff;
    --text-secondary: #f9fafb;
    --text-muted: #d1d5db;

    /* Success/Error/Warning - Fixed Red to be more vibrant */
    --success-color: #10b981;
    --success-light: rgba(16, 185, 129, 0.15);
    --error-color: #ff3333;
    --error-light: rgba(255, 51, 51, 0.15);
    --warning-color: #fbbf24;
    --warning-light: rgba(251, 191, 36, 0.15);
    --info-color: #0ea5e9;
    --info-light: rgba(14, 165, 233, 0.15);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.4);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 100px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;

    /* Sidebar */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 0px;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(240, 147, 251, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   PAGE WRAPPER & LAYOUT
   ============================================ */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    background: transparent;
}

/* ============================================
   SIDEBAR STYLES - PREMIUM
   ============================================ */
.left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--dark-surface);
    border-right: 1px solid var(--dark-border);
    z-index: 1000;
    transition: transform var(--transition-normal), width var(--transition-normal);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.left-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: var(--primary-gradient);
    opacity: 0.1;
    pointer-events: none;
}

/* Brand Logo */
.brand-logo {
    padding: 20px 24px;
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    z-index: 1;
}

.brand-logo .logo-img img {
    max-height: 45px;
    width: auto;
    filter: brightness(1.1);
    transition: var(--transition-normal);
}

.brand-logo .logo-img:hover img {
    filter: brightness(1.3);
    transform: scale(1.02);
}

/* Close Button for Mobile */
.close-btn {
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-btn:hover {
    background: var(--error-color);
    transform: rotate(90deg);
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 16px 0;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

#sidebarnav {
    list-style: none;
    padding: 0 12px;
    margin: 0;
}

/* Nav Small Cap - Section Headers */
.nav-small-cap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.nav-small-cap-icon {
    font-size: 14px !important;
    color: var(--primary-color);
}

/* Sidebar Items */
.sidebar-item {
    margin-bottom: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-gradient);
    border-radius: 0 4px 4px 0;
    transition: var(--transition-fast);
}

.sidebar-link:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-link:hover::before {
    height: 60%;
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.sidebar-link.active::before {
    height: 70%;
}

.sidebar-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.sidebar-link:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.sidebar-link .hide-menu {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   MOBILE SIDEBAR
   ============================================ */
@media (max-width: 1199.98px) {
    .left-sidebar {
        transform: translateX(-100%);
    }

    .left-sidebar.show-sidebar {
        transform: translateX(0);
        box-shadow: var(--shadow-xl);
    }

    .close-btn {
        display: flex !important;
    }
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   BODY WRAPPER & MAIN CONTENT
   ============================================ */
.body-wrapper {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    transition: margin-left var(--transition-normal);
}

@media (max-width: 1199.98px) {
    .body-wrapper {
        margin-left: 0;
    }
}

/* ============================================
   HEADER STYLES - PREMIUM
   ============================================ */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 35, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border) !important;
    padding: 0 24px;
    height: 70px;
}

.app-header .navbar {
    height: 100%;
    padding: 0;
}

.app-header .navbar-nav {
    height: 100%;
    align-items: center;
}

/* Mobile Menu Toggle */
.sidebartoggler {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid var(--dark-border);
}

.sidebartoggler:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: scale(1.05);
}

/* Balance Button in Header */
.app-header .btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-fast);
}

.app-header .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

/* User Profile Dropdown */
.nav-item.dropdown .nav-link {
    padding: 8px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--dark-border);
    transition: var(--transition-fast);
}

.nav-item.dropdown .nav-link img {
    border-radius: 50%;
    transition: var(--transition-fast);
}

.nav-item.dropdown .nav-link:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.dropdown-menu {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    min-width: 200px;
    animation: dropdown-fade 0.2s ease;
}

@keyframes dropdown-fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: 14px;
}

.dropdown-item:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.dropdown-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ============================================
   CONTAINER & CARDS
   ============================================ */
.container-fluid {
    padding: 24px;
    max-width: 1400px;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 16px;
    }
}

/* Premium Cards */
.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(102, 126, 234, 0.3);
}

.card-body {
    padding: 24px;
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Hover Shadow Effect for Dashboard Cards */
.hover-shadow {
    transition: all var(--transition-normal);
}

.hover-shadow:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-xl), 0 0 50px rgba(102, 126, 234, 0.2) !important;
}

/* ============================================
   NOTICE MARQUEE
   ============================================ */
.alert.alert-dark {
    background: linear-gradient(90deg, var(--dark-card) 0%, rgba(102, 126, 234, 0.1) 50%, var(--dark-card) 100%);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

/* ============================================
   BUTTONS - PREMIUM STYLES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.4);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 114, 128, 0.4);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   FORM STYLES - PREMIUM
   ============================================ */
.form-label,
label {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.form-control {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 14px 18px;
    font-size: 14px;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    background: var(--dark-surface);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* File Input Styling */
input[type="file"].form-control {
    padding: 10px 14px;
}

input[type="file"] {
    color: var(--text-secondary);
}

input[type="file"]::file-selector-button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    margin-right: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

input[type="file"]::file-selector-button:hover {
    opacity: 0.9;
}

/* ============================================
   ALERTS - PREMIUM
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-info {
    background: var(--info-light);
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}

.alert-success {
    background: var(--success-light);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-warning {
    background: var(--warning-light);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background: var(--error-light);
    color: var(--error-color);
    border-left: 4px solid var(--error-color);
}

/* ============================================
   TABLE STYLES - PREMIUM
   ============================================ */
.table {
    color: #ffffff !important;
    margin-bottom: 0;
}

.table thead {
    background: var(--primary-dark);
}

.table th {
    border: none;
    padding: 16px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.table td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--dark-border);
    color: #ffffff !important;
}

.table-responsive {
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Badges */
.badge {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* ============================================
   ICONS IN DASHBOARD
   ============================================ */
.card-body i.ti {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================================
   LOGIN & REGISTER PAGE STYLES
   ============================================ */
.radial-gradient {
    background: var(--dark-bg) !important;
    position: relative;
}

.radial-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(240, 147, 251, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Auth Card - Login/Register */
.radial-gradient .card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    backdrop-filter: blur(20px);
    overflow: visible;
    position: relative;
    z-index: 1;
}

.radial-gradient .card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    opacity: 0.5;
}

.radial-gradient .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-surface);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.radial-gradient .card-body {
    padding: 40px;
}

@media (max-width: 576px) {
    .radial-gradient .card-body {
        padding: 24px;
    }
}

.radial-gradient .logo-img img {
    filter: brightness(1.2);
}

.radial-gradient .text-center p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.radial-gradient .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.radial-gradient a.text-primary {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.radial-gradient a.text-primary:hover {
    color: var(--accent-color) !important;
    text-decoration: underline;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card {
    animation: fadeInUp 0.5s ease;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991.98px) {
    .col-xl-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767.98px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card-body {
        padding: 20px;
    }

    .container-fluid {
        padding: 12px;
    }

    .app-header {
        padding: 0 12px;
        height: 60px;
    }

    .brand-logo {
        padding: 15px 20px;
    }
}

/* ============================================
   NOTIFICATION BELL
   ============================================ */
.notifDiv {
    position: relative;
}

.notifDiv .notification {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    animation: pulse-glow 2s infinite;
}

.notifText {
    background: var(--dark-surface) !important;
    border: 1px solid var(--dark-border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   IMAGE PREVIEWS
   ============================================ */
.img-thumbnail {
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 4px;
    transition: var(--transition-fast);
}

.img-thumbnail:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   SCROLLBAR GLOBAL STYLES
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--error-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.text-white {
    color: var(--text-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.fw-semibold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

/* ============================================
   SPECIAL EFFECTS FOR PREMIUM FEEL
   ============================================ */
/* Shimmer effect on loading */
.loading-shimmer {
    background: linear-gradient(90deg,
            var(--dark-card) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            var(--dark-card) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--primary-color);
    color: white;
}