/* ============================================================
   Login Page – Split Layout
   ============================================================ */

.login-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0d1a25;
  color: #fff;
  display: flex;
  -webkit-font-smoothing: antialiased;
}

.login-page *, .login-page *::before, .login-page *::after {
  box-sizing: border-box;
}

/* ── Split container ──────────────────────────────────────── */
.login-split {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* ── Left: branding ───────────────────────────────────────── */
.login-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
}

.login-brand::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,.12);
}

.login-brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
}

.login-brand-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f37e17 0%, #ff9800 60%, #00897b 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.login-brand-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1.2;
}

.login-brand-name span {
  color: #f37e17;
}

/* ── Right: form area ─────────────────────────────────────── */
.login-form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-form-wrapper {
  width: 100%;
  max-width: 380px;
}

/* Mobile logo (hidden on desktop) */
.login-mobile-logo {
  display: none;
  justify-content: center;
  margin-bottom: 28px;
}

.login-mobile-logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f37e17 0%, #ff9800 60%, #00897b 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

/* Heading */
.login-heading {
  text-align: center;
  margin-bottom: 32px;
}

.login-heading h1 {
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: .5px;
}

.login-heading p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
}

/* Error */
.login-error {
  background: rgba(220, 38, 38, .15);
  border: 1px solid rgba(220, 38, 38, .4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-input {
  width: 100%;
  padding: 13px 16px;
  background: whitesmoke;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  color: #333;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.login-input::placeholder {
  color: #999;
}

.login-input:focus {
  border-color: #f37e17;
  box-shadow: 0 0 0 2px rgba(243,126,23,.15);
}

/* Button */
.login-btn {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: #f37e17;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background .2s;
}

.login-btn:hover {
  background: #e06c0a;
}

/* Footer link */
.login-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-top: 18px;
}

.login-footer a {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color .2s;
}

.login-footer a:hover {
  color: #f37e17;
}

.login-footer-sep {
  color: rgba(255,255,255,.25);
  font-size: 12px;
  line-height: 1;
  user-select: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 820px) {
  .login-brand {
    display: none;
  }

  .login-mobile-logo {
    display: flex;
  }

  .login-form-side {
    flex: 1;
    padding: 32px 24px;
  }
}
