/* style.css - 三个页面的特有样式 */

/* 全局样式调整 */
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: #f8f9fa;
    padding-top: 60px; /* 为固定导航栏留出空间 */
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* height: 56px; */
}

.navbar-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 20px;
}

.nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0d6efd;
}

.nav-link.active {
    color: #0d6efd;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 3px 3px 0 0;
}

/* 认证卡片 */
.auth-card {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 20px;
}

/* 图标样式 */
.auth-icon {
    font-size: 3.5rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

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

/* 输入框组样式 */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: #86b7fe;
}

/* 验证码样式 */
.captcha-img {
	width:140px;
	height:35px;
	float:right;
}


/* 社交登录按钮 */
.social-login {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-login .btn {
    border-radius: 50px;
    padding: 8px 20px;
}

/* 步骤指示器样式 */
.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step.active .step-number {
    background-color: #0d6efd;
    color: #fff;
    transform: scale(1.1);
}

.step-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.step.active .step-label {
    color: #0d6efd;
    font-weight: 600;
}

/* 找回密码步骤样式 */
.reset-step {
    transition: all 0.3s ease;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 15px;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .auth-card {
        padding: 20px;
    }
    
    .navbar-nav {
        gap: 15px;
    }
    
    .steps::before {
        left: 15%;
        right: 15%;
    }
}

/* 自定义按钮样式 */
.btn-lg {
    padding: 12px;
    font-weight: 600;
    border-radius: 10px;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #0d6efd;
    transition: color 0.2s;
}

a:hover {
    color: #0a58ca;
}

/* 表单文本样式 */
.form-text {
    font-size: 0.85rem;
    color: #6c757d;
}

/* 切换密码按钮样式 */
.toggle-password {
    border-left: none;
}

/* 模态框自定义 */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 12px 12px 0 0;
}


/* 顶部导航栏调整 */
.navbar-nav .navbar-text {
    font-weight: 600;
    color: #333;
}

/* 进度指示器 */
.progress-info {
    padding: 0 10px;
}

.progress {
    height: 6px;
    border-radius: 3px;
}

.progress-bar {
    background-color: #0d6efd;
    border-radius: 3px;
}

/* 性别选择按钮组 */
.gender-select .btn-check:checked + .btn {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.gender-select .btn {
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s;
}

/* 文件上传区域 */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f8f9fa;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: #0d6efd;
    background-color: #f0f7ff;
}

.upload-placeholder {
    color: #6c757d;
}

.upload-placeholder i {
    color: #adb5bd;
}

/* 上传预览 */
.upload-preview {
    text-align: center;
}

.preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.preview-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.preview-text {
    font-weight: 500;
    color: #495057;
}

/* 示例图片 */
.example-img {
    background-color: #f8f9fa;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.id-example {
    width: 100%;
    height: 120px;
    background-color: #e9ecef;
    border-radius: 8px;
    position: relative;
}

.id-example.front::before,
.id-example.front::after {
    content: "";
    position: absolute;
    background-color: #adb5bd;
    border-radius: 4px;
}

.id-example.front::before {
    width: 60px;
    height: 40px;
    top: 20px;
    left: 20px;
}

.id-example.front::after {
    width: 80%;
    height: 2px;
    bottom: 40px;
    left: 10%;
}

.id-example.back::before,
.id-example.back::after {
    content: "";
    position: absolute;
    background-color: #adb5bd;
    border-radius: 4px;
}

.id-example.back::before {
    width: 50px;
    height: 50px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.id-example.back::after {
    width: 80%;
    height: 2px;
    bottom: 40px;
    left: 10%;
}

/* 日期选择器自定义 */
input[type="date"] {
    padding: 10px;
    border-radius: 8px;
}

/* 信息使用说明框 */
.alert-info {
    border-radius: 10px;
    border-left: 4px solid #0d6efd;
}

/* 跳过按钮 */
#skipBtn {
    border-radius: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gender-select .col-4 {
        margin-bottom: 5px;
    }
    
    .upload-area {
        min-height: 150px;
        padding: 20px 15px;
    }
}


.navbar-collapse.show ul li{
	border-bottom:1px solid #eee;
}
.navbar-collapse.show ul li:last-child{
	border:none;
}
