/* ============================================================
   auth.css — Shared styles for auth pages
   (login, reset-password, change-password)
   ============================================================ */

:root {
    --auth-accent: var(--accent-pink);       /* was #f9598a */
    --auth-accent-2: var(--accent-orange);   /* was #ff7d4b */
    --auth-dark: var(--bg-dark);             /* was #12121c */
}

body {
    background: radial-gradient(ellipse at 50% 45%, rgba(249, 89, 138, 0.13) 0%, var(--auth-dark) 55%);
    background-color: var(--auth-dark);
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

nav.navbar {
    display: none !important;
}

.logincontainer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

.auth-logo {
    margin-bottom: 1.5rem;
}

.auth-logo img {
    height: 40px;
}

.auth-logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #f2f0e8;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.auth-logo-text em {
    font-style: normal;
    color: #ff7d4b;
}

.wrapper {
    position: relative;
    width: 90%;
    max-width: 440px;
    background: rgba(18, 18, 28, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    padding: 2.5rem 3rem;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.wrapper .form-box {
    width: 100%;
}

.form-box h2 {
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #d1dede;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -12px;
    color: var(--auth-accent);
    font-size: 14px;
}

.input-box input,
.input-box input:focus,
.input-box input:valid,
.input-box input:not(:placeholder-shown) {
    width: 100%;
    height: 100%;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    background-color: transparent !important;
    outline: none;
    color: white !important;
    font-size: 1em;
    font-weight: 600;
    padding: 0 35px 0 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: none !important;
}

.input-box input:focus {
    border-bottom-color: var(--auth-accent);
    transition: border-color 0.3s ease;
}

/* Override browser autofill background */
.input-box input:-webkit-autofill,
.input-box input:-webkit-autofill:hover,
.input-box input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #13131e inset !important;
    -webkit-text-fill-color: white !important;
    caret-color: white;
}

.input-box .icon {
    position: absolute;
    right: 0;
    left: auto;
    display: inline-block;
    width: auto;
    color: #d1dede;
    line-height: 50px;
    font-size: 1.3em;
}

.remember-forgot {
    margin-top: 20px;
}

.remember-forgot a {
    text-decoration: none;
    color: var(--auth-accent);
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.make-account {
    margin: 15px 0 5px;
    text-align: center;
}

.make-account a {
    color: var(--auth-accent);
    text-decoration: none;
}

.submitBtn {
    width: 100%;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(90deg, var(--auth-accent), var(--auth-accent-2));
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    transition: transform 0.2s ease, opacity 0.3s ease;
    cursor: pointer;
}

.submitBtn:hover {
    transform: scale(1.02);
    opacity: 0.92;
}

.pw-toggle {
    cursor: pointer;
    user-select: none;
    pointer-events: all;
}

.auth-legal {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

.auth-legal a {
    color: var(--auth-accent);
    text-decoration: none;
}

.auth-legal a:hover {
    text-decoration: underline;
}
