.login-body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Nunito', sans-serif;
}

.login-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 10;
  position: relative;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(10, 45, 143, 0.4);
}

.login-left {
  flex: 1.1;
  background-color: #031B49;
  background-image:
    linear-gradient(135deg, rgba(3, 27, 73, 0.92) 0%, rgba(10, 45, 143, 0.75) 50%, rgba(14, 165, 233, 0.35) 100%),
    url('../images/login_bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  position: relative;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.brand-center {
  z-index: 10;
  max-width: 560px;
  margin-top: 64px;
  position: relative;
}

.login-headline {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 24px 0;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.login-sub {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.login-right {
  flex: 0.9;
  background: #f0f2f5;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: white;
  border-radius: 24px;
  padding: 48px 44px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.login-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(10, 45, 143, 0.25);
}

.login-desc {
  font-size: 15px;
  color: #666;
  margin: 0 0 8px 0;
  text-align: center;
  font-weight: 500;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: #f9f9f9;
}

.form-group input:focus {
  outline: none;
  border-color: #031B49;
  background: white;
  box-shadow: 0 0 0 3px rgba(3, 27, 73, 0.08);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  width: 100%;
  padding-right: 40px;
}

.toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #999;
}

.btn {
  width: 100%;
  padding: 14px;
  background: #031B49;
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.btn:hover { background: #051f5c; }

.alert {
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

.alert-error {
  background: #ffe5e5;
  color: #c33;
  border: 1px solid #ffcccc;
}

.login-footer {
  text-align: center;
  font-size: 12px;
  color: #999;
}

@media (max-width: 1024px) {
  .login-headline { font-size: 40px; }
}

@media (max-width: 768px) {
  .login-left { display: none; }
  .login-right { flex: 1; padding: 24px; }
  .login-card { padding: 32px 24px; }
  .login-logo { width: 64px; height: 64px; }
}
