/* Apply Trebuchet MS to entire page */
tf-footer, * {
    font-family: "Trebuchet MS", sans-serif !important;
}
.tf-footer {
    background: #0a1a2a;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px !important;
}

.tf-footer .footer-heading {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.tf-footer .link.h6 {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.tf-footer .link.h6:hover {
    color: #c8102e;
}

.tf-footer .footer-contact i {
    color: #c8102e;
    margin-right: 8px;
    font-size: 16px;
}

.tf-footer .footer-newsletter input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: #fff;
    color: #000;
    font-size: 14px;
}

.tf-footer .tf-btn {
    background-color: #c8102e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    padding: 8px 12px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.tf-footer .tf-btn:hover {
    background-color: #a10d24;
}

.tf-footer .tf-social-icon .box-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #fff;
    color: #0a1a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.tf-footer .tf-social-icon .box-icon:hover {
    color: #fff;
}

.scroll-top-btn {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #c8102e;
    color: #fff;
    border: none;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: background 0.3s ease, transform 0.2s ease;
}

.scroll-top-btn:hover {
    background: #a10d24;
    transform: translateY(-2px);
}

.scroll-top-btn .icon {
    font-size: 16px;
    line-height: 1;
}

.section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.tf-footer .footer-body {
    margin-top: 10px !important;
    padding-top: 10px !important;
}

/* Remove extra top margin between rows */
.tf-footer .footer-body .row {
    margin-top: 10px !important;
    padding-top: 10px !important;
}

/* === Dubizzle-style Login Popup === */
#anonLoginModal .modal-dialog.custom-login-dialog {
  max-width: 420px !important;
  width: 95% !important;
  margin: auto !important;
}

#anonLoginModal .modal-content.login-popup {
  border-radius: 16px !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  padding: 40px 35px !important;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.15) !important;
  min-height: auto !important;
  transition: all 0.3s ease-in-out;
}

/* Title */
#anonLoginModal .modal-title {
  text-align: center;
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #222 !important;
  width: 100%;
  margin-bottom: 20px;
}

/* Ensure body has same internal padding spacing */
#anonLoginModal .modal-body {
  padding: 0 10px !important; /* small inner offset */
}

/* Description text */
#anonLoginModal .modal-body p {
  text-align: center;
  font-size: 14px !important;
  color: #666 !important;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Input styling */
#anonLoginModal .form-control {
  border-radius: 10px !important;
  border: 1px solid #ccc !important;
  background-color: #fafafa !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  color: #333 !important;
  box-shadow: none !important;
}

#anonLoginModal .form-control:focus {
  border-color: #009688 !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1) !important;
}

/* Buttons layout */
#anonLoginModal .d-flex.gap-2 {
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 20px 10px 0 10px !important;
}

#anonLoginModal .d-flex.gap-2 .btn {
  flex: 1 1 48% !important; /* make both buttons equal width */
}

#anonLoginModal .btn {
  width: 100% !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 12px 0 !important;
}

#anonLoginModal .btn-primary {
  background-color: #009688 !important;
  border: none !important;
  color: #fff !important;
}

#anonLoginModal .btn-primary:hover {
  background-color: #00796b !important;
}

#anonLoginModal .btn-outline-secondary {
  background-color: #f9f9f9 !important;
  color: #333 !important;
  border: 1px solid #ccc !important;
}

#anonLoginModal .btn-outline-secondary:hover {
  background-color: #eee !important;
}

/* OTP verify button */
#anonLoginModal .btn-success {
  background-color: #e53935 !important;
  border: none !important;
}

#anonLoginModal .btn-success:hover {
  background-color: #c62828 !important;
}

/* Center popup vertically */
.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* === Popup Close Icon Styling === */
#anonLoginModal .btn-close {
  background: none !important;
  border: none !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s ease-in-out;
  width: 36px;
  height: 36px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
}

#anonLoginModal .btn-close:hover {
  opacity: 1 !important;
  transform: scale(1.1);
}

