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

/* ====== VARIABLES ====== */
:root {
    /* Primary Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --sunset-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --ocean-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --forest-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    
    /* Solid Colors */
    --primary: #667eea;
    --secondary: #764ba2;
    --success: #43e97b;
    --info: #4facfe;
    --warning: #ffa726;
    --danger: #f5576c;
    --pink: #f093fb;
    --orange: #ffa726;
    --purple: #9c27b0;
    --teal: #26a69a;
    --indigo: #3f51b5;
    
    /* Dark Colors */
    --dark-primary: #4a5fc1;
    --dark-secondary: #5a3d7a;
    --dark-success: #2e7d32;
    --dark-info: #1976d2;
    --dark-warning: #f57c00;
    --dark-danger: #d32f2f;
    
    /* Light Colors */
    --light-primary: #e8eaf6;
    --light-secondary: #f3e5f5;
    --light-success: #e8f5e9;
    --light-info: #e3f2fd;
    --light-warning: #fff3e0;
    --light-danger: #ffebee;
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-muted: #9e9e9e;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #1a1a2e;
    --bg-darker: #0f0f1e;
    
    /* Shadow */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====== BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* ====== LAYOUT ====== */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    min-height: 100vh;
}

#content {
    width: 100%;
    padding: 0;
    min-height: 100vh;
    transition: all var(--transition);
    background: var(--bg-secondary);
}

/* ====== SIDEBAR ====== */
.sidebar {
    min-width: 280px;
    max-width: 280px;
    min-height: 100vh;
    background: var(--sunset-gradient);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition);
    z-index: 1000;
    position: relative;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.sidebar .nav-item {
    position: relative;
    margin: 2px 8px;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition);
    z-index: -1;
}

.sidebar .nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.sidebar .nav-link:hover::before {
    left: 0;
}

.sidebar .nav-link.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

.sidebar .nav-link.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--text-white);
    border-radius: var(--radius);
}

.sidebar .nav-link i {
    font-size: 18px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
    transition: all var(--transition);
}

.sidebar .nav-link:hover i {
    transform: scale(1.1);
}

.sidebar .nav-link span {
    flex: 1;
}

.sidebar .badge {
    font-size: 11px;
    padding: 4px 8px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.sidebar-heading {
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    margin: 16px 0 8px 0;
}

.sidebar .sidebar-brand {
    height: 70px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    color: var(--text-white);
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .sidebar-brand .sidebar-brand-icon i {
    font-size: 28px;
    color: var(--text-white);
    animation: float 3s ease-in-out infinite;
}

.sidebar .sidebar-brand .sidebar-brand-text {
    display: block;
    margin-left: 10px;
}

.sidebar .sidebar-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 8px 20px;
}

/* Sidebar Toggle Button */
#sidebarToggle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    margin: 20px auto;
}

#sidebarToggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Toggled Sidebar */
.sidebar.toggled {
    width: 0 !important;
    overflow: hidden;
    opacity: 0;
}

.sidebar.toggled + #content {
    margin-left: 0;
}

/* ====== TOPBAR ====== */
.topbar {
    height: 70px;
    background: var(--bg-primary);
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar .navbar-search {
    width: 300px;
}

.topbar .navbar-search .input-group {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.topbar .navbar-search input {
    border: none;
    background: transparent;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-primary);
}

.topbar .navbar-search input:focus {
    outline: none;
    box-shadow: none;
}

.topbar .navbar-search button {
    border: none;
    background: var(--primary);
    color: var(--text-white);
    padding: 0 20px;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    transition: all var(--transition);
}

.topbar .navbar-search button:hover {
    background: var(--dark-primary);
}

.topbar .nav-item .nav-link {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    position: relative;
    margin: 0 5px;
}

.topbar .nav-item .nav-link:hover {
    background: var(--light-primary);
    color: var(--primary);
}

.topbar .nav-item .nav-link .badge-counter {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 18px;
    height: 18px;
    padding: 2px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    border-radius: var(--radius-full);
    background: var(--danger);
    color: var(--text-white);
}

.topbar .topbar-divider {
    width: 1px;
    height: 30px;
    background: var(--light-primary);
    margin: 0 15px;
}

.img-profile {
    height: 40px;
    width: 40px;
    border-radius: var(--radius-full);
    border: 3px solid var(--primary);
    object-fit: cover;
}

/* ====== CARDS ====== */
.card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    background: var(--bg-primary);
    transition: all var(--transition);
    overflow: hidden;
    margin-bottom: 24px;
}

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

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    padding: 20px;
    border: none;
    font-weight: 600;
    font-size: 16px;
}

.card-body {
    padding: 24px;
}

/* ====== BUTTONS ====== */
.btn {
    font-weight: 500;
    border-radius: var(--radius-lg);
    padding: 10px 20px;
    font-size: 14px;
    transition: all var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition), height var(--transition);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: var(--secondary);
    color: var(--text-white);
}

.btn-success {
    background: var(--forest-gradient);
    color: var(--text-white);
}

.btn-info {
    background: var(--ocean-gradient);
    color: var(--text-white);
}

.btn-warning {
    background: var(--warning);
    color: var(--text-white);
}

.btn-danger {
    background: var(--danger);
    color: var(--text-white);
}

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

