.login-body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", "Trebuchet MS", sans-serif;
  background: #ffffff;
  min-height: 100vh;
}

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.login-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #ffffff;
}

.login-panel {
  width: min(420px, 90%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-logo {
  width: 72px;
  height: auto;
  margin-bottom: 8px;
}

.login-panel h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.login-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 16px;
}

.login-error {
  background: #fbe7e7;
  color: #c54848;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
}

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

.login-field label {
  display: block;
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 6px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9ca3af;
}

.input-with-icon input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 12px 12px 42px;
  font-size: 13px;
  background: #f7f7f7;
}

.login-submit {
  margin-top: 4px;
  height: 44px;
  background: #8dcdbb;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(141, 205, 187, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(141, 205, 187, 0.4);
}

.login-submit .arrow {
  font-size: 16px;
}

.login-footer {
  margin-top: 24px;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
}

.login-right {
  position: relative;
  background: #8dcdbb;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.login-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
}

.login-right-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-right-content h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.login-right-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
}

.login-wave {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -80px;
  height: 180px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

@media (max-width: 980px) {
  .login-wrapper {
    grid-template-columns: 1fr;
  }

  .login-right {
    order: -1;
    min-height: 420px;
  }
}
