/* === Global Styles === */
body {
  background-image: url('../images/bg_image1.png');
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  font-family: 'Poppins', 'Roboto', 'Inter', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.custom-offcanvas {
  background-color: #0d1b2a;
  color: white;
}

.custom-offcanvas .nav-link {
  color: white;
}

.custom-offcanvas .nav-link:hover {
  color: #f1c27d;
}

.custom-offcanvas .nav-link.active {
  background-color: #ffffff !important;
  color: #0d1b2a !important;
  /* Ensure the text color is visible */
  border-radius: 999px;
  font-weight: 600;
  padding: 6px 16px;
  display: inline-block;
  text-align: center;
}

.custom-navbar {
  position: relative;
  /* for absolute positioning of center logo */
  background-color: #0d1b2a;
  min-height: 70px;
}

.dropdown-item-profile {
  background-color: #f1c27d;
}

@media (max-width: 1199.98px) {
  .navbar-toggler {
    z-index: 3;
  }

  .navbar .bi-cart {
    font-size: 1.6rem;
  }
}






/* === Animations === */
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translate(-10%, -30%);
    opacity: 0;
  }

  100% {
    transform: translate(-10%, -50%);
    opacity: 1;
  }
}

/* === Signup Page Styles === */
.signup-wrapper {
  width: 900px;
  max-width: 95%;
  display: flex;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.signup-page .form-label {
  color: #d6b075;
  font-weight: 600;
  background-color: #0d1b2a !important;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
}

.signup-left {
  background-image: url('../images/bg_image.png');
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  position: relative;
  width: 35%;
  background-color: #0d1b2a;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  animation: slideInLeft 1s ease;
  overflow: hidden;
  z-index: 0;
}

.signup-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url('../images/bg_image.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

.signup-left img {
  width: 100px;
  margin-bottom: 20px;
}

.signup-left h2 {
  color: #f9c978;
  margin-bottom: 20px;
}

.btn-left-signup {
  background-color: #3272ff;
  color: #ffffff;
  padding: 10px 25px;
  border: none;
  border-radius: 50px;
  margin-top: 20px;
  transition: transform 0.3s ease;
  width: 120px;
  ;
}

.signup-right {
  width: 65%;
  background-color: #d6b075;
  padding: 40px;
  animation: slideInRight 1s ease;
}

.form-label {
  color: #d6b075;
  font-weight: 600;
  background-color: #0d1b2a;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
}

/* === Login / Welcome Box Styles === */
.main-wrapper {
  position: relative;
  width: 850px;
  max-width: 95%;
  display: flex;
  justify-content: flex-end;
}

.welcome-box {
  height: 550px;
  width: 60%;
  max-width: 900px;
  background-color: #021728;
  color: white;
  padding: 80px 60px;
  border-radius: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0;
  animation: slideInRight 1.2s ease;
}

.welcome-box img {
  width: 100px;
  margin-bottom: 15px;
}

.welcome-box h2 {
  color: #f9c978;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'Roboto-Bold', sans-serif;
}

.btn-signup {
  font-family: 'Roboto-Bold', sans-serif;
  background-color: #3272ff;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 50px;
  margin-top: 20px;
  transition: transform 0.3s ease;
  width: 120px;
}

.btn-signup:hover {
  transform: scale(1.05);
}

.login-box {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-10%, -50%);
  background: white;
  padding: 60px 50px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 450px;
  height: 450px;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.btn-login {
  width: 120px;
  background-color: #a2d8f6;
  border: none;
  border-radius: 50px;
  transition: transform 0.2s ease;
  margin-top: 30px;
}

.btn-login:hover {
  background-color: #265fdd;
  transform: scale(1.02);
}

.btn-login:active {
  transform: scale(0.97);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* === Input Styles === */
.form-control {
  border-radius: 10px;
  font-style: italic;
}

.input-group .form-control {
  border-left: none;
  box-shadow: none;
}

.input-group-text {
  border-right: none;
  background-color: white;
}

.toggle-password {
  cursor: pointer;
  margin-left: 10px;
  background:transparent;
  border-right: 1px solid #ccc !important;
  border-top:1px solid #ccc !important;
  border-bottom:1px solid #ccc !important;
  border-left: none;
}
.login-box #password {
  border-right:none;
}

.input-group {
  height: 60px;
  border-radius: 12px;
  /* overflow: hidden; */
  position: relative;
}

.filter-input{
  overflow: hidden;
}

.login-page .input-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5px;
  bottom: 0.5px;
  width: 4px;
  background-color: #265fdd !important;
  border-radius: 3px;
}

.input-group-text,
.input-group .form-control {
  height: 100%;
/*  display: flex;*/
  align-items: center;
  font-size: 1rem;
  border: none;
  outline: none;
}

.input-group:focus-within {
  box-shadow: 0 0 10px rgba(0, 173, 255, 0.4);
}

.input-group-text img.input-icon,
.input-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.9;
}

