.admin-auth-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 24px 14px;
    background:
        radial-gradient(circle at top, rgba(18, 193, 255, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(3, 9, 23, 0.55), rgba(2, 7, 18, 0.9)),
        #020611;
    color: #f4f7fb;
    position: relative;
    overflow: hidden;
}

.admin-auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url('../asset/background.webp') center center / cover no-repeat;
    opacity: 0.22;
    transform: scale(1.05);
}

.admin-auth-page::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 22% 14%, rgba(102, 255, 198, 0.11), transparent 24%),
        radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.06), transparent 18%);
}

.auth-card {
    width: min(460px, 100%);
    padding: 34px 28px;
    border-radius: 30px;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(170deg, rgba(7, 13, 28, 0.9), rgba(8, 15, 29, 0.78));
    border: 1px solid rgba(181, 207, 255, 0.18);
    box-shadow:
        0 28px 55px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.auth-brand img {
    width: min(190px, 68%);
    height: auto;
}

.auth-card h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
}

.auth-card p {
    margin: 10px 0 24px;
    text-align: center;
    color: rgba(233, 239, 248, 0.72);
    line-height: 1.6;
}

.step-pill {
    width: fit-content;
    margin: 0 auto 18px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9fe5c0;
    background: rgba(53, 200, 145, 0.12);
    border: 1px solid rgba(117, 255, 177, 0.18);
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.94rem;
    color: rgba(244, 247, 251, 0.92);
}

.auth-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px 8px 16px;
    border-radius: 999px;
    background: rgba(19, 28, 48, 0.68);
    border: 1px solid rgba(155, 176, 218, 0.12);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.auth-input-wrap:focus-within {
    border-color: rgba(71, 236, 184, 0.55);
    box-shadow: 0 0 0 4px rgba(71, 236, 184, 0.12);
    transform: translateY(-1px);
}

.auth-input-wrap .material-symbols-rounded {
    color: rgba(239, 244, 251, 0.78);
}

.auth-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 12px 0;
    background: transparent;
    color: #f5f7fb;
    font-size: 1rem;
}

.auth-input-wrap input::placeholder {
    color: rgba(214, 224, 238, 0.42);
}

.auth-input-wrap .submit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #46f5c8, #1de0ff);
    color: #071320;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(46, 239, 195, 0.26);
    transition: transform 180ms ease, filter 180ms ease;
}

.auth-input-wrap .submit-icon:hover {
    transform: translateX(1px) scale(1.03);
    filter: brightness(1.05);
}

.auth-btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px 18px;
    border: 0;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #071320;
    background: linear-gradient(135deg, #59f3d0, #24d5ff);
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(39, 214, 243, 0.18);
    transition: transform 180ms ease, filter 180ms ease;
}

.auth-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.auth-note {
    margin-top: 14px;
    font-size: 0.92rem;
    color: rgba(220, 230, 245, 0.72);
    text-align: center;
}

.auth-link {
    color: #7decc4;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-alert.error {
    color: #ffdede;
    background: rgba(164, 31, 31, 0.22);
    border: 1px solid rgba(255, 124, 124, 0.26);
}

.auth-alert.success {
    color: #d9ffef;
    background: rgba(21, 124, 88, 0.22);
    border: 1px solid rgba(102, 255, 199, 0.2);
}

.auth-meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(174, 194, 230, 0.12);
    text-align: center;
    color: rgba(226, 234, 247, 0.68);
    font-size: 0.92rem;
}

@media (max-width: 640px) {
    .auth-card {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .auth-card h1 {
        font-size: 1.7rem;
    }

    .auth-input-wrap {
        padding-left: 14px;
    }

    .auth-input-wrap .submit-icon {
        width: 44px;
        height: 44px;
    }
}
