/* public/css/auth-app.css — app-like sign-in, sign-up and password pages (layouts/auth_header.php). */

body.auth-wrapper {
    background: #f4f5fb;
    color: #1f2340;
    -webkit-tap-highlight-color: transparent;
}
.auth-hero {
    padding: calc(env(safe-area-inset-top, 0px) + 2.25rem) 1rem 4.5rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 32px 32px;
}
.auth-logo {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(15, 18, 60, .35);
}
.auth-brand { margin-top: .75rem; font-size: 1.75rem; font-weight: 800; line-height: 1.2; }
.auth-tagline { margin-top: .2rem; font-size: .92rem; opacity: .9; }

/* Every auth view centres its card in a full-height row; pull it up over the hero instead. */
body.auth-wrapper .row.min-vh-100 {
    min-height: 0 !important;
    align-items: flex-start !important;
    margin-top: -3rem;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
}
body.auth-wrapper .container { max-width: 520px; }
body.auth-wrapper .card {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(31, 35, 64, .12) !important;
    overflow: hidden;
}
body.auth-wrapper .card-header {
    background: #fff;
    border-bottom: 0;
    padding-bottom: 0;
}
body.auth-wrapper .card-header h3, body.auth-wrapper .card-header h2 {
    font-size: 1.35rem;
    font-weight: 800 !important;
    color: #1f2340;
    margin: 1.1rem 0 .25rem !important;
}
body.auth-wrapper .card-body { padding: 1.25rem; }
body.auth-wrapper .card-footer {
    background: #fafbff;
    border-top: 1px solid #eef0f6;
    padding: 1rem;
}
body.auth-wrapper .form-control, body.auth-wrapper .form-select {
    border-radius: 14px;
    border: 1px solid #dfe2ef;
    background-color: #fbfbfe;
    font-size: 16px; /* no zoom on iPhone */
}
body.auth-wrapper .form-control:focus {
    border-color: #8f8ff0;
    background-color: #fff;
    box-shadow: 0 0 0 .2rem rgba(102, 126, 234, .18);
}
body.auth-wrapper .form-floating > label { color: #7a7f9c; }
body.auth-wrapper .btn { border-radius: 14px; font-weight: 800; padding: .75rem 1rem; }
body.auth-wrapper .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, .35);
}
body.auth-wrapper .btn-primary:hover { filter: brightness(1.05); transform: none; }
body.auth-wrapper .alert { border: 0; border-radius: 14px; }
body.auth-wrapper a { color: #5b5fe0; font-weight: 700; }
@media (min-width: 768px) {
    .auth-hero { padding-top: 3rem; padding-bottom: 5rem; }
}
