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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #6ba644 0%, #7cb855 50%, #8bc766 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-container {
  width: 100%;
  max-width: 1200px;
  height: 100vh;
  display: flex;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.flex-column-cd {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, #6ba644 0%, #7cb855 50%, #8bc766 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rectangle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 200px;
  height: 200px;
  top: 10%;
  left: 20%;
  animation: float 6s ease-in-out infinite;
}

.rectangle-1 {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

.rectangle-2 {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 100px;
  height: 100px;
  top: 50%;
  right: 30%;
  animation: float 10s ease-in-out infinite;
}

.sparky-wave {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.flex-column-af {
  flex: 1;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  position: relative;
}

.welcome {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  text-align: center;
}

.already-member-login {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 3rem;
  text-align: center;
}

form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-email,
.input-password {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email,
.password {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input,
.input-5 {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

.input:focus,
.input-5:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.input-password {
  position: relative;
}

.ex-icon-eye {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 1.25rem;
}

.eye {
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/><path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/></svg>")
    center/contain no-repeat;
  transition: all 0.3s ease;
}

.ex-icon-eye:hover .eye {
  opacity: 0.7;
}

.rectangle-6 {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #6ba644 0%, #7cb855 50%, #8bc766 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.rectangle-6:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.rectangle-6:active {
  transform: translateY(0);
}

.span-login {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.line-divider {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.25;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .flex-column-cd {
    height: 40vh;
    min-height: 300px;
  }

  .flex-column-af {
    padding: 2rem 1.5rem;
    height: 60vh;
    min-height: 400px;
  }

  .welcome {
    font-size: 2rem;
  }

  form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .flex-column-af {
    padding: 1.5rem 1rem;
  }

  .welcome {
    font-size: 1.75rem;
  }

  .already-member-login {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* SweetAlert2 custom styling */
.swal2-popup {
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.swal2-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.swal2-content {
  font-size: 0.875rem;
}

.swal2-confirm {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}

.google {
  position: absolute;
  width: 5.03%;
  height: 42.86%;
  top: 30.36%;
  left: 28.32%;
  background: url(./assets/images/146cad2b-4372-4115-8054-36028678ee77.png)
    no-repeat center;
  background-size: 100% 100%;
  z-index: 8;
}
.already-member {
  position: relative;
  width: 181px;
  height: 19px;
  margin: 80px 0 0 177px;
  font-family: Zen Kaku Gothic Antique, var(--default-font-family);
  font-size: 12.800000190734863px;
  font-weight: 400;
  line-height: 18.534px;
  text-align: left;
  text-overflow: initial;
  white-space: nowrap;
  z-index: 10;
}
.no-account {
  position: relative;
  color: #616161;
  font-family: Zen Kaku Gothic Antique, var(--default-font-family);
  font-size: 12.800000190734863px;
  font-weight: 400;
  line-height: 18.534px;
  text-align: left;
}
.question-mark {
  position: relative;
  color: #616161;
  font-family: Zen Kaku Gothic Antique, var(--default-font-family);
  font-size: 12.800000190734863px;
  font-weight: 400;
  line-height: 18.534px;
  text-align: left;
}
.space {
  position: relative;
  color: #424242;
  font-family: Zen Kaku Gothic Antique, var(--default-font-family);
  font-size: 12.800000190734863px;
  font-weight: 400;
  line-height: 18.534px;
  text-align: left;
}
.register {
  position: relative;
  color: #f19b29;
  font-family: Zen Kaku Gothic Antique, var(--default-font-family);
  font-size: 12.800000190734863px;
  font-weight: 700;
  line-height: 18.534px;
  text-align: left;
}
.spark {
  position: absolute;
  width: 25.71%;
  height: 19.12%;
  top: 0;
  left: 0;
  background: url(./assets/images/f65308967759d8774cd577d2bc6d6f7691062905.png)
    no-repeat center;
  background-size: cover;
  z-index: 33;
}
.spark-7 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  height: 4.91%;
  top: 8.66%;
  left: 23.73%;
  color: #424242;
  font-family: Zen Kaku Gothic Antique, var(--default-font-family);
  font-size: 31.25px;
  font-weight: 700;
  line-height: 37.5px;
  text-align: left;
  white-space: nowrap;
  letter-spacing: -0.5px;
  z-index: 34;
}
.divider-bg {
  position: absolute;
  width: 23.57%;
  height: 3.51%;
  top: 73.51%;
  left: 41.08%;
  background: #ffffff;
  z-index: 2;
}
.or-use {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  height: 92.68%;
  top: 0;
  left: 10%;
  color: #616161;
  font-family: Zen Kaku Gothic Antique, var(--default-font-family);
  font-size: 12.800000190734863px;
  font-weight: 400;
  line-height: 18.534px;
  text-align: left;
  white-space: nowrap;
  z-index: 3;
}
.line-divider {
  position: absolute;
  width: 94.46%;
  height: 0.13%;
  top: 75.2%;
  left: 5.64%;
  background: url(./assets/images/8ce75ba5-3d07-42f5-9744-a5fc2127d277.png)
    no-repeat center;
  background-size: 100% 100%;
  z-index: 1;
}
