:root {
  --primary-color: #379e40;
  --secondary-color: #f8f9fa;
  --dark-color: #333;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: white;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  height: 100vh;
}

.split-container {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.left-side, .right-side {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  position: relative;
}

.left-side {
  padding: 20px;
}

.right-side {
  background-image: url('../images/background.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.right-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.divider {
  width: 1px;
  height: 100%;
  background-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(55, 158, 64, 0.3);
}

.countdown-section {
  padding: 2rem 0;
  text-align: center;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2rem 0;
}

.countdown-box {
  background-color: var(--dark-color);
  color: white;
  width: 70px;
  height: 80px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.countdown-label {
  color: var(--dark-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-weight: bold;
}

.countdown-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 5px;
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(55, 158, 64, 0.3);
}

.btn-primary:hover {
  background-color: #2a7e32;
  border-color: #2a7e32;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(55, 158, 64, 0.4);
}

.btn-subscribe {
  background-color: #4bbf73;
  border-color: #4bbf73;
  color: white;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 0 50px 50px 0;
  box-shadow: 0 4px 8px rgba(75, 191, 115, 0.3);
}

.btn-subscribe:hover {
  background-color: #3da361;
  border-color: #3da361;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(75, 191, 115, 0.4);
}

.logo-container {
  margin-bottom: 2rem;
}

.logo-container img {
  height: 100px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.notification-form {
  max-width: 500px;
  margin: 0 auto;
}

.notification-form input {
  border-radius: 50px 0 0 50px;
  padding-left: 1.5rem;
}

.custom-input {
  border-radius: 50px;
  padding: 12px 20px;
  border: 1px solid #ddd;
}

.login-btn {
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  margin-top: 1rem;
  box-shadow: 0 4px 8px rgba(55, 158, 64, 0.3);
}

.check-btn {
  background-color: #e0e0e0;
  color: #333;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 600;
  margin-top: 0.5rem;
  width: 100%;
  transition: all 0.3s ease;
}

/* Add success class styling for check button */
.check-btn.success {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 8px rgba(55, 158, 64, 0.3);
}

.check-btn.success:hover {
  background-color: #2a7e32;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(55, 158, 64, 0.4);
}

.check-btn:hover {
  background-color: #d0d0d0;
}

.login-btn:hover {
  background-color: #2a7e32;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(55, 158, 64, 0.4);
}

.required {
  color: red;
}

.btn-newsletter {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(55, 158, 64, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.btn-newsletter:hover {
  background-color: #2a7e32;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(55, 158, 64, 0.4);
}

.btn-newsletter i {
  font-size: 1.2rem;
}
/* Add these styles to your index.css file */
/* Fix for mobile devices */
@media (max-width: 992px) {
  /* Hide right side (login panel) on mobile devices */
  .right-side, .divider {
    display: none;
  }

  /* Make left side take full width */
  .left-side {
    width: 100%;
    flex: 1;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  /* Ensure split container takes full height */
  .split-container {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  /* Adjust countdown boxes for smaller screens */
  .countdown-box {
    width: 60px;
    height: 70px;
    font-size: 2rem;
  }

  /* Make sure the newsletter button fits smaller screens */
  .btn-newsletter {
    max-width: 90%;
  }
}

/* iOS-specific fixes - within mobile breakpoint */
@supports (-webkit-touch-callout: none) and (max-width: 992px) {
  body {
    width: 100%;
    position: relative;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
  }

  .split-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .left-side {
    padding: 15px;
    box-sizing: border-box;
  }

  .countdown-section {
    padding: 1rem;
    box-sizing: border-box;
  }

  .countdown-container {
    width: 100%;
    margin: 1.5rem auto;
    gap: 5px;
  }

  .countdown-box {
    width: 55px;
    height: 65px;
    font-size: 1.8rem;
  }

  .countdown-separator {
    margin: 0 2px;
  }
}

/* Extra small devices only */
@media (max-width: 375px) {
  .countdown-box {
    width: 45px;
    height: 55px;
    font-size: 1.5rem;
  }

  .countdown-separator {
    font-size: 1.5rem;
    margin: 0 1px;
  }

  h1.display-4 {
    font-size: 1.6rem;
  }
}
