/* ===== GLOBAL ===== */
*{
    font-family: "Open Sans", Verdana, Geneva, sans-serif;
    word-wrap: break-word;
}
body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    margin: 0;
    padding: 20px;
}

/* Champs */
 input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: 0.3s;
}

/* Focus */
.principal input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}


 .btn_add{
        background: #2c3e50;
        color: #fff;
        font-size: 1.8em;
        border-radius: 50%;
    }

/* ===== IMAGE PREVIEW ===== */
.preview {
    display: block;
    margin: 10px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4a90e2;
}



/* ===== TABLE DESKTOP ===== */
table {
    width: calc(100% - 4em);
    font-size: 0.7em;
    margin-left: 1em;
    margin-bottom: 3em;
    background-color: #fff;
    border: none;
    border-collapse: collapse; /* Recommandé pour les tableaux */
}

th {
    background: #2c3e50;
    color: #fff;
    text-align: left;
    border-bottom: 1px solid #2c3e50;
}

tr {
    text-align: center;
    border: none;
}

td {
     text-align: left;
    padding: 0.5em 0.8em;
    font-size: 14px;
    border: 1px dotted #2c3e50; /* Correction de la syntaxe */
}

tr:hover {
    background: #f2f6ff;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {

    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
        border-radius: 10px;
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 5px;
    }
}

/*popup notification*/



select {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/*popup*/
#popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 300px;
    z-index: 999;
}

#popup textarea {
    width: 100%;
    height: 80px;
    margin: 10px 0;
}

#popup button {
    width: 100%;
    margin-top: 5px;
    background: #2c3e50;
    color: #fff;
}