body { font-family:'Cairo',sans-serif; margin:0; padding:0; background:#f8fafc;  
    
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background-color: #1e3a8a;
    color: white;
    padding: 30px;
    text-align: center;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #334155;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
	font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1e40af;
}

.error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    text-align: center;
    padding: 40px;
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #334155;
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e293b;
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.header-left h1 {
    margin: 0;
    font-size: 22px;
}

.date {
    font-size: 13px;
    color: #cbd5e1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-box {
    background: #334155;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.logout-btn {
    background: #ef4444;
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #dc2626;
}
 

/* Forcer la police pour tous les selects */
select {
    font-family: 'Cairo', sans-serif;
    font-size: 16px; /* Ajuste la taille si nécessaire */
    padding: 8px;     /* Un peu de padding pour un rendu plus uniforme */
}

/* Optional : harmoniser les options */
select option {
    font-family: 'Cairo', sans-serif;
}