/* Reset and Base Styles */
html,
body {
  height: 100%;
  margin: 0;
  font-family: "Nunito", sans-serif;
}

html,
body {
  overflow-x: hidden;
}

#servingstate,
#paymentOption,
.select2-container {
  margin: 0 !important;
  padding: 0 !important;
}

#servingstate,
#paymentOption {
  width: 100% !important; /* To ensure full width usage */
}

.select2-hidden-accessible {
  position: relative !important;
}

.select2-container {
  display: block !important;
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  line-height: normal !important;
}

.select2-container * {
  box-sizing: border-box;
}
/* Main Wrapper */
.main-wrapper {
  flex: 1;
  background: url("/assets/images/fahp_home.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header-wrapper {
  position: fixed;
  bottom: 15px;
  width: 100%;
  /* padding: 30px 50px 0;  */
  /* Simplified padding values */
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0 20px;
  border-radius: 10px;
  width: 60%;
  margin: auto;
  margin-bottom: 10px;
}

.header span,
.header a {
  font-size: 18px;
  color: white !important;
  /* color: #795549 !important; */
  font-weight: 600;
}

.header a {
  cursor: pointer;
  text-decoration: underline !important;
}

/* Menu */
.menu {
  display: flex;
  justify-content: space-between;
  width: 600px;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 15px;
}

.menu-icon i {
  font-size: 30px;
  color: black;
}

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #7a645d;
  overflow-x: hidden;
  transition: width 0.5s ease-in; /* Smooth transition for width */
  padding-top: 60px;
  z-index: 1000;
}

.sidebar.active {
  width: 250px;
}

.sidebar #close-btn {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: white;
  cursor: pointer;
}

.sidebar-menu {
  padding: 15px;
  color: white;
}

.sidebar-menu a {
  padding: 10px 15px;
  text-decoration: none;
  font-size: 18px;
  color: white;
  display: block;
  transition: background-color 0.3s ease; /* Smooth background-color transition */
}

.sidebar-menu a:hover {
  background-color: #575757;
}

/* Home Content */
.home-wrapper {
  flex: 1;
  color: white;
  text-align: center;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  flex: 1; /* Centers content vertically */
  width: 48%;
  margin: auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  /* padding-left: 22px; */
  margin-top: 139px;
}

.content {
  /* background-color: rgba(0, 0, 0, 0.6);  */
  /* Semi-transparent background */
  padding: 10px;
  border-radius: 10px;
}

.content p {
  font-size: 30px;
  color: black;
}

.zipcode-input,
.miles-input {
  width: 118px;
}
/* 
.miles-input {
  margin: 0 20px;
} */

.custom-btn {
  background-color: #721d1d;
  color: white;
  height: 40px;
}

.custom-btn:hover {
  background-color: #721d1d;
}

/* Large Font Class */
.font-large {
  font-size: 30px;
  margin: 0 !important;
}

.banner {
  margin: 10px 10px;
}
.banner img {
  border-radius: 5px;
}

.banner-wrapper {
  display: flex;
  flex-direction: column; /* Arrange elements from bottom to top */
  justify-content: flex-start;
  align-items: flex-start;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  padding-bottom: 250px;
}

.aboutus-wrapper {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  margin: auto;
  width: 50%;
  background-color: white;
  border-radius: 10px;
  color: black;
  overflow-y: auto;
  padding: 30px;
}
.painter-body .aboutus-wrapper {
  display: flex;
  flex-direction: row !important;
}
.aboutus-wrapper p,
.aboutus-wrapper ul {
  text-align: justify;
}
.avail-offer-wrapper {
  text-align: left;
  width: 50%;
  margin: auto;
  margin-top: 90px;
  padding-right: 10px !important;
  color: black;
}
.avail-offer-wrapper h2 {
  text-align: center;
  font-size: 18px;
}
.avail-offer-wrapper p,
.avail-offer-wrapper li,
.avail-offer-wrapper ul {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0px;
}

.terms-wrapper {
  padding: 30px;
}

.terms-wrapper .section p:first-child {
  font-size: 20px;
  font-weight: bold;
}
/* .aboutus-wrapper {
  overflow-y: scroll;
} */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#charNum {
  display: block;
  text-align: right;
}
.error {
  color: #e47575 !important;
  font-size: 14px;
  font-weight: bold;
}
#image-upload-container {
  display: grid;
  grid-template-columns: repeat(5, 100px);
  gap: 20px;
  margin-top: 15px;
}

.upload-button {
  width: 100px;
  height: 100px;
  border: 2px dashed #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.upload-button span {
  font-size: 24px;
  color: #ccc;
}

.image-preview-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.image-preview {
  width: 230px;
  height: auto;
  object-fit: cover;
  border: 2px solid #ccc;
  border-radius: 10px;
}

.trash-button {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: white;
  color: black;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

.image-preview-container .trash-button {
  display: flex;
}

.trash-button .fa {
  font-size: 10px;
  margin: auto;
}
.aboutus-header {
  display: flex;
  flex-direction: column;
}

.form-field {
  display: flex;
  /* align-items: end; */
  flex-direction: column;
}

.custome-form label {
  text-align: left;
  font-size: 14px;
  color: black;
  font-weight: bold;
}
.heading {
  font-size: 30px !important;
  font-weight: bold;
}

.sub-heading {
  font-size: 16px !important;
  margin-top: -8px;
}
.aboutus-wrapper a {
  color: blue !important;
  cursor: pointer;
}

.painter-details {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 20px;
}

/* .aboutus-wrapper .card {
  width: 350px;
} */

.painters-wrapper {
  display: flex;
  flex-wrap: wrap;
  display: flex;
  overflow-x: hidden;
  flex-direction: row;
  gap: 10px;
}

.miles-wrapper {
  margin-left: 15px;
}

.painter-image-wrapper {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  right: 75px;
  padding: 10px;
  padding-bottom: 624px;
}
.privacy-wrapper h4 {
  font-size: 20px;
  font-weight: bolder;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__display {
  color: black !important;
}
.painter-card-info {
  /* width: 40%; */
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.painter_first p,
.painter-second p {
  margin: 5px;
  text-align: left !important;
}
.painter-second,
.painter_first {
  width: 50%;
}
.painter-card-images {
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.steps-class {
  font-weight: bold;
  font-size: 18px !important;
}
.painter-image-wrapper p {
  padding: 0px;
  margin: 0px;
  font-size: 20px;
  font-weight: bolder;
}
.copy-right p {
  padding: 0px;
  margin: 0px;
}
.copy-right {
  text-align: center;
  font-weight: bold;
  width: 100%;
  position: fixed;
  bottom: 0;
}
.aboutus-header-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: normal;
}
.painter-details h5 {
  margin-bottom: 0px;
  text-decoration: underline;
  color: #721d1d;
  font-weight: bold;
}
.contactus-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.image-preview-container .image-preview {
  width: 100px;
}
.extra-padding {
  padding: 30px;
  padding-bottom: 70px;
}
.list-of-painter-result-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.mobile-menu-wrapper {
  display: none;
}
.form-main-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
}
.mobile-menu-items-wrapper {
  display: none;
}
.mobile-menu-items-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: space-between;
}
.mobile-menu-items-wrapper a {
  text-align: center;
  flex: 1 1 auto; /* Ensures items have equal space but can wrap if necessary */
  white-space: normal; /* Allows line wrapping */
  font-size: 16px;
  color: white;
}
.visitors {
  font-size: 0.5rem;
  background-color: white;
  width: min-content;
  border-radius: 50%;
  padding: 2px;
}
