        body {
            font-family: Arial, sans-serif;
           /* margin: 20px;*/
            background-color: #f5f5f5;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
        }
        .search-form {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .form-group {
            margin-bottom: 15px;
        }
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        input[type="text"],
        input[type="email"] {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }
   
        .rdv-container {
            background-color: white;
            margin: 20px 0;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .btn {
            padding: 8px 15px;
            margin: 0 5px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }

        .message {
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            background-color: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            text-align: center;
        }



/*////////////////////////////////////*/
/* pour afficher les redirections pour les modifications*/
/*/////////////////////////////////////////////*/


.button1 {
    background-color: #3b82f6;
    color: white;  /* Ajout de la couleur du texte */
    border: none;
     text-decoration: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    width: 80%;
    margin: 0 auto;
    display: inline-block;
    transition: background-color 0.2s;
    text-align: center;  /* Ajout de l'alignement du texte */
}

.button1:hover {
    background-color: #2563eb;
}




          /* style dialogue html5 */




        
        
        .dialog-style {
             border: none;
    margin: 0 auto;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    transform: none;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    text-align: center;
}


.dialog-style h2 {
    margin-top: 0;
    color: #000000;
     font-weight: bold;
}

.dialog-style p {
    margin: 10px 0;
    color: #000000;
    font-size: 20px;
    font-weight: bold;
}



/* Styles pour les boîtes de dialogue de modification et suppression */
        .dialog-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .dialog-content {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 90%;
            text-align: center;
            position: relative;
            margin: 20px;
        }

        .dialog-title {
            font-size: 1.5em;
            color: #2563eb;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .dialog-buttons {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .dialog-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.2s;
        }

        .dialog-btn-cancel {
            background-color: #e5e7eb;
            color: #374151;
        }

        .dialog-btn-confirm {
            background-color: #2563eb;
            color: white;
        }

        .dialog-btn:hover {
            opacity: 0.9;
        }

        .dialog-btn-cancel:hover {
            background-color: #d1d5db;
        }

        .dialog-btn-confirm:hover {
            background-color: #1d4ed8;
        }

        .dialog-content p {
            margin: 10px 0;
            color: #4b5563;
            font-size: 1.1em;
            line-height: 1.5;
        }
        /*style pour afficher*/
        .confirmation-box {
    background-color: #fff;
    padding: 30px 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 800px;
}

 .rendez-vous-section {
           background-color: #fff;
           border-radius: 8px;
           padding: 20px;
           box-shadow: 0 2px 4px rgba(0,0,0,0.1);
           max-width: 800px;
           
    margin-top: 20px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
       }

       .rendez-vous-list {
           margin: 15px 0;
       }

       .rendez-vous-item {
           padding: 15px;
           margin: 10px 0;
           background-color: #f8f9fa;
           border-radius: 5px;
           border-left: 4px solid #ff9800;
           /*transition: transform 0.2s ease;*/
       }

    

       .rendez-vous-item p {
           margin: 8px 0;
           color: #666;
       }

       .rendez-vous-item strong {
           color: #333;
           min-width: 120px;
           display: inline-block;
       }

       .section-title {
           color: #333;
           margin: 20px 0 10px;
           font-size: 1.5em;
           border-bottom: 2px solid #ff9800;
           padding-bottom: 10px;
       }
       
            .apn-png {
          max-width: 100%;
       }
       
            .retour_acceuil {
          float: right;
          text-decoration: none; 
          display: inline-block;
       }
     





   


/* Styles pour les modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.modal.visible {
    display: block;
}

.modal-content {
            position: absolute;
            top: 200px;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1001;
   /* position: relative;*/
    background-color: white;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-title {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2em;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

body.no-scroll {
    overflow: hidden;
}

        .btn-modifier {
            background-color: #2196F3;
            color: white;
        }
        .btn-supprimer {
            background-color: #f44336;
            color: white;
        }

/* Styles pour les boutons des modales */
.btn-modifier-modal, .btn-supprimer-modal {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: white;
}

.btn-modifier-modal {
    background-color: #2196F3;
}

.btn-supprimer-modal {
    background-color: #f44336;
}

.btn-annuler-modification, .btn-annuler-suppression {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    background-color: #e0e0e0;
    color: #333;
}

.btn-modifier-modal:hover, .btn-supprimer-modal:hover,
.btn-annuler-modification:hover, .btn-annuler-suppression:hover {
    opacity: 0.9;
}

/* Styles pour les messages d'erreur */

.error-message {
    display: none;
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.error-message.visible {
    display: block;
}

input.error {
    border-color: #dc3545;
    background-color: #fee2e2;
}



/* Styles pour les boutons (Rechercher et Retour à l'accueil) */

/* Conteneur des boutons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
    gap: 15px;
    align-items: stretch;
}

/* Styles communs aux deux boutons */
.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    height: 48px;
    line-height: 28px;
    flex: 1;
    text-decoration: none;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
}

.submit-btn:hover {
    background-color: #45a049;
}

  

/* Style spécifique pour le bouton retour à l'accueil */
.retour_acceuil {
    background-color: #2196F3;
    color: white;
}

.retour_acceuil:hover {
    background-color: #0b7dda;
}

/* Pour les écrans mobiles */
@media (max-width: 768px) {
    .form-buttons {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
        margin: 5px 0;
    }
}

.masked-email {
   font-weight: bold;
    color: #c73509;
    background-color: #dbeafe;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 24px;
    text-align: center;
}
    