.icon-wrapper {
  border-right: 1px solid #265fdd;
  padding-right: 12px;
}

.signin-heading {
  font-weight: 700;
  color: #6c757d;
}

.form-control::placeholder {
  color: #888;
}

select,
input[type="date"],
input[type="time"] {
  text-align: left;
  text-align-last: left;
}

/* For Safari (iOS) */
@supports (-webkit-touch-callout: none) {
  select, input[type="date"], input[type="time"] {
    text-align-last: left !important;
  }
}

/* === Checkbox and Label === */
.form-check-label,
.login-box a {
  color: #484b4e;
  font-size: 0.9rem;
}

.form-check-input {
  border-color: #6c757d;
}

.form-check-input:checked {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* === Responsive === */
@media (max-width: 768px) {
  /* body {
    align-items: flex-start !important;
    padding-top: 0px !important;
    height: auto !important;
    overflow: auto !important;
  } */

  .main-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .login-box {
    position: static !important;
    transform: none !important;
    width: 90% !important;
    margin-bottom: 20px !important;
    animation: none !important;
    height: auto !important;
    padding: 40px 30px !important;
  }

  .welcome-box {
    width: 90% !important;
    height: auto !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    animation: none !important;
    margin-bottom: 20px;
  }

  .btn-signup,
  .btn-login {
    width: 100% !important;
  }

  .signup-wrapper {
    flex-direction: column;
    width: 95%;
    max-width: 95%;
    margin: 20px auto;
    border-radius: 20px;
  }

  .signup-left {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
  }

  .signup-right {
    width: 100%;
    padding: 30px 20px;
  }

  .btn-left-signup {
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    margin-top: 20px;
    transition: transform 0.3s ease;
    width: 120px;

  }

  .form-label {
    display: block;
    width: 100%;
    text-align: left;
  }

  .col-md-6,
  .col-12 {
    width: 100% !important;
  }

  form.row.g-3 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* === Responsive === */
@media (max-width: 992px) {
   body {
    align-items: flex-start !important;
    padding-top: 0px !important;
    height: auto !important;
    overflow: auto !important;
  } 

  .main-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: 1rem;
  }

  .login-box {
    position: static !important;
    transform: none !important;
    width: 90% !important;
    margin-bottom: 20px !important;
    animation: none !important;
    height: auto !important;
    padding: 40px 30px !important;
  }

  .welcome-box {
    width: 90% !important;
    height: auto !important;
    border-radius: 20px !important;
    padding: 40px 30px !important;
    animation: none !important;
    margin-bottom: 20px;
  }

  .btn-signup,
  .btn-login {
    width: 100% !important;
  }

  .signup-wrapper {
    flex-direction: column;
    width: 95%;
    max-width: 95%;
    margin: 20px auto;
    border-radius: 20px;
  }

  .signup-left {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
  }

  .signup-right {
    width: 100%;
    padding: 30px 20px;
  }

  .btn-left-signup {
    padding: 10px 25px;
    border: none;
    border-radius: 50px;
    margin-top: 20px;
    transition: transform 0.3s ease;
    width: 120px;

  }

  .form-label {
    display: block;
    width: 100%;
    text-align: left;
  }

  .col-md-6,
  .col-12 {
    width: 100% !important;
  }

  form.row.g-3 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}



/* === Appointment Page Styles === */
.duration-dropdown-btn:focus,
.duration-dropdown-btn:active,
.duration-dropdown-btn.show {
  box-shadow: none;
  border-color: #86b7fe;
  outline: 0;
}

.duration-option {
  cursor: pointer;
  transition: background-color 0.2s;
  border-radius: 4px;
}

.duration-option:hover {
  background-color: #f8f9fa;
}

#durationDropdownBtn {
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
}

