/* Global styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url('fond.jpeg'); /* Image de fond */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* Popup styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    position: relative;
    background-color: rgba(255, 255, 255, 0.0);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Image cliquable */
.popup-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Bouton de fermeture (croix en haut à droite) */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #e04401;
    cursor: pointer;
    background-color: #231f20 ;
    padding: 5px;
    border-radius: 50%;
}

.close-button:hover {
    background-color: #e04401;
    color: #231f20;
}

/* Buttons container */
#buttons-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#buttons-container button {
    margin: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    background-color: #e04401; /* Couleur des boutons */
    color: white; /* Couleur de l'écriture */
    cursor: pointer;
    font-size: 16px;
    width: 45%;
}

#buttons-container button:hover {
    background-color: #a9605c;
}

#buttons-container button:active {
    background-color: #954d4a;
}
/* Admin panel styles */
.admin-panel {
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.admin-panel h2 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #1a392a;
}

.admin-panel form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-panel label {
    margin-bottom: 10px;
    font-size: 14px;
    color: #1a392a;
}

.admin-panel input {
    margin-bottom: 15px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

#image-preview-container {
    margin-bottom: 15px;
}

#image-preview {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none;
}

.admin-panel button {
    padding: 12px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.admin-panel button:hover {
    background-color: #218838;
}
/* Logo Cafés Modèle */
#logo-container {
    text-align: center;
    margin-top: 20px;
}

#logo {
    max-width: 200px;
    height: auto;
}

