/* ============================================
   SMM PANEL MODERN THEME - LIGHT & DARK MODE
   ============================================ */

/* Hide disabled options in Select2 - multiple selectors for compatibility */
.select2-results__option[aria-disabled="true"],
.select2-results__option.select2-results__option--disabled,
.select2-container--default .select2-results__option[aria-disabled="true"],
.select2-results__option[aria-disabled="true"][aria-selected="false"] {
    display: none !important;
}

/* Hide options with hidden attribute in native select */
select option[hidden],
select option:disabled[hidden],
select option[disabled][hidden] {
    display: none !important;
}

/* Force hide disabled options in dropdown */
.select2-dropdown .select2-results__option[aria-disabled="true"] {
    display: none !important;
}

/* Hide options with data-hidden attribute */
select option[data-hidden="true"] {
    display: none !important;
}


/* Only show Select2 options that are not disabled */
.select2-results__option:not([aria-selected="true"])[aria-disabled="true"] {
    display: none !important;
}

/* CSS Variables for Theming */
:root {
    /* Brand Colors */
    --primary: #25B27D;
    --primary-dark: #22A571;
    --primary-light: #2EC88A;
    --primary-rgb: 37, 178, 125;
    
    --secondary: #6366F1;
    --secondary-dark: #5558E8;
    --secondary-light: #8B5CF6;
    --secondary-rgb: 99, 102, 241;
    
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-hover: #f8fafc;
    --bg-active: #e2e8f0;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-inverse: #ffffff;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    --bg-active: #475569;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-inverse: #0f172a;
    
    --border-color: #334155;
    --border-light: #475569;
    --border-dark: #1e293b;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.25);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.4);
    
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(51, 65, 85, 0.5);
}

/* ============================================
   BASE STYLES
   ============================================ */

body {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVBAR - CLEAN PROFESSIONAL
   ============================================ */

.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-header {
    min-height: 50px;
}

.navbar-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    height: 50px;
    padding: 15px;
    line-height: 20px;
}

.navbar-brand img {
    height: 35px;
}

.navbar-default .navbar-nav > li > a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 15px;
    line-height: 20px;
    transition: color 0.2s ease, background-color 0.2s ease;
    position: relative;
}

.navbar-default .navbar-nav > li > a:hover {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.navbar-default .navbar-nav > li > a:focus {
    outline: none;
    color: var(--primary);
}

.navbar-default .navbar-nav > li > a:active {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.08);
    position: relative;
}

.navbar-default .navbar-nav > .active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Navbar toggle button */
.navbar-default .navbar-toggle {
    border-color: var(--border-color);
    margin-top: 13px;
    margin-bottom: 13px;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: var(--bg-hover);
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--text-secondary);
}

/* Dropdown improvements */
.navbar-nav .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Balance Badge */
.navbar .badge {
    background: var(--primary);
    color: white;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    vertical-align: middle;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    box-shadow: var(--shadow-sm);
}

.theme-toggle .toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--text-tertiary);
}

.theme-toggle .toggle-icon.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.3);
}

.theme-toggle .toggle-icon:not(.active) {
    opacity: 0.5;
}

/* Theme toggle in navbar */
.navbar .theme-toggle-wrapper {
    padding: 0;
}

.navbar .theme-toggle-wrapper .theme-toggle {
    margin: 11px 15px;
}

/* ============================================
   CARDS & PANELS - CLEAN MODERN STYLE
   ============================================ */

.panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.panel:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.panel-default {
    border-color: var(--border-color);
}

.panel-default > .panel-heading {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.panel-heading {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 15px;
    border-radius: 7px 7px 0 0;
    font-weight: 500;
}

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

.panel-body {
    padding: 15px;
}

.well {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: none;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s ease;
}

.well:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ============================================
   BUTTONS - CLEAN PROFESSIONAL STYLE
   ============================================ */

.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover, 
.btn-primary:focus,
.btn-primary:active {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.25);
}

.btn-default {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-default:hover,
.btn-default:focus {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-dark);
}

.btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-color: #059669;
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    border-color: #DC2626;
}

.btn-warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-color: #D97706;
}

.btn-info {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    border-color: #2563EB;
}

/* Button sizes */
.btn-lg {
    padding: 12px 24px;
    font-size: 1.125rem;
    border-radius: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-xs {
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* Floating Action Button */
.btn-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-floating:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   FORMS
   ============================================ */

.form-control,
textarea.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
select.form-control {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 8px 12px;
    height: auto;
    transition: all 0.2s ease;
}

.form-control:focus,
textarea.form-control:focus,
input:focus,
select.form-control:focus {
    background: var(--bg-primary);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15);
    outline: none;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
    color: var(--text-tertiary);
}

/* Textarea specific */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Checkboxes and Radio Buttons */
input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
    accent-color: var(--primary);
}

/* Custom checkbox styling */
.checkbox label,
.radio label {
    color: var(--text-primary);
    font-weight: 400;
    cursor: pointer;
}

.checkbox input[type="checkbox"],
.radio input[type="radio"] {
    margin-top: 4px;
}

