/*
Theme Name: Listeo Child
Theme URI: http://listeo.pro/
Description: Child theme of Listeo Directory WordPress Theme by Purethemes
Author: Weptile
Author URI: https://weptile.com/
Template: listeo
Version: 1.0.3
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo-child
Tags: child-theme, directory, listings
*/

/* Parent theme import - WordPress otomatik olarak yükleyecek */

/* 
=== Child Theme Customizations ===
Buraya özel CSS kodlarınızı ekleyebilirsiniz 
*/

/* Bootstrap
------------------------------------- */
.mt-15 {
  margin-top: 15px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

.me-5px {
  margin-right: 5px;
}

.me-10px {
  margin-right: 10px;
}

.w-100 {
  width: 100% !important;
}

.d-flex {
  display: flex;
}

.d-none {
  display: none;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.gap-25 {
  gap: 25px;
}

.gap-15 {
  gap: 15px;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.border-radius-12 {
  border-radius: 12px !important;
}

/* Header
------------------------------------- */
.user-menu ul li a i {
  color: #00b7b9 !important;
}

#header-container:not(.hws-wrapper) #header .container {
  width: 100%;
}

@media only screen and (max-width: 1024px) {
  .mmenu-trigger {
    display: none !important;
  }

  #header-container:not(.hws-wrapper) #header .container {
    padding-bottom: 15px;
  }

  .slim-mobile-menu .right-side {
    right: 15px;
  }
}

.auth-buttons-container {
  display: flex;
  align-items: start;
  gap: 16px;
}

.user_not_logged_in .header-widget .sign-in {
  background: #fff;
}

.transparent-header.user_not_logged_in #header.cloned .header-widget .sign-in,
.user_not_logged_in .header-widget .sign-in {
  background: #fff;
}

.become-vendor-btn {
  color: #000 !important;
  border: 1px solid #000;
  padding: 12px 24px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.become-vendor-btn:hover {
  background: transparent !important;
  color: #333 !important;
}

.transparent-header #header:not(.cloned) {
  position: relative;
}

.transparent-header #header:not(.cloned) .user-menu .user-name {
  color: #000 !important;
  font-weight: 400;
}

.transparent-header #header:not(.cloned) .user-menu:hover .user-name,
.transparent-header #header:not(.cloned) .user-menu .user-name {
  color: #000 !important;
  font-weight: 400;
}

/* Footer
------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

.modern-footer {
  background: #0a1a1a !important;
  color: #ffffff;
  padding: 48px 0;
  margin-top: 0;
  border-top: 1px solid #1f2937;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.footer-brand .footer-logo-link {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.footer-brand .footer-logo-link:hover {
  opacity: 0.8;
}

.footer-brand .footer-logo-link img {
  max-height: 32px;
  width: auto;
}

.footer-navigation .footer-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-navigation .footer-menu li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
  font-family: "Montserrat", sans-serif !important;
}

.footer-navigation .footer-menu li a:hover {
  color: #d1d5db !important;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: #ffffff !important;
  font-size: 35px;
  transition: color 0.2s ease;
  text-decoration: none !important;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: #d1d5db !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid #1f2937;
}

.footer-copyright p {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  font-family: "Montserrat", sans-serif !important;
}

.footer-legal {
  display: flex;
  gap: 32px;
}

.footer-legal a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
  font-family: "Montserrat", sans-serif !important;
}

.footer-legal a:hover {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .footer-navigation .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-navigation .footer-menu {
    flex-direction: column;
    gap: 16px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}

/* Sign In
------------------------------------- */
.page-id-1021 #titlebar {
  display: none;
}

.page-id-1021 #footer {
  display: none;
}

.sign-in-form label input {
  padding-left: 20px;
  border-radius: 12px;
  border: 1px solid #666666e5;
}

.sign-in-form label input::placeholder {
  color: #66666666;
}

.sign-in-form .button {
  width: 100%;
  background-color: #111111;
  color: #ffffff;
  line-height: 40px;
  font-size: 20px;
  font-weight: 500;
}

