/* =========================================================
   PRO.LALEAGANE.RO
   AUTH.CSS — Pagini autentificare
   ========================================================= */

.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 20px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(79, 124, 255, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(255, 184, 0, 0.16),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #070a11 0%,
            #0b1020 48%,
            #111827 100%
        );
}

.auth-page::before,
.auth-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.auth-page::before {
    width: 340px;
    height: 340px;
    top: -120px;
    right: -100px;
    background: rgba(255, 184, 0, 0.08);
}

.auth-page::after {
    width: 420px;
    height: 420px;
    bottom: -180px;
    left: -140px;
    background: rgba(79, 124, 255, 0.08);
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 30px 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(17, 24, 39, 0.82);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    animation: authFadeUp 600ms ease both;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #ffb800,
        #ffd45c,
        transparent
    );
}

.auth-header {
    margin-bottom: 22px;
    text-align: center;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 184, 0, 0.28);
    border-radius: 999px;
    color: #ffd45c;
    background: rgba(255, 184, 0, 0.08);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-header h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 2.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.auth-header p {
    max-width: 420px;
    margin: 0 auto;
    color: #aeb7c8;
    font-size: 0.98rem;
    line-height: 1.65;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.auth-form label {
    color: #d8deea;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    min-height: 48px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    outline: none;
    color: #ffffff;
    background: rgba(7, 10, 17, 0.72);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.auth-form input::placeholder {
    color: #687386;
}

.auth-form input:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.auth-form input:focus {
    border-color: #ffb800;
    background: rgba(7, 10, 17, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.11);
    transform: translateY(-1px);
}

.auth-button {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    padding: 14px 20px;
    border: 0;
    border-radius: 14px;
    color: #101216;
    background: linear-gradient(
        135deg,
        #ffd45c,
        #ffb800 58%,
        #ff9800
    );
    box-shadow: 0 14px 36px rgba(255, 184, 0, 0.3);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(255, 184, 0, 0.42);
    filter: brightness(1.05);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-footer,
.auth-back {
    margin: 16px 0 0;
    text-align: center;
}

.auth-footer {
    color: #9ca6b8;
}

.auth-footer a,
.auth-back a {
    font-weight: 700;
    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.auth-footer a {
    color: #ffd45c;
}

.auth-footer a:hover {
    color: #ffb800;
}

.auth-back {
    margin-top: 14px;
}

.auth-back a {
    color: #7f8aa0;
    font-size: 0.92rem;
}

.auth-back a:hover {
    color: #ffffff;
}

.auth-card .alert {
    margin-bottom: 22px;
}

.auth-card .alert-error,
.auth-card .alert-danger {
    border: 1px solid rgba(255, 93, 108, 0.3);
    color: #ffc9ce;
    background: rgba(255, 93, 108, 0.1);
}

.auth-card .alert p {
    margin: 0;
}

@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .auth-page {
        align-items: flex-start;
        padding: 24px 14px;
    }

    .auth-card {
        margin-top: 24px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    .auth-header {
        margin-bottom: 24px;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .auth-form {
        gap: 17px;
    }
}

@media (max-width: 380px) {
    .auth-page {
        padding: 20px 10px;
    }

    .auth-card {
        margin-top: 12px;
        padding: 22px 16px;
    }

    .auth-header h1 {
        font-size: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card {
        animation: none;
    }

    .auth-button,
    .auth-form input,
    .auth-footer a,
    .auth-back a {
        transition: none;
    }
}


.forgot-password-row{display:flex;justify-content:flex-end;margin-top:-2px}
.forgot-password-row a{color:#ffd45c;font-size:.9rem;font-weight:700;text-decoration:none}
.forgot-password-row a:hover{color:#ffb800}
.auth-card .alert-success{border:1px solid rgba(65,211,145,.3);color:#c9ffe7;background:rgba(65,211,145,.1)}
.reset-code-input{text-align:center;font-size:1.55rem!important;font-weight:800;letter-spacing:.35em}

