/* Mise en page autonome des pages de connexion et d’inscription. */
.guest-body {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    flex-direction: column;
    color: #12233a;
    background: radial-gradient(circle at 10% 4%, rgba(64, 145, 255, .38), transparent 30%),
                radial-gradient(circle at 90% 94%, rgba(0, 189, 255, .20), transparent 32%),
                linear-gradient(145deg, #031c42 0%, #075ac8 58%, #063570 100%);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.guest-body .guest-main {
    display: flex;
    width: 100%;
    min-height: 0;
    padding: 22px 14px;
    flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guest-body .guest-panel {
    display: block;
    width: 100%;
    max-width: 430px;
    margin: auto;
    padding: 24px 18px 20px;
    background: rgba(255, 255, 255, .99);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 25, 65, .30);
}

.guest-body .guest-panel-wide { max-width: 500px; }

.guest-body .guest-brand {
    display: flex;
    width: 100%;
    margin: 0 0 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #04234f;
    font-size: 1.25rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.guest-body .guest-brand img {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto;
    object-fit: cover;
    background: white;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(7, 90, 200, .24);
}

.guest-body .guest-panel h1 {
    margin: 0 0 20px;
    color: #04234f;
    font-size: 1.7rem;
    line-height: 1.15;
    text-align: center;
}

.guest-body .guest-panel .form-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.guest-body .guest-panel label {
    color: #263a56;
    font-size: .87rem;
    font-weight: 800;
}

.guest-body .guest-panel input,
.guest-body .guest-panel select,
.guest-body .guest-panel textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 11px 13px;
    color: #12233a;
    background: white;
    border: 1px solid #b7cbe3;
    border-radius: 11px;
}

.guest-body .guest-panel .button {
    display: flex;
    width: 100%;
    min-height: 50px;
    padding: 11px 18px;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, #0872ed, #063b80);
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(7, 90, 200, .20);
    font-weight: 850;
    text-align: center;
}

.guest-body .guest-actions {
    display: grid;
    width: 100%;
    margin-top: 20px;
    padding-top: 17px;
    gap: 9px;
    border-top: 1px solid #dce6f2;
    text-align: center;
}

.guest-body .guest-actions a {
    display: flex;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    align-items: center;
    justify-content: center;
    color: #063b80;
    background: #f4f8ff;
    border: 1px solid #d3e3f7;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.guest-body .guest-actions .guest-action-primary {
    color: white;
    background: #063b80;
    border-color: #063b80;
}

.guest-body .site-footer {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    color: #cfe2ff;
    background: rgba(2, 25, 61, .36);
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.guest-body .footer-content {
    display: flex;
    min-height: 62px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #cfe2ff;
    text-align: center;
    font-size: .72rem;
}

.guest-body .footer-content strong {
    color: white;
    font-size: .76rem;
}

@media (max-height: 700px) {
    .guest-body .guest-main { padding-block: 10px; }
    .guest-body .guest-panel { padding: 14px 16px 13px; border-radius: 20px; }
    .guest-body .guest-brand { margin-bottom: 5px; gap: 2px; font-size: 1.05rem; }
    .guest-body .guest-brand img { width: 64px; height: 64px; }
    .guest-body .guest-panel h1 { margin-bottom: 11px; font-size: 1.5rem; }
    .guest-body .guest-actions { margin-top: 12px; padding-top: 10px; gap: 5px; }
    .guest-body .footer-content { min-height: 52px; padding-block: 7px; }
}
