

body {
    background-color: #f8f9fa;
}

/* Add Iran Sans font to all Persian text */
*[lang="fa"],
.persian-text,
.fa-text,
* {
    font-family: 'IranSans', 'Sahel', 'Tahoma', sans-serif !important;
    direction: rtl;
}

.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    font-weight: bold;
}

.table {
    width: 100%;
    margin-bottom: 0;
}

.table th {
    background-color: #f1f1f1;
}

.navbar {
    margin-bottom: 20px;
}

.alert {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Change all blue (primary) colors to red */
.bg-primary {
    background-color: #dc3545 !important;
}

.btn-primary {
    background-color: #dc3545 !important;
    border-color: #c82333 !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
}

.text-primary {
    color: #dc3545 !important;
}

.btn-outline-primary {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: #dc3545 !important;
    color: white !important;
}

.page-link {
    color: #dc3545 !important;
}

.page-item.active .page-link {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

/* Make sure any links are also red */
a {
    color: #dc3545;
}

a:hover {
    color: #c82333;
}
