/* Import Lato font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Apply Lato font across the form */
body, .fForm {
  font-family: 'Lato', sans-serif;
}

/* Form container with proper alignment and width */
.fForm fieldset {
  border-top: none !important;
}
.fForm,
.has-user .container {
  /* max-width: 900px; */
  margin: 0 auto;
  padding: 20px;
  font-size: 14px;
}

/* Set a uniform border and spacing for fieldsets */
.fForm .formwrap {
  border: 2px solid #305454;
  padding: 20px 40px;
  margin-bottom: 30px;
  border-radius: 50px;
  position: relative;
width: 100%;
}
.fForm .formwrap.arrival {
  margin-bottom: 0;
}
.fForm fieldset legend,
.has-user fieldset legend,
.has-user fieldset .form-heading {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  padding: 0 10px;
  border: none;
}
/* .has-user fieldset .form-heading,
.fForm fieldset legend {
  position: absolute;
  top: -30px;
  left: 15px;
  padding: 2px 5px;
  background: #fff;
  width: auto;
}
.fForm fieldset legend {
  top: -18px;
} */
/* Flexbox setup for side-by-side fields */
.fForm .f-fieldset-body,
.has-user .f-fieldset-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

/* Each form item takes 48% width */
.fForm .form-item,
.has-user .form-item {
  flex: 0 0 auto;
  width: 48%;
  padding: 0 15px;
  /* margin-bottom: 20px; */
  overflow: visible;  /*Add this if you have country dropdown - Anubhav*/
  height: auto !important;
}

.fForm .form-item.form-item-type-heading,
.has-user .form-item.form-item-type-heading {
  width: 100%;
}

.fForm .form-item-full {
  width: 100%;
}
.has-user form {
  display: flex;
  flex-wrap: wrap;
}
/* Ensure all labels are left-aligned and consistently styled */
.fForm label,
.has-user label {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
  text-align: left;
  display: block;
  width: 100% !important;  /*Also add this here - Anubhav*/
}

/* Apply the same width for all input, select, and textarea fields */
.fForm input[type="text"],
.fForm input[type="email"],
.fForm input[type="password"],
.fForm input[type="date"],
.fForm select,
.fForm textarea,
.has-user input[type="text"],
.has-user input[type="email"],
.has-user input[type="password"],
.has-user input[type="date"],
.has-user select,
.has-user textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Align hint text properly under the input field */
.fForm .hint {
  font-size: 12px;
  color: #777;
  text-align: left;
  margin-top: 5px;
  padding-left: 0; /* Remove extra padding */
}

/* Style and space out the radio button fields */
/* =====================================================
This is not neccesary. It will bring label and radio buttons inline. Instead relace it line number 184 - Anubhav
===================================================== */
/* .fForm .form-item-type-radio {
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  align-items: center;
}

.fForm .form-item-option {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fForm .form-item-option label {
  font-weight: normal;
}

.fForm input[type="radio"] {
  margin-right: 5px;
} */

/* Button styles */
a.fButton, .fForm .buttons input, .fbutton-btn a, .fForm .buttons a,
.has-user .buttons input {
  padding: 14px 40px;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  font-size: 16px;
  text-align: center;
  background-color: #2e5e60;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  -ms-transition: all .3s ease;
  transition: all .3s ease;
  border-radius: 5px;
  margin-right: 10px;
  border: none;
}
a.fButton:hover, .fForm .buttons input:hover, .fbutton-btn a:hover {
  box-shadow: rgba(0, 0, 0, .35) 0 5px 15px;
}

/* Additional buttons styling */
.fForm .buttons a {
  margin-left: 10px;
  text-decoration: none;
  color: #00695c;
  font-size: 14px;
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
  .fForm {
    max-width: 100%;
    padding: 10px;
  }

  .fForm .form-item {
    flex: 1 1 100%;
  }
}





/* Anubhav CSS */
/* Add after line number 23  */
.fForm .form-item .date {
  width: 100%;
}


/* Add in generic css */
img {
  max-width: 100%;
  height: auto;
}
.fForm .hint {
  margin-left: 0 !important;
}
.fForm .form-item-option {
  margin: 0 !important;
  width: 100%;
}

.fForm .form-item-type-checkbox .checkbox label, 
.fForm .form-item-type-radio .checkbox label, 
.fForm .form-item-type-boolean label {
  float: none;
  width: 100%;
  padding-left: 0;
  margin-right: 0;
  text-align: left;
  padding-left: 20px;
}
.has-user .checkbox label input {
  margin-right: 10px;
}
.checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 !important;
  gap: 15px;
}
.fForm .checkbox label, 
.fForm .form-item-type-boolean label, 
fieldset .checkbox label, 
fieldset .form-item-type-boolean label {
  width: auto;
}
.fForm .buttons {
  padding-left: 0;
}
.fForm .buttons a {
  display: none;
}
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

/*Add this if you have country dropdown - Anubhav*/
.iti {
  width: 100%;
}



/* Css for custom design */
.wrap {
  margin: 0 auto;
  max-width: 100%;
  overflow: visible;
}
header {
  padding: 10px 0;
  text-align: center;
}
header img {
  max-height: 220px;
}
.page-title {
  position: relative;
  color: #000;
  background: rgb(48 84 84);
  /* background: linear-gradient(90deg, rgba(46, 94, 96, 1) 0%, rgb(46 94 96) 87%); */
  text-align: center;
  padding: 20px 0;
  margin-bottom: 30px;
}
.page-title h1 {
  font-weight: 600;
  font-size: 30px;
  color: #fff;
  margin: 0;
}
.path-home- form .form-item-type-fieldset:nth-child(2) {
  display: none;
}
.user-register-group {
 display:none;
}
.para {
  max-width: 800px;
  margin: 0 auto 30px;
}
.fMainMenu ul,
.fMainMenu ul li {
    list-style: none;
}
.fMainMenu ul li a {
    text-decoration: none;
    color: #000;
}
.fMainMenu .fMenu {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}
.fMainMenu ul li {
    padding: 0 5px;
}

.fPageTitle {
    background: #305353;
    padding: 10px;
}
.fPageTitle h1 {
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
}
.fForm .form-heading {
    border-bottom: 1px solid #000 !important;
    display: inline-block;
    margin-top: 0 !important;
    font-weight: bold;
    font-size: 1.5rem !important;
    padding: 0.5rem 0 !important;
}
.intl-tel-input {
    width: 100%;
}
header .fLogo img {
    max-height: 100px;
}
.fLogo h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
}
.fLogo P {
    margin: 0;
    line-height: 2rem;
}
#nav-up {
    display: none !important;
}
.buttons {
  text-align: center;
}
.fForm .buttons p a {
  display: inline-block;
  background: none;
  color: #000;
  font-size: inherit;
  padding: 0;
  margin: 0;
}
.fForm p {
  height: auto !important;
}
.formwrap {
  display: flex;
  flex-wrap: wrap;
}