:root {
    --primary-color: #007BFF;
    --secondary-color: #28a745;
    --text-color: #ff2727;
    --tricondary-color: #006cdf;
}

.imagebutton {
    height: 20px;
    width: auto;
}
  
.buttonB{
    align-items: center;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: 0.3s;
}
.buttonV{
    align-items: center;
    background: var(--tricondary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: 0.3s;
}
.buttonR{
    align-items: center;
    background: var(--text-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: 0.3s;
}

.buttonB:hover,.buttonR:hover,.buttonV:hover {
    background: #00000083;
}

.champ{
    width: 70%;
    font-family: inherit;
    margin-bottom: 5px;
    height: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px; /* Coins légèrement arrondis */
    font-size: clamp(5px, 1.5vw, 22.5px);
    outline: none;
    transition: border-color 0.3s ease;
}
.champtext{
    font-family: inherit;
    margin-top: 0px;
    margin-bottom: 5px;
    width: 70%;
    height: 100px; /* Ajuste la hauteur selon ton besoin */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px; /* Coins légèrement arrondis */
    font-size: clamp(5px, 1.5vw, 22.5px);
    outline: none;
    resize: vertical; /* Permet de redimensionner verticalement mais pas horizontalement */
    transition: border-color 0.3s ease;
    resize: vertical;
}
.titre{ /*label au dessus des champs*/
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}


label{
    font-size: clamp(5px, 1.5vw, 22.5px);

    


}



/* Style global */
body,html {
    font-family: Arial, sans-serif;
    background-color: #e9e9e9;
    display: flex;
    align-items: center;
    height: 100vh;
    margin: 0;
    width: 100%;
    flex-direction: column;
}
html {
width:100vw;
}


/* Conteneur du formulaire de connexion */
.login-container {
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
}


.menuheader{
    width: 250px;
}













/* Conteneur principal après connexion */
.interface {
    width: 100%;
    align-self: center;
    padding: 5px;
}

/* En-tête (Header) */
.header {
    display: flex;


    background: var(--primary-color);
    padding: 8px;
    border-radius: 8px;
    margin: 20px;
    align-items: center;
}


h2 {
    margin-bottom: 20px;
    color: #333;
}
h3 {
    text-align: center;
    color: #333;
}
h4 {
    border-top: 2px solid rgb(68, 68, 68);
}
p {
    margin: 2px;
}

.creatprospectform {
    display: flex;
    flex-direction: column;
}

table {
    width: 100%;
    /* Définit la largeur */
    border-collapse: collapse;
    /* Supprime les espaces entre les bordures */
    border: 0px solid rgb(73, 73, 73);
    /* Ajoute une bordure autour du tableau */
    border-collapse: separate;
    /* Permet de séparer les bordures */
    border-spacing: 0;
    /* Évite les espaces entre les cellules */
    border-radius: 5px;
    /* Arrondi les coins */
    overflow: hidden;
    /* Empêche le débordement */
}

th,
td {
    border: 1px solid rgba(0, 0, 0, 0.048);
    padding-left: 10px;
    padding-right: 10px;

}

/* Section d'édition */
.edit {
    display: flex;
    flex-direction: row;
    justify-content: center;

}

/*les seciton dans bouton edit*/
.editrdv,
.creatprospectform,
.infoform {
    background-color: white;
    width: 45%;
    padding: 1.5%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

/* Conteneur principal des données */
.data {
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


/* Fond assombri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Fond gris semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* Toujours au-dessus des autres éléments */
    visibility: hidden;
    /* Caché par défaut */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.courrielform {   /*fenetre d'envoie courriel*/
    display: none; 
    width: 100%;
    max-width: 80vw;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    font-family: Arial, sans-serif;
}


.create-rdv-container {  /*fenetre de creation rdv*/
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 400px;
    text-align: center;
    position: relative;
    z-index: 1001;
}



.paneaunoir {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Fond noir avec opacité */
    z-index: 100; /* S'assurer que l'overlay est au-dessus du contenu */
    opacity: 1; /* Opacité de départ */
    transition: opacity 0.5s ease; /* Transition pour l'effet de fondu */
}

@media (orientation: portrait) {
    

    h3{
        font-size: 60px;

    }


    .login-container {
        margin: auto;
        background: white;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        width: 90vw;
    }

    .champ{
        font-family: inherit;
        width: 60%;
        
        margin-bottom: 15px;
        height: 50px;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 16px; /* Coins légèrement arrondis */
        font-size: clamp(5px, 8vw, 50px);
        outline: none;
        transition: border-color 0.3s ease;
    }
    .champtext{
        font-size: clamp(5px, 8vw, 50px);
        width:70vw;
   
    }

    
    .buttonB{
        align-items: center;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 20px 30px;
        border-radius: 15px;
        cursor: pointer;
        font-size: 40px;
        margin: 15px;
        transition: 0.3s;
    }

    h2 {
        margin-bottom: 40px;
        color: #333;
        font-size: 55px;
    }
    .menuheader{

        width: 80vw;


    }


    span {
        
        font-size: 45px;  /* Exemple : définit la taille de la police à 16px */
        
    }

    .imagebutton {
        /* Applique ton style ici */
        width: 40px; /* Exemple : définir une largeur de 40px */
        height: 40px; /* Exemple : définir une hauteur de 40px */
        filter: sepia(1) brightness(120%); /* Exemple : appliquer un filtre */
        border-radius: 16px; /* Exemple : arrondir les coins de l'image */
    }

    .edit {
        display: flex;
        flex-direction: column;
        justify-content: center;
    
    }


    .editrdv,
    .creatprospectform,
    .infoform {
        background-color: white;
        width: 93%;
        padding: 1.5%;
        border-radius: 20px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        margin: 20px;
    }

    label{
        font-size: clamp(5px, 8vw, 50px);


    }
}

