:root {
    --primary: #5542F6;
    --primary-hover: #4534c0;
    --bg-light: #F8F9FE;
    --text-main: #1E232C;
    --text-muted: #8391A1;
    --border: #E8ECF4;
    --white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-light); color: var(--text-main); height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.auth-container { display: flex; width: 100%; max-width: 1200px; height: 100vh; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%235542F6" stroke-opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') var(--bg-light); }

.info-pane { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; margin-bottom: 40px; }
.main-title { font-size: 42px; line-height: 1.2; margin-bottom: 20px; color: #000; }
.subtitle { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin-bottom: 40px; max-width: 450px; }
.features { display: flex; flex-direction: column; gap: 25px; }
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.icon-box { width: 40px; height: 40px; background: #EEEBFF; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.4; }

.form-pane { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.form-card { background: var(--white); width: 100%; max-width: 480px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); padding: 40px; display: flex; flex-direction: column; max-height: 90vh; overflow-y: auto; }
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 30px; }
.tab-btn { flex: 1; padding: 15px 0; background: none; border: none; font-size: 16px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: 0.3s; position: relative; }
.tab-btn.active { color: var(--primary); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--primary); }

.form-wrapper { display: none; }
.form-wrapper.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.form-wrapper h2 { font-size: 24px; margin-bottom: 10px; }
.form-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }
.input-group { margin-bottom: 20px; position: relative; }
.input-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--text-main); }
.input-group input { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; transition: 0.3s; outline: none; }
.input-group input:focus { border-color: var(--primary); }
.forgot-pwd { position: absolute; right: 0; top: 0; font-size: 13px; color: var(--primary); text-decoration: none; }
.btn-primary { width: 100%; padding: 15px; background: var(--primary); color: var(--white); border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.btn-primary:hover { background: var(--primary-hover); }

.form-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.form-footer a { color: var(--primary); text-decoration: none; font-weight: 600; }
.security-notice { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 12px; color: var(--text-muted); margin-top: 40px; text-align: center; }

.error-msg { color: #dc3545; font-size: 14px; margin-bottom: 15px; display: none; padding: 10px; background: #f8d7da; border-radius: 8px; }
.success-msg { color: #198754; font-size: 14px; margin-bottom: 15px; display: none; padding: 10px; background: #d1e7dd; border-radius: 8px; }

@media (max-width: 992px) {
    .auth-container { flex-direction: column; height: auto; overflow: auto; background: var(--bg-light); }
    .info-pane { display: none; }
    .form-pane { padding: 20px; height: 100vh; align-items: flex-start; }
    .form-card { box-shadow: none; padding: 20px; }
}
