/* 认证页面基础样式 */
.auth-page {
    /*min-height: calc(100vh - 70px);*/
    /*display: flex;*/
    /*align-items: center;*/
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    /*background-size: cover;*/
}

/* 认证卡片容器 */
.auth-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-3px);
}

/* 卡片头部样式 */
.auth-card .card-header {
    background: linear-gradient(45deg, #4f46e5, #6366f1);

    padding: 2rem;
    text-align: center;
}

.auth-card .card-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

/* 表单元素增强样式 */
.auth-card .form-label {
    font-weight: 500;
    color: #4a5568;
}

.auth-card .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.auth-card .form-control:focus {
    border-color: #818cf8;
    box-shadow: none;
}

/* 提交按钮 */
.custom-shrink {
  width: 85% !important;
  margin: 1.5rem 1.5rem 1rem 1.5rem;       /* 左右间距1.5rem */
  transition: all 0.3s ease;
}
.custom-shrink:hover {
  transform: scale(0.95); /* 悬停动态效果 */
}

/* 短信验证码输入组 */
.sms-input-group {
    position: relative;
}

.sms-input-group .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

/* 登录方式切换标签 */
.nav-pills .nav-link {
    color: #4a5568;
    border-radius: 0.5rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: #4f46e5;
    color: white;
}

/* 错误提示样式 */
.alert-danger {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    border-radius: 0.5rem;
}

/* 忘记密码链接 */
.forgot-password-link {
    color: #6b7280;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #4f46e5;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .auth-card {
        margin: 1rem;
    }

    .nav-pills .nav-link {
        margin: 0;
        width: 100%;
        text-align: center;
    }
}
