/* style.css - Le côté STYLÉ */

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0b0c10; /* Fond très sombre */
    color: #c5c6c7; /* Texte gris clair */
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: #1f2833; /* Bandeau plus sombre */
    padding: 20px 0;
    border-bottom: 3px solid #66fcf1; /* Bordure turquoise pour le style */
}

header h1 {
    color: #66fcf1; /* Texte principal en turquoise */
    font-size: 2.5em;
    margin: 0;
    font-weight: 700;
}

header p {
    margin: 5px 0 0 0;
    font-weight: 300;
}

main {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh; /* Pour centrer verticalement */
}

.status-box {
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 600px;
    width: 100%;
}

.status-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.status-box h2 {
    font-size: 2em;
    margin-top: 0;
}

.detail-message {
    font-size: 1.2em;
    margin: 20px 0;
}

/* Style spécifique pour le statut DISPONIBLE */
.available {
    background: #33a36c; /* Vert profond */
    color: #0b0c10;
    border: 2px solid #2ecc71;
}

.available h2, .available .detail-message {
    color: white;
}

/* Style spécifique pour le statut INDISPONIBLE */
.unavailable {
    background: #c0392b; /* Rouge profond */
    color: white;
    border: 2px solid #e74c3c;
}

.unavailable h2, .unavailable .detail-message {
    color: #f1c40f; /* Jaune/Orange pour le contraste */
}

.btn-order {
    display: inline-block;
    background-color: #1abc9c; /* Vert/Bleu Vif */
    color: #0b0c10;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-order:hover {
    background-color: #16a085;
}

.wait-info {
    font-style: italic;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.8);
}

footer {
    background-color: #1f2833;
    padding: 15px 0;
    font-size: 0.8em;
    color: #45a29e;
    border-top: 1px solid #0b0c10;
}

footer a {
    color: #45a29e;
    text-decoration: none;
}