/* Ensure modal header has space for close icon */
#anonLoginModal .modal-header {
  position: relative;
  padding-right: 50px !important;
}


/* Add padding on left and right of all elements inside the popup */
#anonLoginModal .modal-body {
  padding: 0 25px 20px 25px !important; /* left & right padding for breathing space */
}

#anonLoginModal .form-group,
#anonLoginModal p,
#anonLoginModal .d-flex {
  margin-left: 10px !important;
  margin-right: 10px !important;
}
/* === Minimal Flat Black X Close Button === */
#anonLoginModal .custom-close-btn {
  position: absolute;
  right: 18px;
  top: 18px;
  background: transparent !important;
  border: none !important;
  color: #000 !important;
  font-size: 30px !important;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease-in-out;
  z-index: 20;
}

#anonLoginModal .custom-close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Make sure header leaves room for the icon */
#anonLoginModal .modal-header {
  position: relative;
  padding-right: 60px !important;
}

/* === FIX: Balanced Popup Layout & Equal Widths === */

/* 1️⃣ Equal top & bottom padding around popup content */
#anonLoginModal .modal-content.login-popup {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}

/* 2️⃣ Ensure heading spacing is visually balanced */
#anonLoginModal .modal-title {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}

/* 3️⃣ Keep text description centered and add even space below */
#anonLoginModal .modal-body p {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}



/* 5️⃣ Center buttons in the same column and space them evenly */
#anonLoginModal .d-flex.gap-2 {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  margin: 20px 0 0 0 !important;
}

/* 6️⃣ Close icon - black and clean */
#anonLoginModal .custom-close-btn {
  color: #000 !important;
  opacity: 0.7;
}
#anonLoginModal .custom-close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Balance heading spacing visually */
#anonLoginModal .modal-title {
  margin-top: 10px !important;     /* add slight top space */
  margin-bottom: 10px !important;  /* same bottom space for balance */
}

/* Ensure paragraph spacing below the heading looks even */
#anonLoginModal .modal-body p {
  margin-top: 10px !important;   /* reduce gap above paragraph */
  margin-bottom: 20px !important;
}

/* Login popup terms text */
#anonLoginModal .login-terms-note {
  text-align: center;
  font-size: 10px !important;
  color: #888 !important;
  margin-top: 20px !important;
  line-height: 1.25 !important;
  padding: 0 10px !important;
}
/* 4️⃣ Input and buttons same width, perfectly aligned */
#anonLoginModal .form-control,
#anonLoginModal .btn-primary,
#anonLoginModal .btn-success {
  width: 100% !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  box-sizing: border-box !important;
}

.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  width: 100%;
  height: 55px; /* 👈 increase height */
}

.phone-input .country-code {
  padding: 0.75rem 1rem; /* 👈 increased for better vertical centering */
  font-size: 15px;
  font-weight: 500;
  color: #333;
  border-right: 1px solid #e0e0e0;
  background-color: #fff;
  display: flex;
  align-items: center;
}

.phone-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 0.75rem 1rem; /* 👈 increase padding for taller box */
  color: #333;
  background: transparent;
}

.phone-input input:focus {
  outline: none;
  box-shadow: none;
}

.phone-input input {
  background-color: #fff !important;
  color: #333;
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 0.75rem 1rem;
}

/* Prevent blue background on autofill/focus */
.phone-input input:-webkit-autofill,
.phone-input input:-webkit-autofill:hover,
.phone-input input:-webkit-autofill:focus,
.phone-input input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #333 !important;
  background-color: #fff !important;
}

.phone-input input:focus {
  background-color: #fff !important;
  outline: none;
  box-shadow: none;
}

.modal-backdrop {
  cursor: default !important;
}

.tf-footer .footer-contact .icon-map-pin {
  color: #fff !important; /* green */
}

.tf-footer .footer-contact .icon-phone {
  color: #fff !important; /* blue */
}

.tf-footer .footer-contact .icon-envelope {
  color: #fff !important; /* gold */
}

