#card {
    width: 789px;
    height: 599px;
    position: relative;
    background-repeat: no-repeat; /* Remplace l'ancienne propriété background */
    background-size: contain;
    margin: 20px auto;
    display: block;
}

#photo {
    position: absolute;
    top: 105px;
    left: 465px;
    width: 319px;
    height: 350px;
    object-fit: cover;
    loading: eager;
}

.label {
    position: absolute;
    font-family: Arial, sans-serif;
    background: transparent;
    font-size: 25px;
    padding: 0;
    line-height: 1.1;
}

.label-text {
    color: #ff00ff;
}

.label-value {
    color: #000000;
    font-family: monospace;
}

.multiline {
    white-space: pre-wrap;
    max-width: 450px;
}

.name-label { top: 110px; left: 16px; }
.born-label { top: 150px; left: 16px; }
.location-label { top: 190px; left: 16px; }
.contacts-label { top: 230px; left: 16px; }
.experiences-label { top: 310px; left: 16px; } /* Ajusté pour un espace visuel de 40px après "Contacts" (2 lignes) */
.role-label { top: 350px; left: 16px; } /* Interligne de 40px */
.chastity-label { top: 390px; left: 16px; } /* Interligne de 40px */
.sexuality-label { top: 430px; left: 16px; } /* Interligne de 40px */
.fantasies-label { top: 470px; left: 16px; } /* Interligne de 40px */

/* Styles du formulaire */
form {
    max-width: 800px;
    margin: 20px auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #ff00ff;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    color: #000000;
    font-family: Arial, sans-serif;
}

input#contacts, textarea#fantasies {
    font-family: monospace;
    width: 100%;
    max-width: 456px;
}

select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    color: #000000;
    font-family: Arial, sans-serif;
}

.radio-group {
    display: flex;
    gap: 10px;
    margin: 5px 0;
}

.radio-group input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ff00ff;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.radio-group input[type="radio"]:checked {
    background-color: #ff00ff;
}

.radio-group input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-group label {
    margin: 0;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
}

button {
    background: #ff00ff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #cc00cc;
}

@media (max-width: 600px) {
    form {
        padding: 10px;
    }
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    .form-group {
        width: 100%;
    }
    label {
        font-size: 14px;
    }
    input, select, textarea {
        font-size: 14px;
        padding: 6px;
    }
    button {
        padding: 8px 16px;
        font-size: 14px;
    }
    input#contacts, textarea#fantasies {
        max-width: 100%;
    }
    .radio-group {
        flex-wrap: wrap;
    }
}