/* ALFAPOS Auth Pages — Sneat-style */

body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Public Sans', 'Inter', system-ui, sans-serif;
    background: #f5f5f9;
    background-image:
        radial-gradient(at 20% 20%, rgba(105,108,255,0.10) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(140,146,255,0.08) 0px, transparent 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: #566a7f;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 1.875rem rgba(67, 89, 113, .15);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}
.auth-brand img {
    height: 56px;
    width: auto;
    margin-bottom: 0.75rem;
}
.auth-brand-text {
    font-size: 1.375rem;
    font-weight: 700;
    background: linear-gradient(135deg, #696cff, #8c92ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: -0.02em;
}
.auth-brand-sub {
    font-size: 0.8125rem;
    color: #a1acb8;
    margin-top: 0.25rem;
}

.auth-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem;
}
.auth-card .subtitle {
    color: #a1acb8;
    margin: 0 0 1.75rem;
    font-size: 0.9375rem;
}

.form-group { margin-bottom: 1.125rem; }

.form-label {
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
    display: block;
}

.form-control {
    width: 100%;
    border: 1px solid #d9dee3;
    border-radius: 0.5rem;
    padding: 0.625rem 0.875rem;
    color: #2d3748;
    font-size: 0.9375rem;
    background: #fff;
    transition: all .2s;
    box-sizing: border-box;
}
.form-control:focus {
    outline: 0;
    border-color: #696cff;
    box-shadow: 0 0 0 0.15rem rgba(105,108,255,.25);
}

.form-row-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}
.form-check input { accent-color: #696cff; }
.forgot-link { font-size: 0.875rem; color: #696cff; text-decoration: none; }
.forgot-link:hover { color: #5f63f2; }

.btn-auth {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #696cff, #5f63f2);
    color: #fff;
    border: 0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 0.25rem 0.625rem rgba(105,108,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-auth:hover { transform: translateY(-1px); box-shadow: 0 0.375rem 0.875rem rgba(105,108,255,.5); }
.btn-auth:active { transform: translateY(0); }

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #a1acb8;
    font-size: 0.875rem;
}
.auth-footer a { color: #696cff; text-decoration: none; font-weight: 500; }
.auth-footer a:hover { color: #5f63f2; }

.auth-version {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(161, 172, 184, 0.8);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.alert-danger  { background: rgba(255, 62, 29, 0.16);  color: #d63223; }
.alert-success { background: rgba(113, 221, 55, 0.16); color: #5d9a2e; }
.alert-warning { background: rgba(255, 171, 0, 0.16); color: #cc8900; }
.alert-info    { background: rgba(3, 195, 236, 0.16); color: #029db8; }

@media (max-width: 480px) {
    .auth-card { padding: 1.75rem 1.25rem; }
}
