/* ✅ Style général */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* ✅ Conteneur principal */
.dashboard-container {
    width: 90%;
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ✅ Titre */
h1 {
    font-size: 1.6em;
    color: #007bff;
}

/* ✅ Message de succès */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: bold;
}

/* ✅ Tableaux pour les rendez-vous */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9em;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
}

table th {
    background: #007bff;
    color: white;
}

/* ✅ Optimisation du tableau sur mobile */
@media screen and (max-width: 600px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ✅ Formulaire de prise de rendez-vous */
form {
    margin-top: 15px;
}

.form-group {
    text-align: left;
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
}

select, input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

/* ✅ Boutons */
.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* ✅ Footer */
.dashboard-footer {
    margin-top: 20px;
}

.dashboard-footer .btn {
    display: block;
    width: 90%;
    margin: 5px auto;
}

/* ✅ Messages d'alerte */
.warning-message {
    background: #ffcc00;
    color: black;
    padding: 10px;
    font-weight: bold;
    border-radius: 5px;
}
