/* iFrame Visio : Styles de l'iframe, cachée par défaut */
#visioIframe {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    background: white;
    z-index: 99999;
}

/* iFrame Paiement : Style pour masquer l'iframe */
#paySslIframe {
    display: none; /* Masquer l'iframe par défaut */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    background-color: white;
}

/* iFrame Paiement : Fond semi-transparent derrière le popup */
#overlay {
    display: none; /* Masquer l'overlay par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Carte Bancaire / Formulaire de paiement */
h2 {
    text-align: center;
    margin-bottom: 20px;
}
label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}
.input-container {
    position: relative;
}
input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    padding-right: 40px; /* Espace pour l'icône */
}
input:focus {
    border-color: #9A1480;
    outline: none;
}
button {
    width: 100%;
    padding: 12px;
    background-color: #000000;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #9A1480;
}
.card-type-logo {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: auto;
    display: none; /* Image cachée par défaut */
}
.error-message {
    color: red;
    font-size: 12px;
    display: none;
    margin-top: 5px;
}
