/* 页面容器 */
.auth-single {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    padding: 20px;
}

/* 卡片容器 */
.auth-single-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

/* 头部 */
.auth-single-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-single-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.auth-single-subtitle {
    font-size: 14px;
    color: #8c8c8c;
}

/* 切换按钮组 */
.auth-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f5f7fa;
    border-radius: 12px;
    padding: 4px;
}

.auth-toggle button {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-toggle button.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 表单字段 */
.auth-field {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.auth-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}

.auth-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-input::placeholder {
    color: #bfbfbf;
}

.reg-btn {
     border: 1px solid #4690CE;
    border-radius: 50px;
   padding:3px 25px 2px 25px;
    text-align: center;
    line-height: 22px;
    box-sizing: border-box;
        font-size: 1rem;
    color: #4690CE;
    cursor: pointer;
    transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    float:right;
    margin-left: 40px;
}
.reg-btn a{
    color: #4690CE;
}
.log-btn {
     border: 1px solid #4690CE;
    border-radius: 50px;
    padding:3px 25px 2px 25px;
    text-align: center;
    line-height: 22px;
    box-sizing: border-box;
       font-size: 1rem;
    color: #4690CE;
    cursor: pointer;
    transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    float:right;
}
.log-btn a{
    color: #4690CE;
}
/* 输入组（验证码） */
.auth-input-group {
    display: flex;
    gap: 10px;
}

.auth-input-group .auth-input {
    flex: 1;
}

.auth-code-btn {
    padding: 12px 20px;
    border: none;
    background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.auth-code-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.auth-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 提交按钮 */
.auth-submit {
    width: 100%;
    padding: 14px;
    border: none;
    background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 底部链接 */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 提示消息 */
.auth-alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-alert.info {
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #0050b3;
}

.auth-alert.error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #cf1322;
}

.auth-alert.success {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #389e0d;
}

/* 响应式 */
@media (max-width: 480px) {
    .auth-single {
        padding: 15px;
    }
    
    .auth-single-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .auth-single-title {
        font-size: 24px;
    }
    
    .auth-toggle button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .auth-input {
        padding: 11px 14px;
        font-size: 14px;
    }
    
    .auth-code-btn {
        padding: 11px 16px;
        font-size: 13px;
    }
    
    .auth-submit {
        padding: 13px;
        font-size: 15px;
    }
}

