/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&display=swap");

/* 2. Reset Styles and Set Default Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

/* 3. Body Styles for Centering Content and Background Setup */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  /* Provide enough bottom padding so the footer doesn’t block the form button */
  padding: 70px 10px 80px; 
  background-color: #1312AE;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Background Overlay for Body */
body::before {
  content: "";
  position: fixed; /* Cover the entire viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/img/util/3.webp') no-repeat center center fixed;
  background-size: cover;
  opacity: 0.5;
  z-index: 0; /* Behind all other elements */
}

/* 4. Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  z-index: 1000; /* Above other elements */
}

.header .logo {
  height: 40px; /* Adjust as needed */
  cursor: pointer;
}

/* 5. Glassmorphism Style for Form Wrapper */
.wrapper {
  position: relative;
  width: 400px;
  max-width: 90%; /* Ensure it doesn't exceed viewport width */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.1);
  z-index: 1; /* Above the background overlay */
}

/* 6. Form Layout as a Vertical Column */
form {
  display: flex;
  flex-direction: column;
}

/* 7. Header Style for Form Title */
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #FAD642; /* Secondary color for headings */
}

/* 8. Style for Input Field Container */
.input-field {
  position: relative;
  border-bottom: 2px solid #FAD642; /* Secondary color */
  margin: 15px 0;
}

/* Label Styling with Animation for Floating Effect */
.input-field label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: #FAD642; /* Secondary color */
  font-size: 16px;
  pointer-events: none;
  transition: 0.15s ease;
}

/* Input Styling for Text and Password Fields */
.input-field input {
  width: 100%;
  height: 40px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #fff;
}

/* Label Animation When Input is Active or Filled */
.input-field input:focus ~ label,
.input-field input:valid ~ label {
  font-size: 0.8rem;
  top: 10px;
  transform: translateY(-120%);
}

/* 9. Section for "Remember me" and "Forgot password" */
.forget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 35px 0;
  color: #fff;
}

/* Checkbox Styling */
#remember {
  accent-color: #fff;
}

.checkbox-container {
  color: #fff; /* Sets the text color to white */
  font-size: 16px; /* Ensures consistent font size */
  position: relative; /* For positioning the checkmark if needed */
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Optional: Adjust the link colors within the checkbox container */
.checkbox-container a {
  color: #FAD642; /* Secondary color for links */
  text-decoration: underline;
  margin-left: 4px;
}

.checkbox-container a:hover {
  color: #fff; /* Changes link color on hover for better visibility */
}

/* Label Styling Within "Remember me" Section */
.forget label {
  display: flex;
  align-items: center;
}

/* Margin Adjustment for "Remember me" Text */
.forget label p {
  margin-left: 8px;
}

/* Link Styling for "Forgot password" and Registration Link */
.wrapper a {
  color: #FAD642; /* Secondary color for links */
  text-decoration: none;
}

/* Hover Effect for Links */
.wrapper a:hover {
  text-decoration: underline;
}

/* 10. Button Styling for Submit Action */
button {
  background: #1312AE; /* Primary color for buttons */
  color: #fff; /* White text */
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

/* Hover Effect for Button */
button:hover {
  color: #1312AE; /* Primary color text */
  border-color: #1312AE; /* Primary color border */
  background: #FAD642; /* Secondary color background */
}

/* 11. Registration Link Section Styling */
.register {
  text-align: center;
  margin-top: 30px;
  color: #fff;
}

/* 12. Additional Styles for Social Buttons */
.action-btn.social-button {
  margin-top: 10px;
  width: 100%;
  color: #fff;
  font-size: 16px;
  padding: 10px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Social Button Icons */
.action-btn.social-button i {
  margin-right: 8px;
}

/* 13. Terms and Conditions Styling */
.form-group.terms-conditions {
  margin-top: 20px;
}

.form-group.terms-conditions a {
  color: #FAD642; /* Secondary color for links */
}

/* Adjust Styles for Text in Terms and Conditions */
.form-group.terms-conditions div {
  font-size: 14px;
  line-height: 1.5;
}

/* 14. Footer Styles */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px 30px;
  display: flex;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  z-index: 1000; /* Above other elements */
}

/* 15. Responsive Design */

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  /* Adjust Header Padding */
  .header {
    padding: 10px 20px;
  }

  /* Adjust Logo Size */
  .header .logo {
    height: 35px;
  }

  /* Adjust Wrapper Width and Padding */
  .wrapper {
    width: 90%;
    padding: 20px;
  }

  /* Adjust Form Title Font Size */
  h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  /* Adjust Input Font Size */
  .input-field input {
    font-size: 14px;
    height: 35px;
  }

  /* Adjust Label Font Size */
  .input-field label {
    font-size: 14px;
  }

  /* Adjust Button Padding */
  button {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Adjust Social Button Font Size and Padding */
  .action-btn.social-button {
    font-size: 14px;
    padding: 8px;
  }

  /* Adjust Footer Padding and Font Size */
  .footer {
    padding: 8px 20px;
    font-size: 12px;
  }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  /* Adjust Header Padding */
  .header {
    padding: 8px 15px;
  }

  /* Adjust Logo Size */
  .header .logo {
    height: 30px;
  }

  /* Adjust Wrapper Width and Padding */
  .wrapper {
    width: 95%;
    padding: 15px;
  }

  /* Adjust Form Title Font Size */
  h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  /* Adjust Input Font Size */
  .input-field input {
    font-size: 13px;
    height: 30px;
  }

  /* Adjust Label Font Size */
  .input-field label {
    font-size: 13px;
  }

  /* Adjust Button Padding */
  button {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Adjust Social Button Font Size and Padding */
  .action-btn.social-button {
    font-size: 13px;
    padding: 6px;
  }

  /* Adjust Footer Padding and Font Size */
  .footer {
    padding: 6px 15px;
    font-size: 11px;
  }
}

  /* Main Heading */
  h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FAD642; /* Secondary color */
  }

  /* Tagline */
  .tagline {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
  }

  /* Countdown Timer Styles */
  .countdown {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
  }

  .countdown-item {
    margin: 0 15px;
    text-align: center;
  }

  .countdown-number {
    font-size: 3rem;
    color: #FAD642; /* Secondary color */
  }

  .countdown-label {
    font-size: 1rem;
    color: #fff;
  }

  /* Notify Form Adjustments */
  .listmonk-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .listmonk-form h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #FAD642; /* Secondary color */
  }

  .listmonk-form .input-field {
    width: 100%;
  }

  .listmonk-form button {
    width: 100%;
    margin-top: 20px;
  }
  /* Content Wrapper */
  .wrapper {
    max-width: 800px;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .countdown {
      flex-wrap: wrap;
    }
    .countdown-item {
      margin: 10px 15px;
    }
    .countdown-number {
      font-size: 2.5rem;
    }
  }

  @media (max-width: 480px) {
    h1 {
      font-size: 2rem;
    }
    .countdown-number {
      font-size: 2rem;
    }
  }

  /* Add these to your CSS file */
  .recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
  }

  .g-recaptcha {
    transform-origin: center;
    -webkit-transform-origin: center;
  }

  /* For smaller screens */
  @media (max-width: 480px) {
    .g-recaptcha {
      transform: scale(0.9);
      -webkit-transform: scale(0.9);
    }
  }