.sign-in-form .forget-your-password {
  text-decoration: underline;
  color: #111111;
  font-weight: 500;
  font-size: 15px;
}

.sign-in-form .sign-up-href {
  text-decoration: underline;
  color: #111111;
  font-weight: 500;
  font-size: 15px;
}

.sign-in-form .dont-have-an-account {
  color: #666666;
  font-size: 15px;
}

.sign-in-form .errorEmail {
  color: #b22334;
  font-size: 13px;
  font-weight: 400;
}

.sign-in-form .errorPassword {
  color: #b22334;
  font-size: 13px;
  font-weight: 400;
}

/* Become a Vendor
------------------------------------- */
.page-id-336 #titlebar {
  display: none;
}

.page-id-336 #footer {
  display: none;
}

.page-id-336 .privacy-policy {
  font-weight: 400;
  color: #111;
}

.page-id-336 .privacy-policy a {
  text-decoration: underline;
  color: #111;
}

.page-id-336 .account-type input.account-type-radio:empty~label {
  border-radius: 52px;
}

.page-id-336 .vendor-account-type .account-type-radio:checked+label {
  background-color: #000000;
  color: #fff;
  box-shadow: 0 4px 19px rgba(0, 0, 0, 0.49);
}

.page-id-336 .create-account-btn {
  background-color: #111111 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 12px 30px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  width: auto !important;
  display: inline-block !important;
  text-transform: none !important;
  transition: all 0.3s ease !important;
}

.page-id-336 .create-account-btn:hover {
  background-color: #555 !important;
  transform: translateY(-1px) !important;
}

.page-id-336 .login-link-wrapper {
  text-align: center;
  margin-top: 15px;
}

.page-id-336 .already-account-text {
  color: #666;
  font-size: 14px;
}

.page-id-336 .login-link {
  color: #333;
  text-decoration: underline;
  font-weight: 500;
}

.page-id-336 .login-link:hover {
  color: #555;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .page-id-336 .create-account-btn {
    width: 100% !important;
    padding: 15px 30px !important;
  }
}

/* Sign Up
------------------------------------- */
.page-id-368 #titlebar {
  display: none;
}

.page-id-368 #footer {
  display: none;
}

.page-id-368 .privacy-policy {
  font-weight: 400;
  color: #111;
}

.page-id-368 .privacy-policy a {
  text-decoration: underline;
  color: #111;
}

.page-id-368 .account-type input.account-type-radio:empty~label {
  border-radius: 52px;
}

.page-id-368 .vendor-account-type .account-type-radio:checked+label {
  background-color: #000000;
  color: #fff;
  box-shadow: 0 4px 19px rgba(0, 0, 0, 0.49);
}

.page-id-368 .create-account-btn {
  background-color: #111111 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 12px 30px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  width: 100% !important;
  display: inline-block !important;
  text-transform: none !important;
  transition: all 0.3s ease !important;
}

.page-id-368 .create-account-btn:hover {
  background-color: #555 !important;
  transform: translateY(-1px) !important;
}

.page-id-368 .login-link-wrapper {
  text-align: center;
  margin-top: 15px;
}

.page-id-368 .already-account-text {
  color: #666;
  font-size: 14px;
}

.page-id-368 .login-link {
  color: #333;
  text-decoration: underline;
  font-weight: 500;
}

.page-id-368 .login-link:hover {
  color: #555;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .page-id-368 .create-account-btn {
    width: 100% !important;
    padding: 15px 30px !important;
  }
}

/* Forgot/Lost Password
------------------------------------- */
.page-id-114 #titlebar {
  display: none;
}

.page-id-114 #footer {
  display: none;
}

.page-id-114 .lostpassword-submit input {
  width: 100%;
  background-color: #111111;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
}

/* Reset Password
------------------------------------- */
.page-id-115 #titlebar {
  display: none;
}

.page-id-115 #footer {
  display: none;
}

