/* 登录和注册页面专用样式 */

.auth-container {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.auth-wrapper {
    min-height: 100vh;
}

.auth-side {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.auth-side-content {
    position: relative;
    z-index: 1;
}

.auth-side .lead {
    color: white;
    opacity: 0.9;
}

.auth-side h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.auth-side-features {
    margin-top: 2rem;
}

.auth-side-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.auth-side-feature:hover {
    transform: translateX(10px);
}

.auth-side-feature i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: white;
}

.auth-side-feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.auth-side-feature-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
    color: white;
}

.auth-form-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    color: #6c757d;
}

.auth-form .form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.auth-form .form-label {
    font-weight: 500;
    color: #2c3e50;
}

.auth-form .btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.auth-form-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-form-footer p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .auth-side {
        padding: 2rem;
        min-height: auto;
    }
    
    .auth-side h2 {
        font-size: 2rem;
    }
    
    .auth-side-features {
        display: none;
    }
    
    .auth-form-side {
        padding: 2rem;
    }
    
    .auth-form-wrapper {
        max-width: 100%;
    }
    
    .auth-form-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .auth-side {
        padding: 1.5rem;
    }
    
    .auth-side h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .auth-side .lead {
        font-size: 1rem;
    }
    
    .auth-form-side {
        padding: 1.5rem;
    }
    
    .auth-form .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .auth-form-header {
        margin-bottom: 1.5rem;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mb-3 {
        margin-bottom: 0.75rem !important;
    }
}

@media (max-width: 575.98px) {
    .auth-side {
        padding: 1.25rem;
        text-align: center;
    }
    
    .auth-side h2 {
        font-size: 1.5rem;
    }
    
    .auth-form-side {
        padding: 1.25rem;
    }
    
    .auth-form-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-form-header p {
        font-size: 0.9rem;
    }
    
    .form-check-label {
        font-size: 0.875rem;
    }
    
    .auth-form-footer p {
        font-size: 0.875rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) {
    .auth-side-feature:hover {
        transform: none;
    }
}