/* 认证页面样式 */
.auth-container {
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 50px;
    position: relative;
}

/* 认证页面左上角Logo */
.auth-page-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 100;
}

.auth-page-logo a {
    text-decoration: none;
}

.auth-page-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

@media (max-width: 768px) {
    .auth-page-logo {
        top: 20px;
        left: 20px;
    }
    
    .auth-page-logo .logo-text {
        font-size: 24px;
    }
}

.auth-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.auth-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label .required {
    color: #ff4444;
    margin-right: 4px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background-color: #e3f2fd;
    border: 1px solid #e3f2fd;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2196F3;
    background-color: #ffffff;
}

.form-group input::placeholder {
    color: #999999;
}

/* 密码输入框容器 */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #2196F3;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* 验证码输入组 */
.verification-group {
    display: flex;
    gap: 10px;
}

.verification-group input {
    flex: 1;
}

.verification-btn {
    padding: 12px 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.verification-btn:hover:not(:disabled) {
    background-color: #e0e0e0;
    border-color: #bdbdbd;
}

.verification-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #2196F3;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background-color: #1976D2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
}

.auth-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666666;
}

.auth-footer-links a {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer-links a:hover {
    color: #1976D2;
    text-decoration: underline;
}

.auth-footer-links .separator {
    color: #cccccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-container {
        padding: 80px 15px 30px;
    }

    .auth-card {
        padding: 40px 30px;
        max-width: 100%;
    }

    .auth-title {
        font-size: 28px;
    }

    .auth-subtitle {
        font-size: 13px;
    }

    .verification-group {
        flex-direction: column;
    }

    .verification-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-title {
        font-size: 24px;
    }

    .form-group input {
        padding: 10px 14px;
        font-size: 14px;
    }

    .auth-submit-btn {
        padding: 12px;
        font-size: 15px;
    }
}

