/* ============================================
   SIGCU_AA - Modern UI Redesign
   Color Palette: Pastel & Gray (Soft UI)
   ============================================ */

/* CSS Variables - Blue Tone (Slate) Theme */
:root {
    /* Primary Colors - Blue */
    --primary-color: #3b82f6;
    /* Blue 500 */
    --primary-dark: #2563eb;
    /* Blue 600 */
    --primary-light: #93c5fd;
    /* Blue 300 */
    --primary-lighter: #eff6ff;
    /* Blue 50 */

    /* Secondary Colors - Cyan/Teal */
    --secondary-color: #06b6d4;
    /* Cyan 500 */
    --secondary-dark: #0891b2;
    /* Cyan 600 */
    --accent-color: #8b5cf6;
    /* Violet 500 */

    /* Neutrals - Slate (Blue-Gray) */
    --dark-color: #0f172a;
    /* Slate 900 */
    --text-primary: #334155;
    /* Slate 700 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --light-color: #f1f5f9;
    /* Slate 100 */
    --surface-color: #ffffff;
    --border-color: #e2e8f0;
    /* Slate 200 */

    --bg-body: #f8fafc;
    /* Slate 50 */

    /* Status Colors */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* Layout */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --topbar-height: 64px;
    --transition-speed: 0.3s;
    --border-radius: 1rem;
    --border-radius-lg: 1.5rem;
    --border-radius-xl: 2rem;

    /* Shadows - Cool Toned */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.03);

    /* Gradients - Blue dominant */
    --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    --gradient-light: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --gradient-background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background: var(--light-color);
    min-height: 100vh;
    color: var(--text-primary);
    width: 100%;
    overflow-x: hidden;
    line-height: 1.6;
}

.wrapper {
    min-height: 100vh;
}

/* ============================================
   SIDEBAR STYLES - Light Gray Theme
   ============================================ */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    z-index: 1000;
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--shadow-lg);
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-color);
}

.sidebar-brand i {
    color: var(--primary-color);
    font-size: 1.75rem;
    filter: none;
}

