/* ============================================================
   认证页面样式 - 登录 / 注册
   ============================================================ */

.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 48px 40px;
    border-radius: var(--r-2xl);
    animation: auth-in 0.7s var(--ease-spring);
}

@keyframes auth-in {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.18), rgba(48, 209, 88, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow:
        0 0 0 6px rgba(10, 132, 255, 0.06),
        0 8px 24px -4px rgba(10, 132, 255, 0.30);
}

.auth-title {
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--label-3);
}

.auth-form { display: block; }

.auth-submit {
    width: 100%;
    margin-top: 8px;
    padding: 14px 22px;
    font-size: 15px;
    justify-content: center;
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--label-3);
}

.auth-footer a {
    color: var(--system-blue);
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #4ca1ff;
}

/* 分隔线 */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0 18px;
    gap: 12px;
    font-size: 12px;
    color: var(--label-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* 其他入口链接 - 管理员/员工登录 */
.auth-alt-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255, 159, 10, 0.06);
    border: 1px solid rgba(255, 159, 10, 0.25);
    border-radius: 14px;
    color: #ff9f0a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.auth-alt-link:hover {
    background: rgba(255, 159, 10, 0.14);
    border-color: rgba(255, 159, 10, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 159, 10, 0.15);
}
.auth-alt-link .auth-alt-arrow {
    margin-left: auto;
    transition: transform 0.25s ease;
}
.auth-alt-link:hover .auth-alt-arrow {
    transform: translateX(4px);
}

.back-link {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 10;
    color: var(--label-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: rgba(20, 20, 24, 0.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: all 0.2s var(--ease-out);
}

.back-link:hover {
    color: var(--label-1);
    background: rgba(30, 30, 36, 0.75);
    border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 480px) {
    .auth-card { padding: 36px 24px; }
    .auth-title { font-size: 24px; }
}