.page-id-115 .resetpass-submit input {
  width: 100%;
  background-color: #111111;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
}

/* Profile Page
------------------------------------- */
.my-profile label {
  color: #9794aa;
  margin-top: 5px;
}

.my-profile textarea {
  height: 50px;
}

.save-changes-btn {
  border-radius: 50px !important;
  background-color: #120a28 !important;
  color: #fff !important;
  padding: 17px 40px !important;
}

.save-changes-cancel-btn {
  border-radius: 50px !important;
  background-color: #fff !important;
  color: #000000 !important;
  padding: 17px 40px !important;
  border: 1px solid #000000 !important;
}

#breadcrumbs {
  display: none !important;
}

/* Dashboard Page
------------------------------------- */
#dashboard {
  background-color: #fff;
}

#dashboard .copyrights {
  display: none;
}

@media (min-width: 992px) {
  body.light-dashboard.page-template-template-dashboard .dashboard-nav {
    background-color: #f9f9f9;
  }
}

body.light-dashboard.page-template-template-dashboard .dashboard-nav ul li a {
  font-weight: 400;
}

.dashboard-nav ul:before {
  margin-bottom: 15px;
}

@media (min-width: 992px) {
  body.light-dashboard.page-template-template-dashboard .dashboard-nav ul:before {
    color: #00000080;
    font-size: 16px;
  }
}

body.light-dashboard.page-template-template-dashboard .dashboard-nav ul li a i {
  color: #00b7b9 !important;
}

/* Submit Listing
------------------------------------- */
.page-id-134 #dashboard #titlebar {
  padding: 0 15px;
}

.form-navigation {
  padding: 0 15px;
}

.form-navigation button {
  color: #fff;
  background-color: #000000;
  border-radius: 12px;
  padding: 10px 40px;
  transition: all 0.3s ease;
}

/* Disabled Next Button State */
.form-navigation button:disabled,
.form-navigation button.disabled {
  background-color: #cccccc !important;
  color: #888888 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.submit-new-listing-button {
  color: #fff !important;
  background-color: #000000 !important;
  border-radius: 12px !important;
  padding: 10px 40px !important;
}

.submit-new-listing-edit-button {
  background-color: var(--msf-color-neutral-bg);
  color: var(--msf-color-neutral-text);
  border-radius: 12px !important;
  padding: 10px 40px !important;
}

.form-progress-container {
  display: none;
}

.listing-manager-form {
  padding: 15px 0;
}

.add-listing-section {
  background-color: transparent;
  padding: 0;
  border: none !important;
  box-shadow: none;
}

body .list-box-listing-content .inner .listing-address:before {
  content: "📍";
  color: #cf4040;
  font-size: 12px;
  position: relative;
  top: -1px;
  padding-right: 5px;
}

body .list-box-listing-content .inner .listing-verified-studio-address {
  display: block;
  margin-top: 3px;
}

body .list-box-listing-content .inner .listing-verified-studio-address:before {
  content: "🏢";
  font-size: 12px;
  position: relative;
  top: -1px;
  padding-right: 5px;
}

.list-box-listing-content .inner h3 {
  font-size: 18px;
  bottom: 0;
  position: relative;
  font-weight: 500;
  margin: 0;
  line-height: 35px;
}

.selection-tooltip .price-btn {
  display: none;
}

.opening-day-add-hours {
  display: none;
}

button.copy-time-button {
  display: none;
}

.single-slot-right {
  display: none;
}

/* Find My Match
------------------------------------- */
.page-id-686 #titlebar {
  display: none;
}

body .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #0000000a !important;
  color: #001619cc !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #00b7b9 !important;
}

input[type="checkbox"].switch_1:checked {
  background-color: #00b7b9 !important;
}

.tip:not(.inside-switch) {
  background: #00b7b9 !important;
}

.sort-by-select .select2-container--default .select2-selection--single .select2-selection__arrow b:after {
  color: #00b7b9 !important;
}

.booking-loading-icon {
  color: #00b7b9 !important;
}