.brand-text {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sidebar-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: none;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* User Info Section */
.sidebar-user {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
}

.user-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.user-avatar i {
    font-size: 1.5rem;
    color: white;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.menu-header {
    padding: 1.25rem 1.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.menu-item {
    margin: 0.25rem 0.75rem;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.menu-link i {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.menu-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(4px);
}

.menu-link:hover i {
    color: var(--primary-color);
}

.menu-item.active .menu-link {
    background: #e0f2fe;
    /* Very light blue */
    color: var(--primary-color);
    box-shadow: none;
    font-weight: 600;
}

.menu-item.active .menu-link i {
    color: var(--primary-color);
}

.menu-link .badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background: var(--danger-color);
    color: white;
    font-weight: 600;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(94, 234, 212, 0.1);
    margin-top: auto;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.25s ease;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-logout:hover {
    background: var(--danger-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(19, 78, 74, 0.6);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* ============================================
   TOPBAR NAVBAR STYLES
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    height: var(--topbar-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    transition: left var(--transition-speed) ease;
    box-shadow: var(--shadow-sm);
    z-index: 998;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-toggle-btn {
    color: var(--text-primary);
    font-size: 1.25rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.sidebar-toggle-btn:hover {
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.1);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.main-content {
    position: absolute;
    left: var(--sidebar-width);
    right: 0;
    top: 0;
    padding-top: var(--topbar-height);
    min-height: 100vh;
    background: var(--gradient-background);
    background-attachment: fixed;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

.dashboard-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.dashboard-header {
    background: var(--surface-color);
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius-xl);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.dashboard-header h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface-color);
    padding: 1.75rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card.alert::before {
    background: linear-gradient(90deg, var(--danger-color), #f87171);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.stat-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-card.alert .stat-number {
    color: var(--danger-color);
}

/* Dashboard Content */
.dashboard-content {
    display: grid;
    gap: 2rem;
}

/* ============================================
   CARDS - Modern Design
   ============================================ */

.card {
    background: var(--surface-color);
    padding: 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.04) 0%, rgba(6, 182, 212, 0.02) 100%);
}

.card-body,
.card>table,
.card>.table-responsive {
    padding: 1.5rem 2rem;
}

.card>table,
.card>.table-responsive {
    padding: 0;
}

/* ============================================
   TABLES - Clean Design
   ============================================ */

.table {
    width: 100%;
    margin-bottom: 0;
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

.table thead th {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.75px;
    padding: 1rem 1.25rem;
    border: none;
    white-space: nowrap;
}

.table thead th:first-child {
    border-radius: 0;
}

.table thead th:last-child {
    border-radius: 0;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:nth-child(even) {
    background: rgba(13, 148, 136, 0.02);
}

.table tbody tr:hover {
    background: rgba(13, 148, 136, 0.06);
}

.table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(13, 148, 136, 0.08);
    color: var(--text-primary);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   BUTTONS - Premium Look
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.25px;
}

.btn i {
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
    color: #fff;
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
    color: #fff;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.825rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-light {
    background: #f8fafc;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-light:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(13, 148, 136, 0.03);
    border-radius: var(--border-radius-lg);
}

.quick-actions h2 {
    width: 100%;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding: 0;
    border: none;
    background: none;
}

/* ============================================
   FORMS - Modern Inputs
   ============================================ */

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(13, 148, 136, 0.2);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: var(--surface-color);
    color: var(--text-primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #059669;
    border-left: 4px solid #10b981;
}

.alert-danger,
.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    color: #d97706;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
    color: #0891b2;
    border-left: 4px solid #06b6d4;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25px;
}

.badge-primary,
.bg-primary {
    background: var(--gradient-primary) !important;
    color: white;
}

.badge-success,
.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white;
}

.badge-danger,
.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white;
}

.badge-warning,
.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white;
}

.badge-info,
.bg-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: white;
}

.badge-secondary,
.bg-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
    color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1199.98px) {
    .dashboard-container {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .navbar {
        left: 0;
    }

    .main-content {
        left: 0;
        right: 0;
    }

    .sidebar-toggle {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-header {
        padding: 1.5rem;
    }

    .dashboard-header h1 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .card h2 {
        padding: 1rem 1.25rem;
        font-size: 1.125rem;
    }

    .card-body {
        padding: 1rem 1.25rem;
    }

    .quick-actions {
        padding: 1rem 1.25rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .sidebar-header {
        padding: 1.25rem 1rem;
    }

    .sidebar-user {
        padding: 1rem;
    }

    .quick-actions {
        flex-direction: column;
    }

    .quick-actions .btn {
        width: 100%;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-3 {
    padding: 1rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 3rem;
}

.fw-bold {
    font-weight: 700;
}

.fw-medium {
    font-weight: 500;
}

.rounded {
    border-radius: var(--border-radius);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

.rounded-xl {
    border-radius: var(--border-radius-xl);
}

.rounded-circle {
    border-radius: 50%;
}

.rounded-pill {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.border-0 {
    border: none !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.4s ease forwards;
}

/* ============================================
   ERROR PAGES
   ============================================ */

.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.error-box {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 500px;
    border: 1px solid var(--border-color);
}

.error-box h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================
   ICONS - Meta Icon Styling  
   ============================================ */

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--primary-color);
}

.icon-wrapper.sm {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
}

.icon-wrapper.lg {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
}

/* Meta-styled info items (replacing emojis) */
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.meta-item i {
    color: var(--primary-color);
    opacity: 0.8;
}

/* ============================================
   MODAL OVERRIDES
   ============================================ */

.modal-content {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.04) 0%, rgba(6, 182, 212, 0.02) 100%);
}

.modal-title {
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    background: #f8fafc;
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.25);
}

/* ============================================
   DROPDOWN OVERRIDES
   ============================================ */

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
}

.dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 0.25rem 0;
}