/* Modal Base */
.bca-test-fc-modal {
  border: none;
  background: transparent;
}

.bca-test-fc-img {
  position: relative;
}

.bca-test-fc-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.bca-test-fc-img .overlay {
  border-radius: 12px;
}

/* Layout sections */
.top,
.bottom {
  width: 100%;
  height: 50%;
}

.bottom {
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form */
.bca-test-fc-Form {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.bca-test-fc-Form input,
.bca-test-fc-Form select {
  background: transparent;
  border: 2px solid #f69500;
  color: #eba454;
  padding: 10px 14px;
  font-size: 1rem;
  border-radius: 8px;
}

.bca-test-fc-Form input::placeholder {
  color: #ffffff;
}

.bca-test-fc-Form select {
  outline: none;
}

.bca-test-fc-Form select {
  background: transparent;
  border: 2px solid #f69500;
  color: #ffffff;
  outline: none;
  /* Prevent browser default outline */
}

.bca-test-fc-Form select:focus,
.bca-test-fc-Form input:focus {
  outline: none !important;
  border-color: #eba454;
  /* box-shadow: 0 0 0 2px #EBA454; */
}

.bca-test-fc-Form select option {
  color: #f69500;
}

.bca-test-fc-Form button {
  background-color: #d35e15;
}

.bca-test-fc-Form button:hover {
  background-color: #d35e15e1;
}

.btn-close-custom {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #ca7f2a;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  transition: all 0.2s ease;
  z-index: 20;
}

.btn-close-custom:hover {
  background: #ca7f2a;
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .bottom {
    padding: 1.5rem 2.5rem;
  }

  .bca-test-fc-Form {
    max-width: 400px;
  }
}

/* Make the modal wider and taller */
@media (max-width: 768px) {

  .bottom {
    padding: 1.5rem;
  }

  .bca-test-fc-Form input,
  .bca-test-fc-Form select {
    font-size: 0.95rem;
    padding: 8px 12px;
  }

  .bca-test-fc-Form button {
    padding: 0.6rem;
  }

  .modal-dialog {
    max-width: 95% !important;
    margin: 0 auto;
  }


  .bca-test-fc-modall {
    border-radius: 12px;
  }

  .overlay {
    padding: 1rem;
  }

  .bca-test-fc-Form {
    max-width: 90%;
  }
}

/* For extra small screens (below 576px) */
@media (max-width: 576px) {
  .top {
    height: 40%;
  }

  .bottom {
    padding: 1.5rem;
  }

  .bca-test-fc-Form {
    width: 100%;
    max-width: 100%;
  }

  .bca-test-fc-Form input,
  .bca-test-fc-Form select {
    font-size: 0.9rem;
  }

  .bca-test-fc-Form button {
    font-size: 0.9rem;
  }

  .modal-dialog {
    margin: 1rem;
  }

  .bca-test-fc-Form button {
    margin-bottom: 0.9rem;
  }

  .modal-dialog {
    max-width: 100% !important;
    margin: 0;
  }

  .bottom {
    padding: 0.9rem .9rem 0.7rem .9rem;
  }
}