input:focus,
input[type="text"]:focus {
  border-color: #000 !important;
  box-shadow: none !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #00b7b9;
  border-color: transparent;
  color: #fff;
}

.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
  background-color: #00b7b9;
  border-color: transparent;
  color: #fff;
}

.daterangepicker td.end-date.in-range.available,
.daterangepicker td.active {
  background-color: #00b7b9;
}

/* Author
------------------------------------- */
.user-profile-titlebar {
  background: transparent !important;
  box-shadow: none;
  padding: 0;
}

.author #titlebar {
  margin-bottom: 0;
}

/* Vendor Profile Redesign
------------------------------------- */
.vendor-profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.vpc-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.vpc-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.vpc-identity h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.vpc-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vpc-review-count {
  font-size: 14px;
  color: #888;
}

.vpc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.vpc-badge {
  background: #e0e0e0;
  color: #333;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.vpc-description {
  font-size: 15px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.vpc-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.vpc-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

.vpc-stat-item i {
  font-size: 18px;
  color: #999;
}

.vpc-actions .button {
  border-radius: 30px;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.vpc-actions .button:hover {
  background-color: #333;
}

/* Update Vendor Profile Description Font Size */
.vpc-description {
  font-size: 14px;
}

/* HIDE Bookmark Icon on Author Page Listings */
.author.archive .listing-card-nl .favorite-icon-nl,
.author.archive .listing-item .like-icon,
.author.archive .listing-card-container-nl .favorite-icon-nl {
  display: none !important;
}

/* Update Bio Font Size Specific */
.vpc-bio-text p {
  font-size: 14px !important;
  line-height: 1.6;
  color: #666;
}

/* Updated Stats Styling (Label : Value) */
.vpc-stat-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 5px;
  font-size: 14px;
}

.vpc-stat-label {
  font-weight: 600;
  color: #333;
  margin-right: 10px;
}

.vpc-stat-value {
  color: #666;
  text-align: right;
}

/* Hide icons if they were still targeted anywhere */
.vpc-stat-item i {
  display: none;
}

/* Updated Stats Row Styling with Separators */
.vpc-stat-row {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* items might be multiline */
  width: 100%;
}

.vpc-stat-row:last-child {
  border-bottom: none;
}

.vpc-stat-label {
  font-weight: 600;
  color: #333;
  width: 40%;
  flex-shrink: 0;
}

.vpc-stat-value {
  color: #777;
  width: 60%;
  text-align: right;
  word-break: break-word;
  /* Handle long addresses or equipment lists */
}

/* Fix Stats Layout - Force Vertical Column */
.vpc-stats {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}

/* Listing Regions Display */
.listing-regions-nl {
  color: var(--listeo-primary-color);
  font-size: 13px;
  font-weight: 500;
  margin: 4px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.listing-regions-nl i {
  font-size: 12px;
  color: var(--listeo-primary-color);
}

/* Hide 'Do you provide services at customers addresses' custom field */
.single-property-detail-_service_tab_i_can_provide_services_at_clients_addresses,
.feature-tag-nl.checkboxed-single.single-property-detail-_service_tab_i_can_provide_services_at_clients_addresses {
  display: none !important;
}

/* Listing Description */
.listing-description-nl {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-container-nl .listing-card-nl .details-sidebar-col-nl {
  border-top: 0;
}

/* ========================================
   Single Listing Page Redesign
   ======================================== */

/* Full width layout - no sidebar */
.single-listing-redesigned .single-listing-full-width {
  /* Full width - no max-width restriction */
}

/* ========================================
   Single Listing Page - Professional Design
   ======================================== */

/* Full Width Container Padding */
.single-listing-full-width {
  padding-top: 40px !important;
}

/* Region badge above author */
.single-listing-region {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e74c3c;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px !important;
  /* Extremely tight to author */
}

.single-listing-region i {
  color: #e74c3c;
  font-size: 11px;
}

/* Hide Add Review form */
.single-listing-redesigned #add-review,
.single-listing-redesigned .add-review-box {
  display: none !important;
}

/* Author Section - Refined */
.single-listing-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px !important;
  /* Tighter gap to title */
  padding-bottom: 8px !important;
  /* Tighter border */
  border-bottom: 1px solid #f1f1f1;
}

.single-listing-author .author-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee;
}

.single-listing-author .author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.single-listing-author .author-name {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.single-listing-author .author-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.single-listing-author .author-rating .star-rating {
  display: inline-flex;
}

.single-listing-author .review-count {
  color: #999;
  font-size: 12px;
}

/* Title + Description Section - Force styles with !important */
.single-listing-redesigned .listing-titlebar-clean,
.listing-titlebar-clean {
  margin-bottom: 15px !important;
  /* Reduced gap to gallery */
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.single-listing-redesigned .listing-titlebar-clean h1,
.listing-titlebar-clean h1 {
  font-size: 32px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
  /* Tighter to description */
  color: #1a1a1a !important;
  line-height: 1.2 !important;
  display: block !important;
  width: 100% !important;
  order: 1 !important;
}

.single-listing-redesigned .listing-description,
.listing-titlebar-clean .listing-description,
.listing-description {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  color: #666 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 850px !important;
  order: 2 !important;
}

.listing-description p {
  margin: 0 0 8px 0 !important;
  display: block !important;
}

.listing-description p:last-child {
  margin-bottom: 0 !important;
}

/* Hide tabs/navigation */
.single-listing-redesigned #listing-nav,
.single-listing-redesigned .listing-nav-container {
  display: none !important;
}

/* Hide Gallery title and unnecessary headings */
.single-listing-redesigned #listing-gallery h3.listing-desc-headline {
  display: none !important;
}

/* Hide Add Review form - Multiple selectors for certainty */
.single-listing-redesigned #add-review,
.single-listing-redesigned .add-review-box,
#add-review.add-review-box,
.add-review-box {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Gallery section */
.single-listing-redesigned #listing-gallery {
  margin-top: 10px !important;
  /* Much tighter to description */
}


.single-listing-redesigned .listing-gallery-grid {
  margin-bottom: 30px !important;
}


/* Reviews section clean styling */
.single-listing-redesigned #listing-reviews {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.single-listing-redesigned #listing-reviews h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Review cards */
.single-listing-redesigned .comments {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-listing-redesigned .comments li.comment {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.single-listing-redesigned .comments li.comment:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .single-listing-redesigned .single-listing-full-width {
    padding: 0 15px;
  }

  .single-listing-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .listing-titlebar-clean h1 {
    font-size: 20px;
  }
}

/* ========================================
   Booking-Based Review System Styles
   ======================================== */

/* Pending Reviews Section */
.pending-reviews-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pending-reviews-box h4 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  padding: 20px 25px;
  border-bottom: 1px solid #f0f0f0;
  margin: 0;
}

.pending-reviews-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pending-review-item {
  padding: 20px 25px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s;
}

.pending-review-item:last-child {
  border-bottom: none;
}

.pending-review-item:hover {
  background: #fafafa;
}

.pending-review-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.pending-review-vendor {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pending-review-vendor .vendor-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}

.pending-review-vendor .vendor-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pending-review-vendor .vendor-name {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.pending-review-vendor .service-name {
  font-size: 14px;
  color: #666;
}

.pending-review-vendor .booking-date {
  font-size: 13px;
  color: #999;
}

.pending-review-vendor .booking-date i {
  margin-right: 5px;
  font-size: 12px;
}

.pending-review-action .button {
  background: #212121;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.pending-review-action .button:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 33, 33, 0.35);
}

.pending-review-action .button i {
  font-size: 14px;
}



/* Responsive */
@media (max-width: 600px) {
  .pending-review-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .pending-review-action {
    width: 100%;
    margin-top: 15px;
  }

  .pending-review-action .button {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   REVIEW MODAL - MAGNIFIC POPUP OVERRIDES
   ======================================== */

/* Magnific Popup Container - Fixed Centering */
.mfp-wrap.mfp-ready {
  overflow: auto !important;
}

.mfp-container {
  padding: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
}

/* Magnific Popup Content - Fixed Width */
.mfp-content {
  position: relative !important;
  width: 480px !important;
  max-width: 480px !important;
  min-width: 480px !important;
  margin: 0 auto !important;
}

#review-modal.mfp-hide {
  display: none !important;
}

/* Review Modal Base - Override with !important */
#review-modal {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 0 !important;
  width: 480px !important;
  /* Uniform width */
  max-width: 480px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  overflow: hidden !important;
  /* Back to hidden for rounded corners */
  box-sizing: border-box !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 auto !important;
}

/* Modal Header */
#review-modal .small-dialog-header {
  padding: 24px 28px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  background: #ffffff !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  display: block !important;
}

#review-modal .small-dialog-header h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  padding: 0 50px !important;
  /* Added horizontal padding to keep away from edges */
  line-height: 1.3 !important;
  display: block !important;
  text-indent: 0 !important;
  transform: none !important;
  text-align: center !important;
  /* Centered for maximum visibility */
  width: 100% !important;
  box-sizing: border-box !important;
}

#review-modal .modal-service-name {
  font-size: 13px !important;
  color: #888 !important;
  margin: 5px 0 0 0 !important;
  font-weight: 400 !important;
}

