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

:root {
    --primary-indigo: #4f46e5;
    --primary-indigo-dark: #3730a3;
    --primary-indigo-light: #818cf8;
    --bg-light: #f3f4f6;
    --text-main: #1f2937;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    direction: rtl;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Sidebar Styling */
.sidebar {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-indigo-dark) 100%);
    color: white;
    position: fixed;
    right: 0;
    top: 0;
    width: 280px;
    padding: 20px 0;
    z-index: 1000;
    border-radius: 0 0 0 24px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}

.sidebar .brand {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.sidebar .brand img {
    height: 60px;
    border-radius: 12px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    margin: 4px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

/* Main Content Area */
.main-content {
    margin-right: 280px;
    padding: 30px;
    min-height: 100vh;
}

/* Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 25px;
    position: relative;
    z-index: 1020;
}

/* Buttons */
.btn-indigo {
    background-color: var(--primary-indigo);
    color: white;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-indigo:hover {
    background-color: var(--primary-indigo-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Custom Gradients */
.bg-gradient-indigo {
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-indigo-light));
    color: white;
}
