body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.container {
    text-align: center;
    background: white;
    padding: 60px 80px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
    width: 100%;
    max-width: 800px;
}

h1 {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 86, 179, 0.4);
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .container {
        padding: 40px 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .button-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour la barre de recherche et le bouton */
.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#pharmacy-search {
    padding: 15px 20px;
    font-size: 18px;
    border: 2px solid #007bff;
    border-radius: 50px 0 0 50px;
    width: 300px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#pharmacy-search:focus {
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border: 2px solid #007bff;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
}

button:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.5);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .search-bar {
        flex-direction: column; /* Change la direction du flex pour empiler verticalement */
        align-items: center; /* Centre les éléments horizontalement */
    }

    #pharmacy-search {
        width: 300px; /* Réduit la largeur pour les écrans jusqu'à 768px */
        border-radius: 50px; /* Bords arrondis pour les écrans plus petits */
    }

    button {
        width: 200px; /* S'assure que le bouton soit aligné avec le champ de recherche */
        margin-top: 10px; /* Ajoute un espace entre le champ de recherche et le bouton */
        border-radius: 50px; /* Bords arrondis pour les écrans plus petits */
    }
}

@media (max-width: 480px) {
    #pharmacy-search {
        width: 200px; /* Réduit encore plus la largeur pour les écrans jusqu'à 480px */
        border-radius: 50px; /* Bords arrondis restent pour les écrans encore plus petits */
    }

    button {
        width: 150px; /* Réduit aussi la largeur du bouton */
        border-radius: 50px; /* Bords arrondis restent pour les écrans encore plus petits */
    }
}


/* RESULT STYLE*/

.results {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    background-color: #f0f4f8;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pharmacy-item {
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pharmacy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pharmacy-item strong {
    font-size: 20px;
    color: #007bff;
    display: block;
    margin-bottom: 10px;
}

.pharmacy-item p {
    margin: 5px 0;
    font-size: 16px;
    color: #333;
}

.pharmacy-item p span {
    font-weight: bold;
    color: #0056b3;
}

.pharmacy-item .icon {
    margin-right: 10px;
    color: #007bff;
}

@media (max-width: 768px) {
    .pharmacy-item {
        padding: 15px;
    }

    .pharmacy-item strong {
        font-size: 18px;
    }

    .pharmacy-item p {
        font-size: 14px;
    }
}


.statut-garde {

   
    font-weight: bold;
    color: green;
}

.statut-non-garde {
    color: black; /* Couleur par défaut */
}

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.link-left, .link-right {
    text-decoration: none;
    font-weight: bold;
    color: #007bff;
    transition: color 0.3s ease;
}

.link-left:hover, .link-right:hover {
    color: #0056b3;
}