/* Modal Form */
#review-modal form {
  padding: 24px 28px 28px 28px !important;
  background: #ffffff !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  flex-grow: 1 !important;
}

/* Tooltip Color Fix - Black */
#review-modal .tip,
#review-modal .tip.flipped {
  background-color: #212121 !important;
  /* Black color */
  cursor: help !important;
}

#review-modal .tip:after {
  color: #ffffff !important;
}

/* Sub-ratings Container - Vertical Stack */
#review-modal .sub-ratings-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}

/* Each Rating Row */
#review-modal .add-sub-rating {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #f9f9f9 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Edit Review Modal - Black Tooltips (matching Leave a Review) */
#small-dialog-edit-review .leave-rating .tooltip,
#small-dialog-edit-review .tip,
#small-dialog-edit-review .tip:not(.inside-switch) {
  background-color: #212121 !important;
  color: #ffffff !important;
}

#small-dialog-edit-review .leave-rating .tooltip::before,
#small-dialog-edit-review .tip::before {
  border-top-color: #212121 !important;
}

#small-dialog-edit-review .leave-rating .tooltip i {
  color: #ffffff !important;
}

#review-modal .add-sub-rating:last-child {
  border-bottom: none !important;
}

/* Rating Title and Tooltip */
#review-modal .sub-rating-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Stars Container */
#review-modal .sub-rating-stars {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* Hide Clearfix */
#review-modal .sub-rating-stars .clearfix {
  display: none !important;
}

