/* 如有需要，可自定义一些校验样式 */
.was-validated .form-control:invalid,
.form-control.is-invalid {
border-color: var(--danger-color, #EF4444);
}
.was-validated .form-control:valid,
.form-control.is-valid {
border-color: var(--success-color, #10B981);
}
        :root {
            --primary-color: #2c3e50;
            --accent-color: #3498db;
            --text-color: #333;
            --light-gray: #f5f7fa;
            --border-radius: 8px;
        }
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .login-container {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin: 2rem auto;
            max-width: 900px;
        }
        
        .login-row {
            display: flex;
            min-height: 550px;
        }
        
        .login-sidebar {
            background: linear-gradient(135deg, #3a7bd5 0%, #2c3e50 100%);
            color: white;
            padding: 3rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 40%;
        }
        
        .login-form-container {
            padding: 3rem;
            width: 60%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        .form-wrapper {
            width: 100%;
            max-width: 380px;
        }
        
        .login-title {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            text-align: center;
        }
        
        .login-subtitle {
            color: #6c757d;
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-control {
            border: 1px solid #e2e8f0;
            border-radius: var(--border-radius);
            padding: 0.8rem 1rem;
            height: auto;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
        }
        
        .btn-primary {
            background-color: var(--accent-color);
            border: none;
            border-radius: var(--border-radius);
            padding: 0.8rem 1.5rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.3s;
        }
        
        .btn-primary:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }
        
        .sidebar-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .sidebar-text {
            opacity: 0.8;
            line-height: 1.6;
            margin-bottom: 2rem;
        }
        
        .feature-list {
            list-style: none;
            padding: 0;
            margin: 2rem 0;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .feature-icon {
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
        }
        
        .form-check-input {
            border-radius: 3px;
            width: 18px;
            height: 18px;
        }
        
        .copyright {
            margin-top: 2rem;
            font-size: 0.8rem;
            color: #6c757d;
            text-align: center;
            width: 100%;
        }
        
        .input-group-prepend .input-group-text {
            background-color: transparent;
            border-right: none;
        }
        
        .input-with-icon {
            border-left: none;
        }
        
        .alert {
            border-radius: var(--border-radius);
        }
        /* → 在这里加覆盖 ↓ */
        body.internal-login {
            display: block !important;
        }
        
        @media (max-width: 768px) {
            .login-row {
                flex-direction: column;
            }
            
            .login-sidebar, .login-form-container {
                width: 100%;
            }
            
            .login-sidebar {
                padding: 2rem;
            }
        }
