/**
 * FICHIER : assets/css/auth-public.css
 * -------------------------------------------------------------------------
 * Pages publiques de connexion et d'inscription.
 * -------------------------------------------------------------------------
 */

.auth-card {
    display: grid;
    width: min(100%, 430px);
    box-sizing: border-box;
    gap: 14px;
    margin: 14px auto;
    padding: 22px;
    border: 1px solid var(--ui-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--ui-shadow);
}

.auth-card-wide {
    width: min(100%, 720px);
}

.auth-card h1,
.auth-card p {
    margin: 0;
}

.auth-card h1 {
    color: var(--ui-text);
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.auth-description,
.auth-footer-text {
    color: var(--ui-muted);
    line-height: 1.6;
}

.auth-card-icon,
.auth-choice-icon {
    display: grid;
    place-items: center;
    background: var(--ui-primary-soft);
    color: var(--ui-primary);
}

.auth-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
}

.auth-choice-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.auth-large-icon {
    width: 27px;
    height: 27px;
}

.auth-choice-svg {
    width: 20px;
    height: 20px;
}

.auth-large-icon,
.auth-choice-svg,
.auth-button-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-button-icon {
    width: 17px;
    height: 17px;
}

.auth-form,
.auth-form-section,
.auth-form label {
    display: grid;
    gap: 8px;
}

.auth-form {
    gap: 15px;
}

.auth-form label > span {
    color: #344054;
    font-size: 0.84rem;
    font-weight: 800;
}

.auth-form input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 10px 11px;
}

.auth-form-grid,
.auth-choice-grid {
    display: grid;
    gap: 11px;
}

.auth-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-choice-card {
    align-content: start;
    padding: 13px;
    border: 1px solid var(--ui-border);
    border-radius: 13px;
    background: #fbfcff;
}

.auth-choice-card small {
    min-height: 42px;
    color: var(--ui-muted);
    line-height: 1.45;
}

.auth-submit-button {
    width: 100%;
}

.auth-footer-text {
    font-size: 0.88rem;
    text-align: center;
}

.auth-footer-text a {
    color: var(--ui-primary);
    font-weight: 800;
}

@media (max-width: 620px) {
    .auth-form-grid,
    .auth-choice-grid {
        grid-template-columns: 1fr;
    }
}
