/* ==========================================================
 * 登录/注册页高级样式（居中卡片 + 网站风格）
 * ========================================================== */

.mjvfx-auth-section {
    position: relative;
    min-height: 100vh;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

/* 背景图片层 */
.mjvfx-auth-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 背景视频层 */
.mjvfx-auth-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.mjvfx-auth-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.mjvfx-auth-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(95, 58, 252, 0.12) 0%, transparent 70%);
    z-index: 1;
}

/* 居中卡片 */
.mjvfx-auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    background: rgba(26, 26, 26, 0.92);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 44px 40px 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mjvfx-auth-card-head {
    text-align: center;
    margin-bottom: 32px;
}

.mjvfx-auth-card-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.mjvfx-auth-card-head p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 输入框 */
.mjvfx-auth-form .single-input {
    margin-bottom: 20px;
}

.mjvfx-auth-form .single-input label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

.mjvfx-auth-form .single-input input[type="text"],
.mjvfx-auth-form .single-input input[type="email"],
.mjvfx-auth-form .single-input input[type="password"] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 15px;
    color: #fff;
    transition: all 0.25s ease;
}

.mjvfx-auth-form .single-input input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.mjvfx-auth-form .single-input input:focus {
    border-color: #5f3afc;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(95, 58, 252, 0.15);
    outline: none;
}

.mjvfx-auth-form .single-input input:disabled {
    background: rgba(255, 255, 255, 0.06);
    cursor: not-allowed;
}

/* 复选框 */
.mjvfx-auth-form .single-input label.inline-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.mjvfx-auth-form .single-input input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5f3afc;
    cursor: pointer;
}

/* 按钮 - 复用网站 button-1 风格 */
.mjvfx-auth-form button[type="submit"],
.mjvfx-auth-form .button-1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 10px;
    background: #262626;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.mjvfx-auth-form button[type="submit"]:hover,
.mjvfx-auth-form .button-1:hover {
    background: #5f3afc;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(95, 58, 252, 0.35);
}

.mjvfx-auth-form button[type="submit"]:disabled,
.mjvfx-auth-form .button-1:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 发送验证码按钮 */
.mjvfx-auth-form #sendCode {
    width: auto;
    min-width: 150px;
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
    margin-top: 10px;
}

/* 底部链接 */
.mjvfx-auth-card-footer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid hsla(0, 0%, 100%, 0.08);
    text-align: center;
}

.mjvfx-auth-card-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.mjvfx-auth-card-footer a {
    color: #5f3afc;
    font-weight: 500;
}

.mjvfx-auth-card-footer a:hover {
    color: #7c5cff;
}

.mjvfx-auth-forgot-link {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.mjvfx-auth-forgot-link:hover {
    color: #5f3afc;
}

/* 已登录状态 */
.mjvfx-auth-card .text-center p {
    color: rgba(255, 255, 255, 0.75);
}

/* Alert 提示 */
.mjvfx-auth-card .alert {
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.35);
}

.mjvfx-auth-card .alert-danger {
    background: rgba(229, 62, 62, 0.12);
    color: #fc8181;
}

.mjvfx-auth-card .alert-success {
    background: rgba(72, 187, 120, 0.12);
    color: #68d391;
}

/* 响应式 */
@media (max-width: 575px) {
    .mjvfx-auth-section {
        padding: 40px 16px;
        min-height: calc(100vh - 120px);
    }

    .mjvfx-auth-card {
        padding: 32px 24px;
        border-radius: 14px;
    }

    .mjvfx-auth-card-head h2 {
        font-size: 24px;
    }

    .mjvfx-auth-form .single-input input[type="text"],
    .mjvfx-auth-form .single-input input[type="email"],
    .mjvfx-auth-form .single-input input[type="password"] {
        height: 50px;
    }

    .mjvfx-auth-form button[type="submit"] {
        height: 50px;
    }
}