.modal-body {
  padding-top: 0 !important;
}

.modal-header h5 {
  font-size: 1.1rem;
}

.card-custom {
  background-color: #fff;
  border-radius: 12px;
  padding-top: 20px;
  margin: 20px 0;
}


body.appointment-body .show-more-btn {
  margin-bottom: 4rem !important;
}

.btn-dark-blue {
  background-color: #001F3F;
  color: white;
}

.profile-img {
  width: 50px;
  height: 50px;
  background-color: #ccc;
  border-radius: 50%;
}

.icon {
  margin-right: 8px;
}





/* === Appointment Page Wrapper === */
.appointment-body {
  display: block;
  height: auto;
  overflow: auto;
  background-image: url('../images/bg_image1.png');
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  font-family: 'Poppins', 'Roboto', 'Inter', sans-serif;
}

.custom-navbar {
  background-color: #0d1b2a !important;
}

.custom-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
}


.custom-nav-links .nav-link {
  font-weight: 500;
  color: #c6a56f !important;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.navbar .nav-link i {
  vertical-align: middle;
  color: #c6a56f !important;

}



@media (max-width: 991px) {
  .custom-nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 10px;
  }

  .navbar-collapse {
    background-color: #0d1b2a;
    padding: 10px;
    border-radius: 10px;
  }
}

.custom-nav-links .nav-link.active {
  background-color: #ffffff !important;
  color: #0d1b2a !important;
  /* ensures the text is visible */
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
  line-height: 1.2;
  text-align: center;
}