/* Star Rating Row */
#review-modal .leave-rating {
  display: inline-flex !important;
  flex-direction: row-reverse !important;
  gap: 2px !important;
}

/* Hide Radio Inputs */
#review-modal .leave-rating input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* Star Labels */
#review-modal .leave-rating label {
  font-size: 20px !important;
  color: #dedede !important;
  cursor: pointer !important;
  transition: color 0.15s ease !important;
  line-height: 1 !important;
  padding: 0 1px !important;
}

#review-modal .leave-rating label:hover,
#review-modal .leave-rating label:hover~label,
#review-modal .leave-rating input[type="radio"]:checked~label {
  color: #fca503 !important;
  /* Slightly nicer gold */
}

/* Comment Field */
#review-modal .review-comment-field {
  margin-bottom: 20px !important;
}

#review-modal .review-comment-field label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  margin-bottom: 8px !important;
}

#review-modal .review-comment-field textarea {
  width: 100% !important;
  min-height: 100px !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 12px !important;
  font-size: 14px !important;
  resize: vertical !important;
  box-sizing: border-box !important;
  background-color: #fcfcfc !important;
  transition: border-color 0.2s, background-color 0.2s !important;
}

#review-modal .review-comment-field textarea:focus {
  border-color: #212121 !important;
  background-color: #fff !important;
  outline: none !important;
}

