:root {
  --primary: #08b85f;
  --primary-rgb: 8, 184, 95;
  --primary-hover: #069c50;
  --primary-deep: #064e3b;
  --primary-contrast: #ffffff;
  --border-light: #374151;
  --text-muted: #9ca3af;
  --card-bg: rgba(17, 24, 39, 0.6);
  --card-border: rgba(8, 184, 95, 0.25);
  --text-soft: #d1d5db;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 15% 15%, var(--primary-deep) 0%, #030712 60%, #000000 100%);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.5rem 0;
}

.login-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.15;
}

.login-bg-image {
  background-image: url('/lotus/img/login_bg.png');
}

.login-container {
  max-width: 460px;
}

.text-emerald {
  color: var(--primary) !important;
}

.text-emerald-light {
  color: var(--primary) !important;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.glass-effect {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0 !important;
  box-shadow: none !important;
}

.login-card-body {
  padding: 0 !important;
}

.btn-emerald-custom {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--primary-contrast);
  border-radius: 0.75rem;
  height: 46px;
  box-shadow: 0 10px 25px -10px rgba(var(--primary-rgb), 0.6);
  transition: all 0.2s ease-in-out;
}

.btn-emerald-custom:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-contrast);
  box-shadow: 0 12px 30px -8px rgba(var(--primary-rgb), 0.8);
}

.form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.2) !important;
}

.input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary) !important;
  font-size: 1.1rem;
}

.input-icon-left {
  left: 14px;
}

.input-icon-right {
  right: 14px;
  cursor: pointer;
  z-index: 10;
}

.input-with-icon {
  padding-left: 44px;
  padding-right: 44px;
  height: 48px;
  border-radius: 0.75rem;
  background-color: #111827 !important;
  color: #ffffff !important;
  border: 1px solid rgba(var(--primary-rgb), 0.45) !important;
  transition: all 0.2s ease;
}

.input-with-icon::placeholder {
  color: #4b5563;
}

.form-label {
  color: var(--primary) !important;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.login-restriction {
  background: rgba(var(--primary-rgb), 0.08) !important;
  border-color: rgba(var(--primary-rgb), 0.3) !important;
  min-height: 46px;
}

.login-restriction-text {
  color: #9ca3af !important;
}

.login-feedback {
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: rgba(220, 38, 38, 0.1);
  margin-bottom: 1.25rem;
}

.login-feedback-danger {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.15);
}

.login-feedback-info {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.15);
}

.icon-box {
  height: 58px;
  width: 58px;
}

.login-logo-img {
  display: block;
  height: 180px;
  object-fit: contain;
  width: 180px;
}

@media (max-width: 575.98px) {
  body {
    align-items: flex-start !important;
    padding: 2rem 0.75rem;
  }

  .login-container {
    max-width: 100%;
  }

  .login-subtitle {
    letter-spacing: 0.12em;
  }
}
