 @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
   

      body {
        font-family: "Poppins", sans-serif;
     
      }
.container {
  /* background: linear-gradient(135deg, #e0f7fa 0%, #b0e0e6 100%); */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.form-overlay {
  /* background: url('https://images.unsplash.com/photo-1505576399279-565b52d4ac71?auto=format&fit=crop&w=1350&q=80') no-repeat center center; */
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(5px) brightness(0.7);
  z-index: 1;
}

.form-content {
  /* background: rgba(46, 46, 46, 0.9); */
  /* Matte glass effect */
  background: rgba(51, 51, 51, 0.795);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 900px;
  margin: 20px;
  z-index: 2;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease forwards;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: #00a8b5;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-subtitle {
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
}

.loan-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}
input,
select {
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #e0e4ff;
  border-radius: 8px;
  background: #f9faff;
  transition: all 0.3s ease;

  /* reset native iOS/Android styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:focus,
select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  /* background: #fff; */
  outline: none;
}
/* Low visibility placeholder */
input::placeholder,
select:invalid {
  color: rgba(176, 176, 176, 0.884);
  /* opacity: 0.5; */
}

/* For select elements, apply low opacity to the disabled option */
select option[disabled][selected] {
  color: rgba(133, 133, 133, 0.799);
}
.error-text {
  font-size: 12px;
  color: #ffffff;
  /* filter: drop-shadow(0 1px 1px rgb(255, 255, 255)); */
  margin-top: 6px;
  display: none;
}

input:invalid:required + .error-text,
select:invalid:required + .error-text {
  display: block;
}

.get-started {
  background: #66b88e;
  color: #ffffff;
  padding: 15px;
  border: none;
  margin-top: 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(107, 72, 255, 0.3);
}

.get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 72, 255, 0.5);
  background: #836ba1;
  color: #fff;
}

.disclaimer {
  font-size: 12px;
  color: #b0bec5;
  text-align: center;
  margin-top: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .form-content {
    padding: 20px;
    margin: 10px;
    max-width: 100%;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .form-title {
    font-size: 24px;
  }
  .form-subtitle {
    font-size: 14px;
  }
  .get-started {
    padding: 12px;
    font-size: 14px;
  }
}
