/* Basic reset- To remove Horizontal Scrollbar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  min-height: 100vh;
}

/* Container */
.container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1100px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Left image */
.left-section {
  flex: 1 1 45%;
}
.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right side form */
.right-section {
  flex: 1 1 55%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-container {
  width: 100%;
  max-width: 420px;
}

h2 {
  text-align: center;
  color: #0b1e3f;
  margin-bottom: 20px;
  font-size: 28px;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #fb4d46;
  margin: 8px auto 0;
}

/* Fields */
.input-field {
  margin-bottom: 18px;
  position: relative;
}
.input-field label {
  font-size: 14px;
  color: #444;
  display: block;
  margin-bottom: 6px;
}

.input-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  transition: border 0.3s, box-shadow 0.3s;
}

/* Custom Select */
.custom-select {
  position: relative;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}

.selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  color: #444;
}

.dropdown-icon {
  font-size: 20px;
  color: #0b1e3f;
  transition: transform 0.3s;
}

.custom-select.active .dropdown-icon {
  transform: rotate(180deg);
}

.options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: none;
  scrollbar-width: none; /* Firefox */
}

.options::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.options li {
  padding: 10px 12px;
  transition: background 0.2s;
}

.options li:hover {
  background-color: #f7f7f7;
}

.custom-select.active .options {
  display: block;
}

/* Focus styles */
.input-field input:focus {
  border-color: #0b1e3f;
  box-shadow: 0 0 8px rgba(11, 30, 63, 0.3);
}
.hint {
  font-size: 13px;
  color: #888;
  margin-top: 5px;
  display: block;
}

.validation-message {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 500;
}

/* Input styling */
.input-field input[type="tel"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.input-field input[type="tel"]:focus {
  outline: none;
  border-color: #0b1e3f;
  box-shadow: 0 0 4px rgba(11, 30, 63, 0.25);
}


/* Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #fb4d46;
  border: none;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover {
  background-color: #e5433d;
}

/* Google button */
.google-signup {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 22px;
  color: #fb4d46;
  transition: background 0.3s, color 0.3s;
}
.google-signup:hover {
  background: #fb4d46;
  color: #fff;
}

p {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
}
a {
  color: #fb4d46;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
  .left-section {
    display: none;
  }
  .right-section {
    flex: 1 1 100%;
    padding: 25px;
  }
}
