/* ========== MODALE ========== */
#rmv-contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

#rmv-contact-modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

#rmv-form-message {
    min-height: 20px;
    display: block !important;
}

.rmv-modal__overlay {
    position: absolute;
    /* Positionne l'élément par rapport au parent (rmv-modal__content) */
    inset: 0;
    /* Remplit tout l'espace : top, right, bottom, left à 0 */
    background: rgba(0, 0, 0, 0.2);
    /* Fond noir semi-transparent (20% d'opacité) */
}

.rmv-modal__content {
    position: relative;
    background: white;
    border-radius: 0.25rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
    width: 90vw;
    max-width: 35rem;
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(1.5rem, 5vw, 2rem);
    display: flex;
    flex-direction: column;
}

.rmv-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.rmv-modal__close:hover {
    color: #333;
}


.rmv-modal__title {
    font-size: 16px;
}

/* ========== FORMULAIRE ========== */
.rmv-select {
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}

.rmv-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rmv-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.rmv-field-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.rmv-field-group--inline .rmv-field {
    flex: 1;
    min-width: 8rem;
}

.rmv-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rmv-label {
    font-size: 0.95rem;
    text-align: left;
}

.rmv-required {
    color: #d63031;
}

.rmv-input {
    padding: 0.5rem;
    font-size: 0.95rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.25rem;
    background: #fafafa;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.rmv-input:focus {
    outline: none;
    background: white;
    border-color: #333;
}

/* ========== QUILL ========== */
.rmv-editor {
    min-height: 6rem;
    resize: vertical;
}

.rmv-editor .ql-editor {
    min-height: 5rem;
}

/* ========== HONEYPOT ========== */
.rmv-honeypot {
    display: none;
    position: absolute;
    left: -9999px;
}

/* ========== BOUTON ========== */
.rmv-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: #333;
    color: white;
    border: 1px solid #333;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
    width: 100%;
    text-align: center;
}

.rmv-btn:hover {
    background: #555;
    border-color: #555;
}

/* Pour le texte explicatif Session */
.rmv-session-hint {
    font-size: 13px;
    color: #555;
    text-align: left;
}

/* ========== Pour le champ Session ========== */
.rmv-session-input {
    font-family: monospace;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ========== Pour la trad Es ========== */

.rmv-label--es {
    font-size: 0.85rem;
    color: #bbb;
    margin-left: 0.3rem;
    font-weight: 400;
}