/* Submit Actions */
#review-modal .review-submit-actions {
  text-align: right !important;
  /* Keep aligned right for cleaner look, or center if preferred */
  padding-top: 5px !important;
}

#review-modal #submit-review-btn {
  background: #212121 !important;
  color: #fff !important;
  padding: 12px 32px !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 10px rgba(33, 33, 33, 0.2) !important;
}

#review-modal #submit-review-btn:hover {
  background: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 15px rgba(33, 33, 33, 0.3) !important;
}

#review-modal #submit-review-btn:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

#review-modal #submit-review-btn .fa-spin {
  margin-right: 8px !important;
}

/* Close Button */
#review-modal .mfp-close,
.mfp-close {
  position: absolute !important;
  right: 18px !important;
  top: 18px !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 24px !important;
  line-height: 32px !important;
  text-align: center !important;
  color: #bbb !important;
  opacity: 1 !important;
  cursor: pointer !important;
  background: transparent !important;
}

#review-modal .mfp-close:hover,
.mfp-close:hover {
  color: #333 !important;
}

/* Mobile Responsive */
@media (max-width: 540px) {
  .mfp-content {
    width: 90% !important;
    max-width: 90% !important;
    min-width: 0 !important;
  }

  #review-modal .small-dialog-header,
  #review-modal form {
    padding: 20px !important;
  }

  #review-modal .add-sub-rating {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  #review-modal .sub-rating-stars {
    justify-content: flex-start !important;
  }
}

/* ========================================
   TOOLTIP FIX - Prevent Clipping
   ======================================== */

/* Tooltip content - ensure proper visibility (bottom direction) */
.tip-content {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #333 !important;
  color: #fff !important;
  padding: 13px 15px !important;
  min-width: 200px !important;
  max-width: 280px !important;
  font-size: 13px !important;
  border-radius: 4px !important;
  line-height: 19px !important;
  pointer-events: none !important;
  z-index: 99999 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
}

/* Tooltip arrow - pointing upward (toward icon) */
.tip-content::after {
  content: "" !important;
  position: absolute !important;
  bottom: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 6px solid transparent !important;
  border-bottom-color: #333 !important;
  border-top: 0 !important;
}

/* Parent containers - prevent overflow clipping */
.submit-page .add-listing-section,
.submit-page .add-listing-headline,
.submit-page .form-field-container,
.submit-page .form-field-container-type-term-select,
.listing-manager-form .form-field-container,
.listing-manager-form .add-listing-section {
  overflow: visible !important;
}

/* Ensure tip wrapper allows overflow */
.tip {
  position: relative !important;
  overflow: visible !important;
}

/* Label with tip icon */
label .tip {
  display: inline-block !important;
  overflow: visible !important;
}

.ical-dropdown-btn {
  display: none;
}

/* ============================================
   CALENDAR INFO BADGE STYLES
   ============================================ */

.calendar-info-badge {
  background-color: #e7f3ff;
  border: 1px solid #b8daff;
  border-left: 4px solid #007bff;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  color: #004085;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.calendar-info-badge i {
  color: #007bff;
  font-size: 18px;
  margin-top: 2px;
}

.calendar-info-badge strong {
  font-weight: 600;
  margin-right: 4px;
}

/* =============================================
   Time Slots - Copy Day Button Fix
   ============================================= */

/* Make day-slot-headline the positioning context */
.day-slot-headline {
  position: relative !important;
}

/* Fix copy-slots-btn positioning */
.day-slots .ical-dropdown-btn.copy-slots-btn {
  position: absolute !important;
  top: 50% !important;
  right: 10px !important;
  transform: translateY(-50%) !important;
  z-index: 10;
  background: transparent;
  color: #888;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-slots .ical-dropdown-btn.copy-slots-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}