.custom-nav-links .nav-link:hover {
  background-color: #ffffff !important;
  color: #0d1b2a !important;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}


.cleaner-card-custom {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 10%;
  object-fit: contain;
  padding: 10px;
}

.btn-dark-blue {
  background-color: #0d1b2a;
  color: #c6a56f;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.55rem 4.0rem;
  font-size: 1rem;
}

.bg-dark-blue {
  background-color: #0d1b2a;
}

.text-tan {
  color: #d6b075;
}


@media (max-width: 1024px) {

  /* Stack the navbar items vertically */
  .navbar-collapse {
    flex-direction: column;
    align-items: center;
    background-color: #0d1b2a;
    border-radius: 0.5rem;
    padding: 1rem 0;
  }

  /* Stack nav links and reduce gap */
  .custom-nav-links {
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 1rem;
    align-items: center;
  }

  /* Space between nav and right icons */
  .navbar .d-flex.align-items-center.gap-3 {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .navbar-toggler {
    border: none;
  }

  /* Optional: reduce horizontal padding */
  .navbar {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .filter-grid>div {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .show-more-btn {
    margin-bottom: 4rem !important;
  }
}

@media (max-width: 1024px) {
  .show-more-btn {
    margin-bottom: 4rem !important;
  }
}

@media (max-width: 1280px) {
  .show-more-btn {
    margin-bottom: 4rem !important;
  }
}

.btn-dark-blue:hover {
  background-color: #265fdd;
  /* Example hover color */
  color: #ffffff;
  /* Optional: change text color */
}

/* === REMOVE #265fdd ONLY FOR APPOINTMENT PAGE === */
body.appointment-body .input-group::before {
  background-color: #d6b075 !important;
  /* Tan */
}

body.appointment-body .icon-wrapper {
  border-right: 1px solid #d6b075 !important;
}

body.appointment-body .btn-login:hover {
  background-color: #0d1b2a !important;
}

.bg-tan {
  background-color: #d6b075;
}

.filter-btn {
  background-color: #d6b075;
  color: #000;
  border: none;
  border-radius: 1rem;
  padding: 0.45rem 1.2rem;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease;
}

.filter-btn:hover {
  background-color: #c6a56f;
  color: #000;
}


.filter-date-input {
  background-color: #d6b075;
  color: #000;
  border: none;
  border-radius: 2rem;
  padding: 0.45rem 1.5rem 0.45rem 2.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  appearance: none;
  position: relative;
}

.filter-date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 1rem;
  color: transparent;
  background: transparent;
  z-index: 2;
  cursor: pointer;
}

.pointer-events-none {
  pointer-events: none;
}

.custom-date-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  
  border-radius: 2rem;
  padding-right: 2.2rem;
  font-weight: 500;
}

.custom-date-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 1rem;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

/* Custom Date & Time Inputs */
.custom-date-input,
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  border-radius: 2rem;
  padding-right: 0.8rem;
  font-weight: 500;
}

/* Hide the native calendar icon */
.custom-date-input::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 1rem;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

/* Optional: Prevent accidental clicks on custom icon */
.pointer-events-none {
  pointer-events: none;
}


.search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.form-control {
  border-radius: 0.75rem;
  font-style: normal !important;
}

/* === Cleaning Subscription  and Appointment Page Styles === */
.subscription-box {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}




/* Top filter buttons */
.btn-outline-dark {
  border: none;
  background-color: #d6b075;
  color: #000;
}

.btn-outline-dark:hover {
  background-color: #c6a56f;
  color: #000;
}

/* Day selection buttons */
.day-btn {
  background-color: #d6b075;
  color: #000;
  border: none;
  transition: 0.3s ease;
}

.day-btn:hover {
  background-color: #c6a56f;
  color: #000;
}

.day-btn.active {
  background-color: #0d1b2a;
  color: #ffffff;
}

/* Section Labels */
.subscription-box .form-label {
  font-weight: 600;
  color: #d6b075;
}

/* Alyna’s pick icon text */
.subscription-box .alyna-pick {
  font-weight: 600;
  color: #0d1b2a;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

/* === Cleaning Subscription Page Styles === */
.subscription-box {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Dropdown & Filter Buttons */
.btn-outline-dark {
  border: none;
  background-color: #d6b075;
  color: #000;
}

.btn-outline-dark:hover {
  background-color: #c6a56f;
  color: #000;
}

/* Day Buttons */
.day-btn {
  background-color: #d6b075;
  color: #000;
  border: none;
  transition: 0.3s ease;
}

.day-btn:hover {
  background-color: #c6a56f;
  color: #000;
}

.day-btn.active {
  background-color: #0d1b2a;
  color: #ffffff;
}


/* Alyna’s Pick Badge */
.subscription-box .alyna-pick {
  font-weight: 600;
  color: #0d1b2a;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

body.subscription-page {
  display: block;
  height: auto;
  overflow-x: hidden;
  padding: 0;
}

.day-btn {
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  margin: 0.2rem;
}

.day-btn.active {
  background-color: #0d1b2a;
  color: white;
}

.form-select,
.form-control {
  border-radius: 10px;
}

.subscription-page .form-label {
  color: #d6b075;
  font-weight: 600;
  background-color: white !important;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
}

.subscriptions-page.input-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5px;
  bottom: 0.5px;
  width: 4px;
  background-color: #d6b075 !important;
  /* Tan */
  border-radius: 3px;
}

.location-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5px;
  bottom: 0.5px;
  width: 4px;
  background-color: #ffffff !important;
  /* Tan */
  border-radius: 3px;
}

.day-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  min-width: 72px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

body.subscription-page {
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
  display: block;
}

.custom-date-input,
.filter-input select {
  outline: none !important;
  box-shadow: none !important;
  background-clip: padding-box;
}

.filter-input i {
  pointer-events: none;
}










/* === Profile Page Styles === */
.profile-section {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

/* Profile header row */
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Profile user block */
.profile-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  width: 70px;
  height: 70px;
  background-color: #d6b075;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar i {
  font-size: 2rem;
  color: #ffffff;
}

/* User name */
.profile-user h5 {
  margin: 0;
  font-weight: 600;
  color: #0d1b2a;
}

/* Profile actions */
.profile-actions .btn {
  color: #0d1b2a;
  font-size: 1.2rem;
}

.profile-balance {
  background-color: #d6b075;
  color: #0d1b2a;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
}

/* Accordion overrides */
.accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: #0d1b2a;
  background-color: #ffffff;
}

.accordion-button:not(.collapsed) {
  background-color: #f9f9f9;
  color: #0d1b2a;
  box-shadow: none;
}

.accordion-body {
  font-size: 0.95rem;
  color: #333;
}

/* Contact & Address Rows */
.contact-row,
.address-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.contact-row i,
.address-row i {
  margin-right: 0.5rem;
  color: #0d1b2a;
}

.address-row {
  font-weight: 500;
  color: #0d1b2a;
}

/* Responsive Tweaks */
@media (max-width: 576px) {
  .profile-user {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-avatar {
    width: 60px;
    height: 60px;
  }

  .profile-user h5 {
    font-size: 1rem;
  }

  .profile-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* === Settings Page Styles === */
.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.settings-balance {
  background-color: #fff;
  color: #0d1b2a;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
}

.settings-card {
  background-color: #ffffff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
}

.settings-card .card-header {
  background-color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: #0d1b2a;
}

.settings-card .list-group-item {
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #0d1b2a;
}

.settings-card .list-group-item .form-check-input:checked {
  background-color: #0d1b2a;
  border-color: #0d1b2a;
}

.settings-card .list-group-item span.text-muted {
  font-size: 0.95rem;
}

.settings-card .list-group-item.deactivate {
  color: red;
  font-weight: 500;
}

.accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: #0d1b2a;
}

.accordion-button:not(.collapsed) {
  background-color: #f9f9f9;
  color: #0d1b2a;
  box-shadow: none;
}

.settings-details-card-button {
  background-color: #c6a56f;
  font-weight: bold;
  border-radius: 8px;
  padding: 6px 14px;
  border: none;
}






/* === Edit Profile Page Styles === */
body.profile-page {
  background-image: url('../images/bg_image1.png');
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  font-family: 'Poppins', 'Roboto', 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  height: auto !important;
  overflow: auto !important;
}

.input-borderless {
  border: none;
  outline: none;
  background-color: transparent;
  /* Optional: matches background */
  box-shadow: none;
  /* Remove Bootstrap shadows */
}

.navbar {
  background-color: #0d1b2a;
}

.navbar .nav-link,
.navbar .nav-link i {
  color: #c6a56f !important;
  font-weight: 500;
}



.navbar .badge {
  background-color: #3272ff;
}

.profile-section {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  width: 70px;
  height: 70px;
  background-color: #d6b075;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar i {
  font-size: 2rem;
  color: #ffffff;
}

.profile-user h5 {
  margin: 0;
  font-weight: 600;
  color: #0d1b2a;
}

.btn-edit-image {
  background-color: #d6b075;
  color: #0d1b2a;
  font-weight: 600;
  border-radius: 2rem;
}

.profile-profile-form-label {
  color: #0d1b2a;
  font-weight: 600;
  background-color: white !important;
}

.form-control {
  border-radius: 0.75rem;
  font-style: italic;
}

.btn-update {
  background-color: #0d1b2a;
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.profile-edit-img-card-button {
  background-color: #c6a56f;
  font-weight: bold;
  border-radius: 8px;
  padding: 6px 14px;
  border: none;
}

.editable-field {
    background-color: #f9f9f9 !important;
    border: 1px solid #007bff !important;
  }

  .edit-icon.active {
    color: #007bff !important;
    cursor: pointer;
  }

/* Responsive tweaks */
@media (max-width: 576px) {
  .profile-user {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-avatar {
    width: 60px;
    height: 60px;
  }

  .profile-user h5 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {

  /* Align avatar icon to the left */
  .mobile-left-align {
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Align button to the right */
  .mobile-right-align {
    margin-left: auto !important;
    margin-right: 0 !important;
    display: block;
  }
}







/* === Cart Page Styles === */
.cart-box {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.cart-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 1rem;
}

.cart-item {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #0d1b2a;
}

.cart-item-subtext {
  font-size: 0.95rem;
  color: #555;
}

.cart-item-price-badge {
  background-color: #d6b075;
  color: #0d1b2a;
  border-radius: 1rem;
  padding: 0.25rem 0.75rem;
  font-weight: 600;
}

.address-option,
.payment-option {
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.address-option input[type="radio"],
.payment-option input[type="radio"] {
  accent-color: #0d1b2a;
}

.new-address-input,
.comments-input {
  font-style: italic;
  border-radius: 0.75rem;
}

.apply-coupon-btn {
  border-radius: 2rem;
  font-size: 0.9rem;
  padding: 0.25rem 1rem;
}

.price-summary {
  font-weight: 500;
  color: #0d1b2a;
}

.price-summary .text-success {
  color: #00aa00 !important;
}

.price-summary .text-danger {
  color: red !important;
}

.checkout-total {
  font-weight: 700;
  font-size: 1.25rem;
  color: red;
}

.terms-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 500;
  color: #0d1b2a;
}

.checkout-btn {
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: 1.5rem;
  background-color: #0d1b2a;
  color: #fff;
}

body.cart-page {
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  height: auto !important;
  overflow: auto !important;
}

/* === Cleaner Listing Page Styles === */
.cleaner-card {
  background-color: #fff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cleaner-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cleaner-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #eee;
  flex-shrink: 0;
}

.cleaner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cleaner-details h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cleaner-details .rating {
  color: #8b6f3d;
  font-weight: 600;
}

.cleaner-meta {
  font-size: 0.875rem;
  color: #333;
  line-height: 1.4;
}

.cleaner-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-add-to-cart {
  background-color: #0d1b2a;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.btn-add-to-cart:hover {
  background-color: #143a5d;
}

/* === Name Page Styles === */
.filter-bar {
  background-color: #0d1b2a;
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  margin: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-cleaner {
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-cleaner img.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.card-cleaner span small{
  max-width: 250px;
  display: -webkit-inline-box;
/*  white-space: nowrap;*/
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .card-cleaner span small{
    max-width: 100px;
  }
}

.btn-add-cart {
  background-color: #0d1b2a;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
}

.badge-cart {
  background-color: #3272ff;
  font-size: 0.7rem;
}

body.subscription-page {
  display: block;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  background-image: url('../images/bg_image1.png');
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  font-family: 'Poppins', 'Roboto', 'Inter', sans-serif;
}


/* === Completed Services Page === */

body.completed-services-page {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  overflow: auto !important;
  background-image: url('../images/bg_image1.png');
  background-repeat: repeat;
  background-size: cover;
  background-blend-mode: multiply;
  font-family: 'Poppins', 'Roboto', 'Inter', sans-serif;
  padding-top: 80px;
  /* This is okay if navbar is fixed */
}


/* Tabs */
.top-tabs {
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  border-bottom: 2px solid #ccc;
  font-weight: 600;
  overflow-x: auto;
  white-space: nowrap;
}

.top-tabs .tab {
  flex: 1 0 auto;
  min-width: 33.33%;
  text-align: center;
  padding: 1rem 0;
  border-bottom: 3px solid transparent;
  color: #444;
}

.top-tabs .tab.active {
  border-bottom: 3px solid #0d1b2a;
  color: #000;
  background-color: rgba(6, 7, 7, 0.178);
}

.top-tabs::-webkit-scrollbar {
  display: none;
}

.top-tabs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Card */
.service-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1rem;
  box-shadow: 0 2px 12px rgba(24, 22, 22, 0.05);
  position: relative;
}

.avatar-img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
}

.icon-right {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 80px;
  height: 80px;
}


/* Button */
.btn-feedback {
  background-color: #0d1b2a;
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  display: block;
  margin: 1.5rem auto;
}

.btn-feedback:hover {
  background-color: #143a5d;
}








/* === OFFERS SECTION === */

/* Background */


/* Navbar styling */
.navbar {
  background-color: #001122;
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
  color: #fff !important;
}

.nav-link {
  color: #fcd581 !important;
  font-weight: 500;
}

.nav-link.active {
  color: #ffffff !important;
}

/* Offers container */
.offer-container {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 40px auto;
}

/* Coupon input group */
.input-group .form-control {
  border-radius: 10px 0 0 10px;
  border: 1px solid #ccc;
}

.input-group .btn {
  border-radius: 0 10px 10px 0;
  background-color: #ccc;
  border: none;
  color: white;
  font-weight: 500;
}

/* Offer card */
.offer-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
}

/* Coupon code button */
.btn-code {
  background-color: #c6a577;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  padding: 6px 14px;
  border: none;
}

/* View details link */
.view-details {
  font-size: 0.8rem;
  color: #333;
  text-decoration: underline;
}

/* Applied message */
.applied {
  color: #00a66f;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
}

/* Proceed button */
.btn-proceed {
  background-color: #001122;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  width: 100%;
  margin-top: 20px;
}

/* Fade In Animation */
@keyframes fadeInBottomLeft {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base Style */
.coupon-icon-bottom-left {
  position: fixed;
  bottom: 100px;
  left: 100px;
  width: 200px;
  opacity: 0;
  z-index: 0;
  animation: fadeInBottomLeft 1.5s ease-out forwards;
  pointer-events: none;
}

/* Tablet */
@media (max-width: 768px) {
  .coupon-icon-bottom-left {
    width: 90px;
    bottom: 15px;
    left: 15px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .coupon-icon-bottom-left {
    width: 100px;
    bottom: 10px;
    left: 10px;
  }
}

.offer-details-card {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.offer-details-card-button {
  background-color: #c6a56f;
  font-weight: bold;
  border-radius: 8px;
  padding: 6px 14px;
  border: none;
}

body.offer-page {
  display: block;
  /* Reset to default layout */
  align-items: unset;
  justify-content: unset;
  height: auto;
  overflow: auto;
}

@media (max-width: 768px) {
  .coupon-icon-bottom-left {
    width: 90px;
    bottom: 15px;
    left: 15px;
  }
}

@media (max-width: 480px) {
  .coupon-icon-bottom-left {
    width: 80px;
    bottom: 10px;
    left: 10px;
  }
}

/* Reduce size for shorter viewports even if width is wide */
@media (max-height: 700px) {
  .coupon-icon-bottom-left {
    width: 120px;
    bottom: 20px;
    left: 20px;
  }
}

.offer-details-card-button:hover {
  background-color: #c6a56f;
  /* same as default */
  color: inherit;
  /* maintain current text color */
  transform: none;
  /* prevent any scaling or animation */
  box-shadow: none;
  /* prevent any hover shadow */
}



/* === Help Center Page Styles === */

.search-bar {
  background-color: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-bar i {
  font-size: 1.2rem;
  color: #0d1b2a;
  margin-right: 0.5rem;
}

.help-hero {
  background: linear-gradient(to bottom right, rgba(13, 46, 82, 0.5), rgba(2, 32, 65, 0.6)),
    url('../images/contactus_banner.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  border-radius: 1rem;
  padding: 13.5rem 1.5rem;
  text-align: center;
}

.help-hero h2 {
  font-weight: bold;
  font-size: 1.5rem;
  color: #f1c27d;
}

.help-hero h4 {
  font-weight: 500;
  color: #f1c27d;
  margin-bottom: 0.75rem;
}

.contact-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
}

.contact-item:first-of-type {
  border-top: none;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.social-icons i {
  font-size: 1.5rem;
}

.icon-dark-primary {
  color: #0d1b2a !important;
}

.contact-item a {
  color: #000;
  /* or your preferred color */
  text-decoration: none;
}

@media (max-width: 576px) {
  .contact-item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    text-align: left;
  }

  .contact-item span {
    flex-grow: 1;
    text-align: center;
  }

  .help-hero {
    padding: 4rem 1rem;
  }

  .search-bar {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }
}