/* Input sizes */
.input-lg {
    padding: 12px 16px;
    font-size: 1.125rem;
    border-radius: 8px;
}

.input-sm {
    padding: 6px 10px;
    font-size: 0.875rem;
    border-radius: 4px;
}

/* Input groups */
.input-group-addon {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px 0 0 6px;
    padding: 8px 12px;
}

.input-group .form-control:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.input-group .form-control:first-child {
    border-radius: 0 6px 6px 0;
}

.input-group .form-control:last-child {
    border-radius: 6px 0 0 6px;
}

/* Custom Select */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* ============================================
   TABLES
   ============================================ */

.table {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.table > thead > tr > th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    padding: 1rem;
}

.table > tbody > tr > td {
    color: var(--text-secondary);
    padding: 1rem;
    border-top: 1px solid var(--border-light);
}

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

.table-striped > tbody > tr:nth-of-type(odd) {
    background: var(--bg-secondary);
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: #059669;
    border-left: 4px solid #10B981;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: #DC2626;
    border-left: 4px solid #EF4444;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: #D97706;
    border-left: 4px solid #F59E0B;
}

.alert-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    color: #2563EB;
    border-left: 4px solid #3B82F6;
}

/* ============================================
   DROPDOWNS
   ============================================ */

.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-menu > li > a {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: var(--bg-hover);
    color: var(--primary);
}

.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus{
    background: var(--gradient-primary);
    color: white;
}

.select2-container--default .select2-results__option[aria-selected=true]{
    background:none !important;
}
.select2-container--default .select2-selection--single{
    border:1px solid var(--border-color);
}
/* ============================================
   BADGES & LABELS
   ============================================ */

.badge, .label {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
}

.badge-primary, .label-primary {
    background: var(--gradient-primary);
}

.badge-success, .label-success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.badge-warning, .label-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.badge-danger, .label-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

/* ============================================
   MODALS
   ============================================ */

.modal-content {
    background: var(--bg-card);
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.5rem;
}

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

.modal-body {
    padding: 1.5rem;
    color: var(--text-secondary);
}

.modal-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 16px 16px;
    padding: 1rem 1.5rem;
}

/* ============================================
   SIMPLE TRANSITIONS
   ============================================ */

/* Smooth transitions for interactive elements */
a, button, .btn, .panel, .well, .service-card {
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
a:focus, button:focus, .btn:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   SERVICE CARDS - CLEAN PROFESSIONAL
   ============================================ */

.service-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   STATS CARDS
   ============================================ */

.stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.stat-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

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

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-change {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

/* ============================================
   NAV TABS & NAV PILLS
   ============================================ */

.nav-tabs {
    border-bottom: 1px solid var(--border-color);
}

.nav-tabs > li > a {
    color: var(--text-secondary);
    border: none;
    border-radius: 6px 6px 0 0;
    padding: 10px 16px;
    margin-right: 4px;
    transition: all 0.2s ease;
}

.nav-tabs > li > a:hover {
    background: var(--bg-hover);
    border-color: transparent;
    color: var(--primary);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: var(--primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom-color: var(--bg-card);
}

.nav-pills > li > a {
    color: var(--text-secondary);
    border-radius: 6px;
    padding: 8px 16px;
    margin: 2px;
    transition: all 0.2s ease;
}

.nav-pills > li > a:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background: var(--primary);
    color: white;
}

/* Tab content */
.tab-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 20px;
    border-radius: 0 0 6px 6px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .navbar-nav {
        background: var(--bg-card);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 0.5rem;
    }
    
    .theme-toggle {
        margin: 1rem auto;
        display: flex;
        width: fit-content;
    }
    
    .btn-floating {
        bottom: 1rem;
        right: 1rem;
    }
}

/* ============================================
   RTL SUPPORT
   ============================================ */

.rtl-navbar {
    direction: rtl;
}

.rtl-form {
    direction: rtl;
    text-align: right;
}

.rtl-alert {
    direction: rtl;
    text-align: right;
}

.rtl-content {
    direction: rtl;
    text-align: right;
}

[data-theme="dark"] .rtl-navbar,
[data-theme="dark"] .rtl-form,
[data-theme="dark"] .rtl-alert,
[data-theme="dark"] .rtl-content {
    direction: rtl;
}


/* ============================================
   THEME TOGGLE STYLES
   ============================================ */

.theme-toggle-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.theme-toggle-wrapper .theme-toggle {
    margin: 0;
}

/* Mobile view for theme toggle */
@media (max-width: 767px) {
    .navbar-nav .theme-toggle-wrapper {
        padding: 10px 15px;
    }
    
    .navbar-nav .theme-toggle-wrapper .theme-toggle {
        margin: 0;
        width: auto;
        display: inline-flex;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

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

/* ============================================
   LOADER ANIMATION
   ============================================ */

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-bottom-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }

.bg-primary-gradient { background: var(--gradient-primary) !important; }
.bg-secondary-gradient { background: var(--gradient-secondary) !important; }

.rounded { border-radius: 12px !important; }
.rounded-lg { border-radius: 16px !important; }
.rounded-full { border-radius: 50% !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

/* Spacing Utilities */
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }

.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2rem !important; }