* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow-y: auto;
  min-height: 100vh;
}

.put-center {
  margin: 0 auto;
}

.container-box {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}

.image-box {
  flex: 1;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    url("/image/nigerian-food.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 100vh;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(72, 187, 120, 0.8) 0%,
    rgba(56, 161, 105, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 40px;
  max-width: 500px;
}

.logo-container {
  margin-bottom: 40px;
}

.logo-image {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  object-fit: cover;
}

.brand-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-text p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.content-box {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.content-box-container {
  width: 100%;
  max-width: 450px;
}

.content-box-wrap {
  width: 100%;
}

.content-header {
  text-align: center;
  margin-bottom: 40px;
}

.content-header h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2d3748;
  background: linear-gradient(135deg, #48bb78, #38a169);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-header p {
  font-size: 1rem;
  color: #718096;
  font-weight: 400;
  line-height: 1.5;
}

.login-form {
  width: 100%;
}

.form-box {
  margin-bottom: 24px;
}

.form-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #2d3748;
}

.form-input {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-input:hover {
  border-color: #cbd5e0;
}

.form-input.focused {
  border-color: #48bb78;
  box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.form-input i {
  color: #a0aec0;
  font-size: 18px;
  transition: color 0.3s ease;
}

.form-input.focused i {
  color: #48bb78;
}

.form-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #2d3748;
  background: transparent;
  font-weight: 400;
}

.form-input input::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.toggle-password {
  cursor: pointer;
  color: #a0aec0;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #48bb78;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4a5568;
  font-weight: 500;
}

.remember-me input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:checked + .checkmark {
  background: #48bb78;
  border-color: #48bb78;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.terms-link {
  color: #48bb78;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.terms-link:hover {
  color: #38a169;
  text-decoration: underline;
}

.forgot-password {
  color: #48bb78;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #38a169;
  text-decoration: underline;
}

.submit {
  margin-bottom: 30px;
}

.login-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.divider span {
  background: white;
  padding: 0 20px;
  color: #a0aec0;
  font-size: 0.9rem;
  font-weight: 500;
}

.social-login {
  margin-bottom: 30px;
}

.social-btn {
  width: 100%;
  padding: 16px 24px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  color: #4a5568;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}

.social-btn:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
  transform: translateY(-1px);
}

.google-btn i {
  color: #db4437;
  font-size: 18px;
}

.redirect {
  text-align: center;
  font-size: 0.9rem;
  color: #718096;
}

.redirect a {
  color: #48bb78;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.redirect a:hover {
  color: #38a169;
  text-decoration: underline;
}

.error {
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 6px;
  font-weight: 500;
}

.success {
  background: #c6f6d5;
  color: #22543d;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 4px solid #38a169;
}

.error-message {
  background: #fed7d7;
  color: #c53030;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 4px solid #e53e3e;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container-box {
    flex-direction: column;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  .image-box {
    min-height: 40vh;
    flex: none;
  }

  .hero-content {
    padding: 20px;
  }

  .brand-title {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.4rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .content-box {
    padding: 30px 20px;
  }

  .content-header h4 {
    font-size: 1.8rem;
  }

  .form-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .content-box {
    padding: 20px 15px;
  }

  .form-input {
    padding: 14px;
  }

  .login-btn,
  .social-btn {
    padding: 14px 20px;
  }

  .brand-title {
    font-size: 1.8rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }
}

/* Animation for form elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-box-wrap {
  animation: fadeInUp 0.6s ease-out;
}

.form-box {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.form-box:nth-child(1) { animation-delay: 0.1s; }
.form-box:nth-child(2) { animation-delay: 0.2s; }
.form-box:nth-child(3) { animation-delay: 0.3s; }
.form-box:nth-child(4) { animation-delay: 0.4s; }