
/* ==========================================
   PAGE INSCRIPTION DES SOCIÉTÉS
   ========================================== */

.societes-panel {
    margin-bottom: 2.5rem;
}


/* ==========================================
   INTRODUCTION
   ========================================== */

.societes-intro {
    text-align: center;

    color: #64748b;

    margin-bottom: 2rem;
}


/* ==========================================
   IFRAME DU FORMULAIRE
   ========================================== */

.societes-iframe-container {
    width: 100%;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #f8f0f1;
}

.societes-iframe-container iframe {
    display: block;

    width: 100%;

    height: 1800px;

    border: none;

    background: white;
}


/* ==========================================
   LIEN DE SECOURS
   ========================================== */

.societes-fallback {
    padding: 1.5rem;

    text-align: center;

    background: #f8fafc;

    border: 1px solid var(--border);

    border-radius: 10px;

    margin-top: 1.5rem;
}

.societes-fallback p {
    color: #64748b;

    margin: 0 0 0.5rem;
}

.societes-link {
    display: inline-block;

    color: var(--primary);

    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}

.societes-link:hover {
    color: var(--primary-dark);

    text-decoration: underline;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {

    .societes-iframe-container iframe {
        height: 2000px;
    }

}

@media (max-width: 480px) {

    .societes-iframe-container iframe {
        height: 2200px;
    }

    .societes-fallback {
        padding: 1.2rem 0.8rem;
    }

}
