body {
  background: #fff;
}

.login.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
}

.custom-login-box {
  background: #4B6562;
  border-radius: 48px;
  padding: 48px 32px 32px 32px;
  box-shadow: 0 8px 32px rgba(60, 60, 60, 0.10);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  animation: fadeInUp 0.9s cubic-bezier(.23, 1.02, .32, 1) 0.1s both;
}

.login-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-top: -80px;
  background: #4B6562;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(60, 60, 60, 0.10);
  border: 6px solid #fff;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s cubic-bezier(.23, 1.02, .32, 1), box-shadow 0.3s;
}

.login-logo:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 32px #8dc63f33, 0 0 0 8px #eaf6e2;
}

.login-title {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

.login-welcome {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.login-subtitle {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.login-input {
  border-radius: 24px;
  padding: 12px;
  font-size: 1.1rem;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60, 60, 60, 0.04);
  margin-bottom: 0.5rem;
  border-color: #6b7280;
  transition: box-shadow 0.25s, border 0.25s, background 0.25s;
}

.login-input:focus {
  outline: none;
  background: #f6ffe9;
  box-shadow: 0 0 0 4px #8dc63f22;
  border: 1.5px solid #8dc63f;
}

.btn-login-main {
  background: #8dc63f;
  color: #fff;
  border-radius: 32px;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 0;
  border: none;
  transition: background 0.2s, transform 0.18s cubic-bezier(.23, 1.02, .32, 1), box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(60, 60, 60, 0.08);
}

.btn-login-main:hover {
  background: #7ab82b;
  transform: scale(1.04);
  box-shadow: 0 4px 16px #8dc63f33;
}

.forgot-link {
  color: #fff;
  font-size: 1rem;
  margin-top: 1rem;
  display: inline-block;
  text-decoration: underline;
  transition: color 0.2s, text-decoration 0.2s;
}

.forgot-link:hover {
  color: #8dc63f;
  text-decoration: underline wavy;
  font-weight: 600;
}

.toggle-password {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #8dc63f;
  font-size: 1.5rem;
  z-index: 2;
  background: #eaf6e2;
  border-radius: 50%;
  padding: 4px 6px;
  transition: background 0.2s, color 0.2s;
}

.toggle-password:hover {
  background: #8dc63f;
  color: #fff;
}

form {
  max-width: 285px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .custom-login-box {
    padding: 32px 8px 24px 8px;
    border-radius: 28px;
    max-width: 320px;
  }

  .login-logo {
    width: 120px;
    height: 120px;
    margin-top: -60px;
  }

  .login-title {
    font-size: 2.1rem;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-header h2,
.login-header p {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(.23, 1.02, .32, 1) 0.3s both;
}

.login-header h2 {
  animation-delay: 0.3s;
}

.login-header p {
  animation-delay: 0.5s;
}

.swal2-login-popup {
  border-radius: 24px !important;
  box-shadow: 0 8px 32px #8dc63f33 !important;
}

.swal2-login-btn {
  background: #8dc63f !important;
  color: #fff !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  padding: 10px 32px !important;
}

.swal2-login-btn:focus {
  box-shadow: 0 0 0 3px #8dc63f55 !important;
}

.swal2-loader {
  border: 5px solid #eaf6e2;
  border-top: 5px solid #8dc63f;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin: 24px auto 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}