/* src/assets/css/auth.css */

/* 1. 全局背景：使用高级感渐变，模拟电商的活力 */
body {
    /* 淘宝橙风格渐变，如果你喜欢蓝色，可以改颜色代码 */
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    /* 或者用这个深邃蓝紫色（科技感）： 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    */
    min-height: 100vh; /* 保证充满屏幕高度 */
    display: flex;
    flex-direction: column;
}

/* 2. 核心卡片设计：玻璃拟态 + 悬浮感 */
.auth-card {
    border: none;
    border-radius: 20px; /* 大圆角 */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* 柔和的长投影 */
    background: rgba(255, 255, 255, 0.95); /* 轻微透明 */
    overflow: hidden; /* 防止头部圆角溢出 */
    transition: transform 0.3s ease;
}

/* 鼠标放上去有轻微浮起效果 */
.auth-card:hover {
    transform: translateY(-5px);
}

/* 3. 卡片头部：品牌色背景 */
.auth-header {
    /* 淘宝橙渐变 */
    background: linear-gradient(to right, #ff758c 0%, #ff7eb3 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border: none;
}

.auth-header h4 {
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

/* 4. 输入框美化：去掉默认边框，改为底部线条或柔和填充 */
.form-control {
    background-color: #f7f9fc;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* 输入框聚焦时的特效 */
.form-control:focus {
    background-color: #fff;
    border-color: #ffe6ea; /* 聚焦变成主题色 */
    box-shadow: 0 0 0 4px rgba(255, 117, 140, 0.1); /* 柔和光晕 */
}

/* 5. 按钮美化：大圆角、渐变 */
.btn-auth {
    background: linear-gradient(to right, #ff758c 0%, #ff7eb3 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    color: white;
    transition: all 0.3s;
}

.btn-auth:hover {
    background: linear-gradient(to right, #ff5e78 0%, #ff6a9f 100%);
    transform: scale(1.02); /* 轻微放大 */
    box-shadow: 0 5px 15px rgba(154, 194, 255, 0.4);
}

/* 6. 链接美化 */
.auth-footer {
    background-color: transparent;
    border-top: 1px solid #eee;
    padding: 20px;
    color: #666;
}

.auth-footer a {
    color: #ff758c;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 7. 验证码区域微调 */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-img {
    border-radius: 10px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: opacity 0.2s;
}
.captcha-img:hover {
    opacity: 0.8;
}