.btn-dark {
    background: var(--bg-dark);
    color: var(--text-white);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ====== FORMS ====== */
.form-control {
    border: 2px solid var(--light-primary);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    font-size: 14px;
    transition: all var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.form-select {
    border: 2px solid var(--light-primary);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    font-size: 14px;
    transition: all var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.input-group-text {
    background: var(--bg-secondary);
    border: 2px solid var(--light-primary);
    border-right: none;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    color: var(--text-secondary);
}

.input-group .form-control {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.input-group .form-control:focus {
    border-color: var(--primary);
}

/* ====== TABLES ====== */
.table {
    margin-bottom: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--light-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px;
    border: none;
}

.table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-top: 1px solid var(--light-primary);
    color: var(--text-primary);
}

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

.table-responsive {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ====== BADGES ====== */
.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-primary { background: var(--primary) !important; }
.bg-secondary { background: var(--secondary) !important; }
.bg-success { background: var(--success) !important; }
.bg-info { background: var(--info) !important; }
.bg-warning { background: var(--warning) !important; }
.bg-danger { background: var(--danger) !important; }
.bg-pink { background: var(--pink) !important; }
.bg-orange { background: var(--orange) !important; }
.bg-purple { background: var(--purple) !important; }
.bg-teal { background: var(--teal) !important; }
.bg-indigo { background: var(--indigo) !important; }

/* ====== ALERTS ====== */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.alert-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary);
    border-left: 4px solid var(--primary);
}

.alert-success {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-info {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    color: var(--info);
    border-left: 4px solid var(--info);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 167, 38, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: var(--warning);
    border-left: 4px solid var(--warning);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

/* ====== DROPDOWNS ====== */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    background: var(--bg-primary);
    animation: slideDown 0.3s ease;
}

.dropdown-item {
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all var(--transition);
    margin-bottom: 4px;
}

.dropdown-item:hover {
    background: var(--light-primary);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-header {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
}

/* ====== ANIMATIONS ====== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-in {
    animation: slideIn 0.5s ease;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ====== UTILITIES ====== */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-info { color: var(--info) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--text-muted) !important; }

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

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

.rounded { border-radius: var(--radius) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-2xl { border-radius: var(--radius-2xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 100;
    }
    
    #content {
        margin-left: 280px;
    }
    
    .sidebar.toggled + #content {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        height: 100vh;
        z-index: 999;
        transition: left var(--transition);
    }
    
    .sidebar.show {
        left: 0;
    }
    
    #content {
        margin-left: 0;
    }
    
    .topbar {
        padding: 0 15px;
    }
    
    .topbar .navbar-search {
        display: none;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table thead th,
    .table tbody td {
        padding: 8px;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
}

/* ====== LOADING STATES ====== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

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

/* ====== CHARTS ====== */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* ====== CALENDAR ====== */
.calendar {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.calendar-header {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-body {
    padding: 20px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 8px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.calendar-day:hover {
    background: var(--light-primary);
    transform: scale(1.05);
}

.calendar-day.today {
    background: var(--primary-gradient);
    color: var(--text-white);
    font-weight: 700;
}

.calendar-day.other-month {
    color: var(--text-muted);
}

.calendar-day.has-event {
    position: relative;
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--success);
}

/* ====== ACTIVITY FEED ====== */
.activity-feed {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.activity-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--light-primary);
    transition: all var(--transition);
}

.activity-item:hover {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding-left: 8px;
    padding-right: 8px;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin-right: 16px;
    font-size: 16px;
}

.activity-text {
    flex: 1;
}

.activity-text div {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.activity-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* ====== MESSAGES ====== */
.message-item {
    padding: 16px;
    border-bottom: 1px solid var(--light-primary);
    cursor: pointer;
    transition: all var(--transition);
}

.message-item:hover {
    background: var(--bg-secondary);
}

.message-item.unread {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid var(--primary);
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-right: 12px;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-sender {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.message-subject {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 500;
}

.message-preview {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* ====== PROFILE ====== */
.profile-header {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 40px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    border: 4px solid var(--text-white);
    margin-bottom: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-role {
    font-size: 16px;
    opacity: 0.9;
}

.profile-body {
    padding: 32px;
}

.profile-info-item {
    margin-bottom: 24px;
}

.profile-info-label {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.profile-info-value {
    font-size: 14px;
    color: var(--text-primary);
}

/* ====== SETTINGS ====== */
.settings-section {
    margin-bottom: 32px;
}

.settings-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-primary);
}

.settings-item {
    margin-bottom: 20px;
}

.settings-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.settings-description {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-check {
    padding-left: 0;
}

.form-check-input {
    margin-right: 8px;
}

.form-check-label {
    font-size: 14px;
    color: var(--text-primary);
}

.form-switch .form-check-input {
    width: 48px;
    height: 24px;
    background-color: var(--light-primary);
    border: none;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary);
}

.form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* ====== TABS ====== */
.nav-tabs {
    border: none;
    border-bottom: 2px solid var(--light-primary);
    margin-bottom: 24px;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: all var(--transition);
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    background: var(--light-primary);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
    border-bottom: 2px solid var(--primary);
}

.tab-content {
    animation: fadeIn 0.5s ease;
}

/* ====== MODALS ====== */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--light-primary);
    padding: 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--light-primary);
    padding: 16px 24px;
}

/* ====== PAGINATION ====== */
.pagination {
    margin-bottom: 0;
}

.page-link {
    border: none;
    color: var(--text-primary);
    padding: 8px 16px;
    margin: 0 2px;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.page-link:hover {
    background: var(--light-primary);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary-gradient);
    color: var(--text-white);
}

/* ====== BREADCRUMB ====== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
}

.breadcrumb-item {
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-muted);
}

