@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cairo");
@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");
*{
    font-family: "Cairo";
}
body {
  display: flex;
  justify-content: center;
  background-repeat: no-repeat; /* Prevent gradient from repeating */
  background-size: cover; /* Cover the entire size of the body */
  align-items: flex-start; /* 👈 change from center */
  min-height: 100vh;
  overflow-y: auto; /* 👈 allow scrolling */
  background-position: center;  /* Center the image */
  background-attachment: fixed; /* Optional: keeps background fixed while scrolling */
  
}
.container {
  max-width: 650px;
  padding: 20px 20px 20px 20px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  transition: transform 0.3s ease;
}
.container form {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 10px;
  row-gap: 20px;
}

.mobile_number {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 1/4 width for country_code, 3/4 width for mobile */
  gap: 10px; /* Optional spacing */
}
.input_container {
  position: relative;
  width: 100%;
}
input,
select {
  width: 100%;
  font-size: 16;
  font-family: "Cairo";
  padding: 10px;
  padding-left: 35px;
  border-radius: 10px;
  border: 1px solid #fafafa;
  background-color: #fafafa;
}
.input_container i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}
input:focus,
select:focus {
  border-color: #5184c2;
  outline: none; /* Optional: remove the default focus outline */
}
.select2-container .select2-selection--single {
  font-size: 16;
  font-family: "Cairo";
  border-radius: 10px;
  border: 1px solid #fafafa;
  height: 100%;
  background-color: #fafafa;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 10px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-top: 10px;
}

.select2-container .select2-selection--single:focus {
  border-color: #179fda;
}
#submit-btn {
  background-color: #88304e;
  color: #fff;
  border: none;
  cursor: pointer;
  max-width: 125px;
  padding: 10px;
}

.open-btn {
  background-color: #88304e;
  color: #fff;
  border: none;
  cursor: pointer;
  max-width: 125px;
  padding: 10px;
}

#submit-btn:hover {
  background-color: #311d3f;
}

.open-btn:hover {
  background-color: #311d3f;
}

.info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 10px;
}

.save i {
  color: #fff;
  margin-left: 5px;
}

.checkbox-group {
  display: flex;
  align-items: center;

}

.checkbox-group label {
  margin-right: 10px;
}
.checkbox-group input[type="checkbox"] {
  display: none;
}

.checkbox-group input[type="checkbox"] + label {
  cursor: pointer;
  padding: 10px;
  text-align: center ;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 60px;
  height: 30px;
  background-color: #fff;
}

.checkbox-group input[type="checkbox"]:checked + label {
  background-color: #88304e;
  color: white;
}

/* Media query for width less than 500px */
@media screen and (max-width: 600px) {
  input,
  select,
  .select2-container .select2-selection--single {
    font-size: 16;
  }
}


.toggle-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-group input[type="checkbox"] {
  display: none;
}

.toggle-group label {
  cursor: pointer;
  padding: 8px 16px;  /* 👈 extra side padding */
  text-align: center;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap; /* 👈 keeps names on one line */
  transition: all 0.2s ease-in-out;
}

.toggle-group input[type="checkbox"]:checked + label {
  background-color: #88304e;
  color: white;
  border-color: #179fda;
  box-shadow: 0 2px 6px rgba(23, 159, 218, 0.3);
}

.toggle-group label:hover {
  background-color: #eaf7ff;
}