:root {
    --primary-color: #DB5C00;
    --primary-light: #FF8C42;
    --primary-dark: #B84900;
    --secondary-color: #2C3E50;
    --light-gray: #F8F9FA;
    --border-color: #E0E0E0;
    --success-color: #28a745;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    background: transparent;
    border: 1px solid var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(219, 92, 0, 0.25);
}

.auth-container {
    max-width: 400px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px auto 40px;
    font-size: 12px;
}

.step-container {
    max-width: 650px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px auto 40px;
    font-size: 12px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 12px;
}

.auth-icon {
    background-color: rgba(219, 92, 0, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.auth-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.form-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 15px;
    color: #777;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.social-btn.facebook {
    background-color: #3b5998;
}

.social-btn.google {
    background-color: #dd4b39;
}

.social-btn.apple {
    background-color: #000000;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.success-container {
    max-width: 500px;
}

.success-icon {
    color: #28a745;
    font-size: 48px;
    margin-bottom: 20px;
}

.features-section {
    background-color: var(--light-gray);
    padding: 60px 0;
    margin-top: 50px;
}

.feature-icon {
    background-color: rgba(219, 92, 0, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 24px;
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #aaa;
}

/* 页面切换动画 */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}


/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 25%;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.step.active .step-circle {
    background-color: var(--primary-color);
    color: white;
}

.step.completed .step-circle {
    background-color: var(--success-color);
    color: white;
}

.step.completed .step-circle i {
    font-size: 18px;
}

.step-label {
    font-size: 14px;
    color: #6c757d;
    text-align: center;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .auth-container {
        margin-top: 20px;
        padding: 25px 20px;
    }

    .step-container {
        margin-top: 20px;
        padding: 25px 20px;
    }

    .features-section {
        padding: 40px 0;
    }
}

.form-control, a.forgot-pass {
    font-size: 11px;
}

.form-check, .auth-footer * {
    font-size: 12px;
}

.form-control {
    line-height: 1.7rem;
}

.form-label {
    font-size: 12px;
}

.form-text, .invalid-feedback {
    font-size: 10px;
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.step-progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-bottom: 25px;
    overflow: hidden;
}

.step-progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 25%;
    transition: width 0.5s ease;
}

.form-check-inline {
    align-items: center;
    align-content: center;
    gap: 0.5rem; /*  checkbox 和 label 间距（可按需调整，比 margin 更精准） */
    vertical-align: middle; /* 兼容低版本浏览器 */
    line-height: 17px;
}
