.mafate-mediatheque-form {
    max-width: 500px;
    background: var(--input-background);
    padding: 1em;
    border: 1px solid var(--input-border-color);
}
.mafate-mediatheque-form label {
    display: block;
    font-size: var(--label-font-size, 0.9rem);
    margin-bottom: 0.25em;
}
.mafate-mediatheque-form input[type="text"],
.mafate-mediatheque-form input[type="email"],
.mafate-mediatheque-form input[type="tel"] {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid var(--input-border-color);
    border-radius: var(--input-border-radius);
    background: var(--input-background);
}
.mafate-mediatheque-form input[type="submit"] {
    background: var(--button-background, #3558a3);
    color: var(--button-color, var(--white));
    border: none;
    border-radius: var(--button-border-radius);
    padding: var(--button-padding);
    display: inline-block;
    margin: 0 auto;
}
.mafate-mediatheque-form .submit-row {
    text-align: center;
    margin-top: 1em;
}
.mafate-mediatheque-notice {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1em;
}
.mafate-mediatheque-notice--success {
    color: var(--success-color, #2f855a);
}
.med-package-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1em;
    margin-bottom: 1em;
    align-items: center;
}
.med-package-options .med-package-label {
    width: 100%;
    font-weight: 600;
}
.med-package-options label {
    display: flex;
    align-items: center;
    gap: 0.25em;
}
@media (min-width: 600px) {
    .mafate-mediatheque-form .name-fields,
    .mafate-mediatheque-form .contact-fields,
    .mafate-mediatheque-form .address-fields,
    .mafate-mediatheque-form .id-birth-fields {
        display: flex;
        gap: 1em;
    }
    .mafate-mediatheque-form .name-fields p,
    .mafate-mediatheque-form .contact-fields p,
    .mafate-mediatheque-form .address-fields p,
    .mafate-mediatheque-form .id-birth-fields p {
        flex: 1;
        margin-bottom: 1em;
    }
}
.mafate-tarifs {
    width: 100%;
    border-collapse: collapse;
}
.mafate-tarifs th,
.mafate-tarifs td {
    border: 1px solid #ddd;
    padding: 8px;
}

.mafate-tarifs th {
    text-align: center;
    font-size: 0.85em !important;
}

.mafate-tarifs td {
    font-size: 0.85em !important;
}

.mafate-tarifs th.price-col,
.mafate-tarifs td.price-col {
    width: 15%;
    text-align: right;
}

.mafate-tarifs .course-description {
    font-style: italic;
    color: #777;
}
.med-package-description {
    font-style: italic;
    color: #777;
    margin-top: -0.5em;
    margin-bottom: 1em;
}
.med-iban-info {
    margin-top: 1em;
    background: var(--input-background);
    padding: 1em;
    border: 1px solid var(--input-border-color);
    border-radius: var(--input-border-radius);
}
.med-iban-info .iban-title {
    text-align: center;
    margin-top: 0;
    font-size: 1.25rem;
}
.med-iban-info p {
    margin: 0.4em 0;
    display: flex;
    align-items: center;
}
.med-iban-info .label {
    font-weight: 600;
    margin-right: 0.4em;
}
.med-iban-info .iban-text,
.med-iban-info .ref-text {
    display: inline-block;
    font-family: monospace;
    letter-spacing: 0.05em;
    background: var(--white);
    padding: 0.25em 0.5em;
    border: 1px dashed var(--input-border-color);
    border-radius: var(--input-border-radius);
    margin-right: 0.25em;
}
.copy-iban {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0.3em;
}
.copy-iban .dashicons {
    color: var(--link-color, #3558a3);
    font-size: 20px;
}
