:root {
    --primary-color: #093C5D;
    --secondary-color: #3B7597;
    --success-color: #6FD1D7;
    --warning-color: #5DF8D8;
    --danger-color: #f72585;
    --bg-color: #f8f9fa;
    --sidebar-bg: #1b263b;
    --sidebar-width: 250px;
}

body {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    background-color: var(--bg-color);
    color: #2b2d42;
    font-size: 0.95rem;
    margin: 0;
}

.sidebar {
    background-color: var(--sidebar-bg);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--sidebar-width);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s;
}

.main-content {
    margin-right: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 30px;
    min-height: 100vh;
}

.sidebar h4 {
    color: #fff;
    font-weight: 800;
    padding: 25px 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar a {
    color: #e0e1dd;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 15px 25px !important;
    display: block !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar a:hover, .sidebar a.active {
    background-color: var(--primary-color);
    color: #fff !important;
    padding-right: 35px !important;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    font-weight: 700;
}

.card-stats {
    border-radius: 15px;
    overflow: hidden;
}

.card-stats h3 {
    font-weight: 800;
    margin-bottom: 0;
}

.btn {
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); }
.btn-primary:hover { background-color: var(--secondary-color); border-color: var(--secondary-color); }

.btn-success { background-color: #2ec4b6; border-color: #2ec4b6; }
.btn-danger { background-color: #e63946; border-color: #e63946; }

.table {
    border-radius: 15px;
    overflow: hidden;
}

.table thead th {
    background-color: #f1f5f9;
    border: none;
    color: #64748b;
    font-weight: 600;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-color: #f1f5f9;
}

.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.modal-content {
    border: none;
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid #eee;
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
    border-color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.badge {
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.dir-ltr {
    direction: ltr;
}

/* Login Styles */
.login-container {
    max-width: 450px;
    margin-top: 100px;
}

.login-container .card {
    border-radius: 20px;
    overflow: hidden;
}

.login-container .card-body {
    padding: 40px;
}

.login-container .btn-primary {
    padding: 12px;
    font-size: 1.1rem;
}
