/* custom-form.css */

/* Form container */
.custom-form {
  max-width: 100% !important;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  /* border-radius: 5px; */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

/* Form fields */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
  padding: 10px;
  border: 1px solid #ccc;
  /* border-radius: 8px; */
  box-sizing: border-box;
}

.m-number{
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
  width: 100%;
}
/* Button */
.form_submit_btn {
  padding: 15px 20px;
  background-color: #2caac1;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.form_submit_btn:hover {
  background-color: #207d8e !important;
}

/* Flex container for inputs in the same row */
.form-row {
  display: flex;
  justify-content: space-between;
}

/* Prefix for phone number */
.form-group-prepend {
  display: flex;
  align-items: center;
}

.form-group-prepend-text {
  /* padding: 10px; */
  background-color: #eee;
  border: 1px solid #ccc;
  border-right: none;
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Additional styles for smaller screens */
@media screen and (max-width: 600px) {
  .custom-form {
      width: 100%;
      padding: 15px;
  }
}

/* Adjust input width for smaller screens */
@media screen and (max-width: 400px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select {
      width: 100%;
  }
}
