/* =========================
   🔐 PREMIUM AUTH STYLES
========================= */
* {
    user-select: none;
    box-sizing: border-box;
}

.auth-screen {
    position: absolute;
    inset: 0;
    padding: 30px 20px;
    background: #09103f;
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card */
.auth-card {
    background: #0a2a43;
    border-radius: 14px;
    padding: 35px 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.6s ease forwards;
}

/* Title */
.auth-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Input fields */
.auth-input {
    width: 100%;
    padding: 10px 14px;
    margin: 10px 0;
    border-radius: 20px;
    border: none;
    background: #123d5c;
    color: white;
    font-size: 16px;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.auth-input::placeholder {
    color: #d0d0d0;
    font-size: 13px;
    letter-spacing: 0.2px;
}

.auth-input:focus {
    outline: none;
    background: #0f2b44;
    transform: scale(1.02);
}

/* Password wrapper */
.auth-password-wrapper {
    position: relative;
    width: 100%;
}

.auth-password-wrapper .auth-input {
    padding-right: 42px;
}

/* Eye icon */
.auth-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.auth-eye:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

/* Remember checkbox */
.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    color: #d0d0d0;
}

/* Buttons */
/* =========================
   BUTTONS
========================= */

.auth-btn {
    position: relative;
    overflow: hidden;

    width: 100%;

    padding: 14px 16px;
    margin-top: 16px;

    border: none;
    border-radius: 16px;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease,
        background 0.25s ease;

    user-select: none;
}

/* ACTIVE PRESS */
.auth-btn:active {
    transform: scale(0.97);
}

/* PRIMARY BUTTON */
.auth-primary-btn {
    color: white;

    background:
        linear-gradient(
            135deg,
            #3b82f6 0%,
            #2563eb 50%,
            #1d4ed8 100%
        );

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.auth-primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(37, 99, 235, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

/* GUEST BUTTON */
.auth-guest {
    color: #dbeafe;

    border: 1px solid rgba(255,255,255,0.15);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.03)
        );

    backdrop-filter: blur(8px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.auth-guest:hover {
    transform: translateY(-2px);

    border-color: rgba(255,255,255,0.3);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.14),
            rgba(255,255,255,0.05)
        );
}

/* SHIMMER EFFECT */
.auth-btn::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.18),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.7s ease;
}

.auth-btn:hover::before {
    left: 140%;
}

.auth-error {
    color: #ff6b6b;
    margin-top: 10px;
    font-size: 14px;
    min-height: 18px;
}

.auth-toggle {
    margin-top: 18px;

    font-size: 14px;
    color: #d0d0d0;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

/* CLICKABLE ACTION WORD */
.auth-toggle span {
    color: #ff5a5f;

    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 3px;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.auth-toggle:hover span {
    color: #ff8084;
}

/* AUTH INFORMATION LINKS */
.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;

    margin-top: 18px;

    font-size: 12px;
    line-height: 1.5;

    color: #9fb3c8;
}

.auth-links a {
    color: #9fb3c8;
    text-decoration: none;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.auth-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-links span {
    color: #5f7890;
    user-select: none;
}