* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #fdfaf6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url('../images/hero-bg-pattern.svg') no-repeat center center;
  background-size: cover;
}

.signup-container {
  display: flex;
  width: 900px;
  height: 580px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  overflow: hidden;
}

.signup-left {
  flex: 1;
  background: url('../images/left-side.png') no-repeat center;
  background-size: cover;
}

.signup-right {
  flex: 1;
  background-color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-header {
  text-align: center;
  color: #12095d;
  font-size: 22px;
  margin-bottom: 4px;
  font-family: 'Agile Jewelry', Arial, sans-serif;
}

.form-subtitle {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 18px;
  line-height: 1.4;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-group a {
  color: #12095d;
  text-decoration: underline;
  font-weight: 500;
}

.form-group a:hover {
  color: #f9a44c;
  text-decoration: none;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #444;
  margin-bottom: 4px;
}

.form-group input {
  padding: 10px;
  font-size: 13px;
  border: 1.5px solid #dcd6f7;
  border-radius: 10px;
  background-color: #fff;
  outline: none;
  transition: border 0.2s;
}

.form-group input:focus {
  border-color: #12095d;
}

.form-footer {
  margin-top: 10px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.form-options label {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #555;
}

.form-options input[type="checkbox"] {
  margin-right: 6px;
}

.signup-button {
  padding: 10px 20px;
  background-color: #12095d;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.signup-button:hover {
  background-color: #f9a44c;
}

.form-divider {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 16px 0;
}

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.form-bottom a {
  color: #12095d;
  text-decoration: none;
  font-weight: 600;
  margin-left: 5px;
}

.social-icons a {
  color: #12095d;
  font-size: 16px;
  margin-left: 10px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1a0aa2;
}

@media (max-width: 768px) {
  .signup-container {
    flex-direction: column;
    height: auto;
    width: 90%;
  }

  .signup-left {
    background: pink;
    }


  .signup-right {
    padding: 25px 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .input-wrapper {
    position: relative;
    }

    .input-wrapper input {
    width: 100%;
    padding-right: 40px; /* make room for the icon */
    }

    .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888;
    cursor: pointer;
    display: none;
    }

}

@font-face {
    font-family: 'Agile Jewelry';
    src: url('../fonts/Agile Jewelry.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.lottie-wrapper {
      position: absolute;
      top: 20px;
      right: 300px;
      width: 120px;
      height: 120px;
      z-index: 10;
    }
    #lottie-cat {
      width: 100%;
      height: 100%;
    }

@media (max-width: 768px) {
  .lottie-wrapper {
    top: 60px;
    right: 10px;
    width: 80px;
    height: 80px;
  }
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    padding: 40px 20px;
  }

  /* Modal Content */
  .modal-content {
    background-color: #fff;
    margin: auto;
    border-radius: 12px;
    padding: 30px 25px;
    max-width: 800px;
    width: 100%;
    color: #333;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-in-out;
  }

  /* Smooth Fade-in */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Close Button */
  .close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .close:hover {
    color: #000;
  }

  /* Modal Headings */
  .modal-content h2,
  .modal-content h3 {
    color: #0d2c55;
    margin-top: 0;
  }

  .modal-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .modal-content h3 {
    font-size: 18px;
    margin-top: 20px;
  }

  /* Paragraph and List Styling */
  .modal-content p {
    margin-bottom: 10px;
    text-align: justify;
  }

  .modal-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
  }

  .modal-content ul li {
    margin-bottom: 5px;
  }

  /* Responsive Adjustments */
  @media (max-width: 600px) {
    .modal-content {
      padding: 20px 15px;
    }

    .modal-content h2 {
      font-size: 20px;
    }

    .modal-content h3 {
      font-size: 16px;
    }
  }