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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  background: #0F1621;
  overflow: hidden;
}

.login-left {
  flex: 1;
  background: linear-gradient(145deg, #1A1F2E 0%, #0F1621 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,43,.15) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.login-left::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.1) 0%, transparent 70%);
  bottom: -80px; right: -80px;
}

.brand {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 60px;
  position: relative; z-index: 1;
}
.brand-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #FF6B2B, #FF8C54);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: 0 8px 24px rgba(255,107,43,.4);
}
.brand-text strong { display: block; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.brand-text span { font-size: 13px; color: rgba(255,255,255,.4); }

.hero-text { position: relative; z-index: 1; }
.hero-text h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-text h1 span { color: #FF6B2B; }
.hero-text p {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 40px;
}

.features-list { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.feature-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.feature-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,107,43,.15);
  display: flex; align-items: center; justify-content: center;
  color: #FF6B2B;
  font-size: 14px;
  flex-shrink: 0;
}

/* floating shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
.shape-1 { width: 80px; height: 80px; background: rgba(255,107,43,.06); top: 30%; right: 10%; animation-delay: 0s; }
.shape-2 { width: 50px; height: 50px; background: rgba(245,158,11,.08); top: 60%; right: 25%; animation-delay: 2s; }
.shape-3 { width: 120px; height: 120px; background: rgba(59,130,246,.04); top: 15%; right: 30%; animation-delay: 4s; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* RIGHT PANEL */
.login-right {
  width: 440px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
}

.login-form-header { margin-bottom: 32px; }
.login-form-header h2 { font-size: 26px; font-weight: 800; color: #1A1F2E; margin-bottom: 8px; }
.login-form-header p { font-size: 14px; color: #6B7280; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1A1F2E;
  transition: all .2s;
  outline: none;
}
.form-control:focus { border-color: #FF6B2B; background: #fff; box-shadow: 0 0 0 3px rgba(255,107,43,.12); }
.form-control::placeholder { color: #9CA3AF; }

.password-wrapper { position: relative; }
.password-toggle {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  border: none; background: none;
  color: #9CA3AF; cursor: pointer;
  font-size: 16px; padding: 4px;
  transition: color .2s;
}
.password-toggle:hover { color: #FF6B2B; }

.btn-login {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #FF6B2B, #FF8C54);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(255,107,43,.35);
  letter-spacing: .3px;
  margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,43,.45); }
.btn-login:active { transform: translateY(0); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.login-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #991B1B;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}

.login-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
}

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