@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #F0F2F5; --surface: #FFFFFF; --text: #111B21; --text-muted: #667781;
  --primary: #008069; --primary-hover: #00A884; --accent: #25D366; --error: #EF4444;
}

* { box-sizing: border-box; }
body { margin: 0; padding: 0; background-color: var(--surface); color: var(--text); font-family: 'Outfit', sans-serif; height: 100vh; overflow: hidden; display: flex; }

.split-left { width: 45%; background: var(--primary); position: relative; display: flex; flex-direction: column; justify-content: center; padding: 4rem; color: white; overflow: hidden; }
.split-left::before { content: ''; position: absolute; top: -10%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); border-radius: 50%; }
.split-left::after { content: ''; position: absolute; bottom: -15%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, transparent 70%); border-radius: 50%; }

.brand-title { position: relative; z-index: 10; font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1px; }
.brand-subtitle { position: relative; z-index: 10; font-size: 1.2rem; font-weight: 300; opacity: 0.9; max-width: 80%; }

.split-right { width: 55%; display: flex; align-items: center; justify-content: center; background-color: var(--surface); }
.login-wrapper { width: 100%; max-width: 420px; padding: 2rem; }

.header-block { margin-bottom: 3rem; }
h1 { font-size: 2.2rem; font-weight: 700; margin: 0 0 0.5rem 0; color: var(--text); letter-spacing: -0.5px; }
p { font-size: 1rem; color: var(--text-muted); margin: 0; font-weight: 400; }

.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }

.input-wrapper { position: relative; display: flex; align-items: center; }
.input-wrapper i { position: absolute; left: 1.2rem; color: var(--text-muted); font-size: 1.1rem; transition: color 0.3s; }

.form-group input { width: 100%; padding: 1.2rem 1.2rem 1.2rem 3rem; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; color: var(--text); font-size: 1.05rem; font-family: inherit; outline: none; transition: all 0.2s ease; }
.form-group input:focus { background: #FFFFFF; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 128, 105, 0.1); }
.form-group input:focus + i, .form-group input:focus ~ i { color: var(--primary); }

.btn { width: 100%; padding: 1.2rem; background: var(--primary); color: #fff; border: none; border-radius: 12px; font-family: inherit; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; display: flex; justify-content: center; align-items: center; gap: 10px; box-shadow: 0 4px 12px rgba(0, 128, 105, 0.2); }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 128, 105, 0.25); }
.btn:active { transform: translateY(0); }

.error { color: var(--error); background: #FEF2F2; padding: 1rem; border-radius: 12px; border: 1px solid #FECACA; font-size: 0.95rem; font-weight: 500; margin-top: 1.5rem; display: none; align-items: center; gap: 10px; animation: slideUp 0.3s ease-out forwards; }
.error i { font-size: 1.2rem; }

@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { .split-left { display: none; } .split-right { width: 100%; } }
