/* Custom styles for ANTAI identification page — complements DSFR CDN */

/* Page-level */
.antai-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.antai-page main {
    flex: 1;
}

/* Form block */
.bloc-formulaire {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.bloc-formulaire h1 {
    color: var(--text-title-grey);
    margin-bottom: 1rem;
}

.bloc-formulaire .description {
    margin-bottom: 2rem;
    color: var(--text-mention-grey);
    line-height: 1.6;
}

.bloc-formulaire .fr-input-group {
    margin-bottom: 1.5rem;
}

.bloc-formulaire .rgpd-notice {
    font-size: .875rem;
    color: var(--text-mention-grey);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.bloc-formulaire .fr-btn {
    width: 100%;
    justify-content: center;
}

/* Loading overlay */
.LoadingPage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
}

.LoadingPage .centre {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Marianne', arial, sans-serif;
}

.LoadingPage .centre .fr-logo {
    margin-bottom: 1.5rem;
}

.LoadingPage .centre span {
    display: block;
    font-size: 1.125rem;
    color: var(--text-default-grey);
    margin-top: 1rem;
}

/* Breadcrumb spacing */
.fr-breadcrumb {
    margin-bottom: 0;
}

/* Footer adjustments */
.fr-footer {
    margin-top: 2rem;
}

.fr-footer__content-desc {
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 767px) {
    .bloc-formulaire {
        padding: 1.5rem 1rem 2rem;
    }
}
