.login-page { min-height: calc(100vh - 144px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; }

.login-card { display: flex; width: 90%; max-width: 1100px; background: white; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); overflow: hidden; }

.banner-section { width: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background: linear-gradient(135deg, #001529 0%, #1890ff 50%, #096dd9 100%); position: relative; overflow: hidden; }
.banner-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%); border-radius: 50%; }
.banner-section::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%); border-radius: 50%; }
.banner-content { text-align: center; max-width: 380px; position: relative; z-index: 1; }
.banner-title { font-size: 28px; color: white; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; }
.banner-subtitle { font-size: 14px; color: rgba(255,255,255,0.95); line-height: 2; text-align: left; }
.banner-subtitle h3 { color: white; font-size: 16px; margin: 20px 0 14px 0; font-weight: 600; }
.banner-subtitle ul { list-style: none; padding-left: 0; }
.banner-subtitle li { padding: 6px 0; padding-left: 24px; position: relative; }
.banner-subtitle li::before { content: '✓'; position: absolute; left: 0; color: #52c41a; font-weight: bold; font-size: 13px; }

.security-image { text-align: center; margin-top: 16px; }
.security-image img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.login-section { width: 50%; display: flex; flex-direction: column; align-items: center; padding: 45px 40px; }
.login-header { text-align: center; margin-bottom: 30px; }
.login-header h1 { font-size: 24px; color: #1a1a2e; font-weight: 700; margin-bottom: 8px; }
.login-header p { font-size: 14px; color: #595959; }

.login-container { width: 100%; max-width: 360px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: #333333; font-size: 14px; font-weight: 600; margin-bottom: 8px; }

.email-input-wrapper { display: flex; align-items: center; border: 2px solid #e8e8e8; border-radius: 10px; overflow: hidden; transition: all 0.3s; }
.email-input-wrapper:focus-within { border-color: #1890ff; box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1); }
.email-input-wrapper input { flex: 1; padding: 12px 14px; border: none; font-size: 14px; outline: none; background: transparent; }
.email-input-wrapper .domain-suffix { padding: 0 14px; color: #595959; font-size: 14px; background: #f8fafc; border-left: 2px solid #e8e8e8; }

.password-input-wrapper { border: 2px solid #e8e8e8; border-radius: 10px; overflow: hidden; transition: all 0.3s; }
.password-input-wrapper:focus-within { border-color: #1890ff; box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1); }
.password-input-wrapper input { width: 100%; padding: 12px 14px; border: none; font-size: 14px; outline: none; }

.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 13px; }
.form-options label { display: flex; align-items: center; gap: 6px; color: #595959; cursor: pointer; }
.form-options label input[type="checkbox"] { width: 16px; height: 16px; accent-color: #1890ff; }
.form-options a { color: #1890ff; text-decoration: none; font-weight: 500; }
.form-options a:hover { text-decoration: underline; }

.btn-login { width: 100%; padding: 12px; background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%); color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(24, 144, 255, 0.4); }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(24, 144, 255, 0.5); }
.btn-login:active { transform: translateY(0); }
.btn-login:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.login-footer { text-align: center; font-size: 13px; color: #595959; margin-bottom: 24px; }
.login-footer a { color: #1890ff; text-decoration: none; font-weight: 500; }
.login-footer a:hover { text-decoration: underline; }

.demo-accounts { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-radius: 12px; padding: 18px; margin-bottom: 20px; border: 1px solid #bae6fd; }
.demo-accounts h4 { font-size: 13px; color: #0369a1; margin-bottom: 10px; font-weight: 600; }
.demo-account { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: white; border-radius: 8px; margin-bottom: 6px; font-size: 12px; border: 1px solid #e0f2fe; }
.demo-account:last-child { margin-bottom: 0; }
.demo-account .label { color: #595959; font-weight: 500; }
.demo-account .credentials { color: #1a1a2e; font-weight: 600; font-family: monospace; }

.error-message { color: #f5222d; font-size: 13px; margin-bottom: 14px; text-align: center; display: none; padding: 12px; background: #fff1f0; border-radius: 10px; border: 1px solid #ffccc7; }

.loading { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top: 2px solid white; border-radius: 50%; animation: spin 1s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.security-badge { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; background: #f6ffed; border-radius: 24px; font-size: 12px; color: #52c41a; border: 1px solid #b7eb8f; }

@media (max-width: 768px) {
    .login-card { flex-direction: column; }
    .banner-section { width: 100%; padding: 30px; }
    .login-section { width: 100%; padding: 30px; }
    .security-flow { flex-wrap: wrap; gap: 4px; }
    .flow-step { width: calc(25% - 4px); }
    .flow-icon { width: 40px; height: 40px; font-size: 18px; }
    .flow-label { font-size: 10px; }
    .flow-arrow { display: none; }
}
