/**
 * Public light/dark theme (#15456).
 * Keys off html[data-pb-theme="dark"] set by public-theme.js.
 */

html[data-pb-theme="dark"] {
  color-scheme: dark;
  background: #121212;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] body {
  background: #121212;
  color: #f7f7f7;
}

html[data-pb-theme="dark"] header.top-nav,
html[data-pb-theme="dark"] .top-nav-inner {
  background: #1c1c1c;
  color: #f7f7f7;
  border-color: #333;
}
html[data-pb-theme="dark"] .property-tabs a,
html[data-pb-theme="dark"] .logo-title a {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .dropdown-toggle.account-dropdown-toggle,
html[data-pb-theme="dark"] .account-dropdown-toggle {
  background: #242424;
  border-color: #383838;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .dropdown-toggle.account-dropdown-toggle:hover,
html[data-pb-theme="dark"] .dropdown-toggle.account-dropdown-toggle:focus {
  background: #2e2e2e;
  border-color: #484848;
}
html[data-pb-theme="dark"] .account-dropdown-toggle .fa-bars {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .account-dropdown-toggle .account-icon-wrapper {
  color: #a3a3a3;
}
html[data-pb-theme="dark"] .property-tabs a:hover,
html[data-pb-theme="dark"] .property-tabs a:focus-visible {
  color: #ff385c;
}
html[data-pb-theme="dark"] .pb-header-search-shell,
html[data-pb-theme="dark"] .pb-header-search-panel,
html[data-pb-theme="dark"] .pb-acct-menu {
  background: #1c1c1c;
  color: #f7f7f7;
  border-color: #333;
}
html[data-pb-theme="dark"] .pb-header-search-input {
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 14px 14px;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-header-search-input::placeholder { color: #a3a3a3; }
html[data-pb-theme="dark"] .pb-hs-section h4,
html[data-pb-theme="dark"] .pb-acct-muted { color: #a3a3a3; }
html[data-pb-theme="dark"] .pb-hs-item,
html[data-pb-theme="dark"] .pb-acct-menu > li > a { color: #f7f7f7; }
html[data-pb-theme="dark"] .pb-hs-item:hover,
html[data-pb-theme="dark"] .pb-acct-menu > li > a:hover { background: #242424; }
html[data-pb-theme="dark"] .pb-hs-seg-toggle { background: #242424; }
html[data-pb-theme="dark"] .pb-hs-seg-toggle button { color: #a3a3a3; }
html[data-pb-theme="dark"] .pb-hs-seg-toggle button.is-active {
  background: #333;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-hs-chip {
  background: #242424;
  border-color: #444;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-hs-chip:hover,
html[data-pb-theme="dark"] .pb-hs-chip.is-active {
  border-color: #ff385c;
  color: #ff385c;
}
html[data-pb-theme="dark"] .pb-header-notif {
  background: #1c1c1c;
  border-color: #444;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-hs-adv select,
html[data-pb-theme="dark"] .pb-hs-adv input {
  background: #242424;
  color: #f7f7f7;
  border-color: #444;
}

html[data-pb-theme="dark"] .card,
html[data-pb-theme="dark"] .panel,
html[data-pb-theme="dark"] .well,
html[data-pb-theme="dark"] .property-card,
html[data-pb-theme="dark"] .pb-card,
html[data-pb-theme="dark"] .pb-listing-card,
html[data-pb-theme="dark"] .directory-card,
html[data-pb-theme="dark"] .agent-card,
html[data-pb-theme="dark"] .service-card,
html[data-pb-theme="dark"] .tool-card,
html[data-pb-theme="dark"] .pb-tool-card,
html[data-pb-theme="dark"] .pb-tool-card-wrapper,
html[data-pb-theme="dark"] .pb-tools-category,
html[data-pb-theme="dark"] .pb-tools-explorer-controls,
html[data-pb-theme="dark"] .blog-card,
html[data-pb-theme="dark"] .pb-blog-card,
html[data-pb-theme="dark"] .pb-home-blog-card,
html[data-pb-theme="dark"] .pb-blog-sidebar__widget,
html[data-pb-theme="dark"] .pb-blog-author-card,
html[data-pb-theme="dark"] .pb-blog-related-card,
html[data-pb-theme="dark"] .pb-blog-related-link,
html[data-pb-theme="dark"] .pb-blog-author-footer,
html[data-pb-theme="dark"] .pb-blog-newsletter,
html[data-pb-theme="dark"] .pb-blog-comment-form,
html[data-pb-theme="dark"] .pb-browse-card,
html[data-pb-theme="dark"] .pb-browse-filters-card,
html[data-pb-theme="dark"] .pb-browse-hero-search,
html[data-pb-theme="dark"] .pb-browse-collection,
html[data-pb-theme="dark"] .pb-browse-chip,
html[data-pb-theme="dark"] .pb-browse-mapstrip,
html[data-pb-theme="dark"] .pricing-card,
html[data-pb-theme="dark"] .pb-empty-panel,
html[data-pb-theme="dark"] .pb-surface-card,
html[data-pb-theme="dark"] .pb-kpi,
html[data-pb-theme="dark"] .pb-showing-card,
html[data-pb-theme="dark"] .pb-inquiry-row,
html[data-pb-theme="dark"] .pb-inq-card,
html[data-pb-theme="dark"] .pb-inq-pane,
html[data-pb-theme="dark"] .inquiry-card,
html[data-pb-theme="dark"] .pb-kanban-card,
html[data-pb-theme="dark"] .pb-kanban-col,
html[data-pb-theme="dark"] .ap-chart-panel,
html[data-pb-theme="dark"] .ap-panel,
html[data-pb-theme="dark"] .pb-privacy-card,
html[data-pb-theme="dark"] .pb-profile-header-card,
html[data-pb-theme="dark"] .pb-sec-quick-card,
html[data-pb-theme="dark"] .pb-addr-card,
html[data-pb-theme="dark"] .modal-content {
  background: #1c1c1c;
  color: #f7f7f7;
  border-color: #333;
  box-shadow: none;
}
html[data-pb-theme="dark"] .card-header,
html[data-pb-theme="dark"] .panel-heading,
html[data-pb-theme="dark"] .modal-header,
html[data-pb-theme="dark"] .modal-footer {
  background: #242424;
  color: #f7f7f7;
  border-color: #333;
}

html[data-pb-theme="dark"] a { color: #7dd3fc; }
html[data-pb-theme="dark"] a:hover,
html[data-pb-theme="dark"] a:focus { color: #bae6fd; }

html[data-pb-theme="dark"] input,
html[data-pb-theme="dark"] select,
html[data-pb-theme="dark"] textarea,
html[data-pb-theme="dark"] .form-control {
  background: #242424;
  color: #f7f7f7;
  border-color: #444;
}
html[data-pb-theme="dark"] .pb-support-search input,
html[data-pb-theme="dark"] .pb-faq-search-box input,
html[data-pb-theme="dark"] .pb-faq-filter-input,
html[data-pb-theme="dark"] .pb-tools-search input,
html[data-pb-theme="dark"] .pb-tools-search-input,
html[data-pb-theme="dark"] .pb-header-search-input,
[data-pb-theme="dark"] .pb-support-search input,
[data-pb-theme="dark"] .pb-faq-search-box input,
[data-pb-theme="dark"] .pb-faq-filter-input,
[data-pb-theme="dark"] .pb-tools-search input,
[data-pb-theme="dark"] .pb-tools-search-input,
[data-pb-theme="dark"] .pb-header-search-input {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #f7f7f7 !important;
}
html[data-pb-theme="dark"] input::placeholder,
html[data-pb-theme="dark"] textarea::placeholder { color: #a3a3a3; }
html[data-pb-theme="dark"] label,
html[data-pb-theme="dark"] legend { color: #f7f7f7; }
html[data-pb-theme="dark"] .help-block,
html[data-pb-theme="dark"] .text-muted,
html[data-pb-theme="dark"] .pb-muted { color: #a3a3a3 !important; }

html[data-pb-theme="dark"] .btn-default,
html[data-pb-theme="dark"] .button-secondary,
html[data-pb-theme="dark"] .btn-secondary {
  background: #242424;
  color: #f7f7f7;
  border-color: #444;
}
html[data-pb-theme="dark"] .btn-default:hover,
html[data-pb-theme="dark"] .button-secondary:hover {
  background: #333;
  color: #fff;
}

html[data-pb-theme="dark"] footer,
html[data-pb-theme="dark"] .footer,
html[data-pb-theme="dark"] .pb-footer,
html[data-pb-theme="dark"] .site-footer,
html[data-pb-theme="dark"] .pb-site-footer {
  background: #1c1c1c;
  color: #a3a3a3;
  border-color: #333;
}
html[data-pb-theme="dark"] footer a,
html[data-pb-theme="dark"] .footer a,
html[data-pb-theme="dark"] .pb-footer a,
html[data-pb-theme="dark"] .pb-site-footer a { color: #d4d4d4; }
html[data-pb-theme="dark"] footer a:hover,
html[data-pb-theme="dark"] .pb-footer a:hover,
html[data-pb-theme="dark"] .pb-site-footer a:hover { color: #fff; }

html[data-pb-theme="dark"] .breadcrumb,
html[data-pb-theme="dark"] .pb-breadcrumb {
  background: transparent;
  color: #a3a3a3;
}
html[data-pb-theme="dark"] .breadcrumb a,
html[data-pb-theme="dark"] .pb-breadcrumb a { color: #7dd3fc; }

html[data-pb-theme="dark"] h1,
html[data-pb-theme="dark"] h2,
html[data-pb-theme="dark"] h3,
html[data-pb-theme="dark"] h4,
html[data-pb-theme="dark"] h5,
html[data-pb-theme="dark"] h6 { color: #f7f7f7; }

html[data-pb-theme="dark"] .pb-site-footer-quick {
  border-bottom-color: #2e2e2e;
}
html[data-pb-theme="dark"] .pb-site-footer-quick h4,
html[data-pb-theme="dark"] .pb-site-footer-col h4,
html[data-pb-theme="dark"] .pb-site-footer-news h4 {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-site-footer-quick-links a {
  background: #242424;
  border-color: #383838;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-site-footer-quick-links a:hover {
  background: #2e2e2e;
  border-color: #ff385c;
  color: #ff385c;
}
html[data-pb-theme="dark"] .pb-site-social {
  background: #242424;
  border-color: #383838;
  color: #d4d4d4;
}
html[data-pb-theme="dark"] .pb-site-social:hover {
  background: rgba(255, 56, 92, 0.2);
  border-color: #ff385c;
  color: #ffffff;
}

html[data-pb-theme="dark"] .property-card a,
html[data-pb-theme="dark"] .pb-prop-card a,
html[data-pb-theme="dark"] .pb-card-title,
html[data-pb-theme="dark"] .pb-card-title a,
html[data-pb-theme="dark"] .pb-listing-card a {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-prop-card a:hover,
html[data-pb-theme="dark"] .pb-card-title a:hover {
  color: #ff385c;
}

/* Homepage widgets & modals in dark theme */
html[data-pb-theme="dark"] .pb-hero-suggest {
  background: #1c1c1c;
  border-color: #333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
html[data-pb-theme="dark"] .pb-hero-suggest button {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-hero-suggest button:hover,
html[data-pb-theme="dark"] .pb-hero-suggest button.is-active {
  background: #242424;
}
html[data-pb-theme="dark"] .pb-hero-suggest .badge {
  background: rgba(255, 56, 92, 0.15);
  color: #ff8fa3;
}
html[data-pb-theme="dark"] .pb-alert-cta,
[data-pb-theme="dark"] .pb-alert-cta {
  background: #231815;
  border-color: #4a2818;
}
html[data-pb-theme="dark"] .pb-alert-cta strong,
[data-pb-theme="dark"] .pb-alert-cta strong {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-alert-cta .pb-alert-cta-sub,
[data-pb-theme="dark"] .pb-alert-cta .pb-alert-cta-sub {
  color: #fdba74;
}
html[data-pb-theme="dark"] .pb-alert-cta a,
html[data-pb-theme="dark"] .pb-alert-cta button.pb-alert-cta-btn,
[data-pb-theme="dark"] .pb-alert-cta a,
[data-pb-theme="dark"] .pb-alert-cta button.pb-alert-cta-btn {
  background: #c2410c;
  color: #ffffff;
}
html[data-pb-theme="dark"] .pb-alert-cta a:hover,
html[data-pb-theme="dark"] .pb-alert-cta button.pb-alert-cta-btn:hover,
[data-pb-theme="dark"] .pb-alert-cta a:hover,
[data-pb-theme="dark"] .pb-alert-cta button.pb-alert-cta-btn:hover {
  background: #ea580c;
}
html[data-pb-theme="dark"] #common-home .pb-home-feed-status,
[data-pb-theme="dark"] #common-home .pb-home-feed-status {
  color: #a3a3a3;
}
html[data-pb-theme="dark"] .pb-alert-modal-card {
  background: #1c1c1c;
  color: #f7f7f7;
  border: 1px solid #2e2e2e;
}
html[data-pb-theme="dark"] .pb-alert-modal-card h2 {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-alert-modal-card p {
  color: #a3a3a3;
}
html[data-pb-theme="dark"] .pb-alert-modal-filters {
  background: #242424;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-alert-modal-actions a.ghost {
  background: #242424;
  color: #f7f7f7;
  border: 1px solid #3f3f3f;
}
html[data-pb-theme="dark"] .pb-alert-modal-actions a.ghost:hover {
  background: #2e2e2e;
}
html[data-pb-theme="dark"] .pb-oh-card,
html[data-pb-theme="dark"] .pb-pro-cta,
html[data-pb-theme="dark"] .pb-f30-band,
html[data-pb-theme="dark"] .pb-f30-sell,
html[data-pb-theme="dark"] .pb-dir-card,
html[data-pb-theme="dark"] .pb-svc-card,
html[data-pb-theme="dark"] .pb-agent-card,
html[data-pb-theme="dark"] .pb-agency-card,
html[data-pb-theme="dark"] .agent-branded-card,
[data-pb-theme="dark"] .pb-dir-card,
[data-pb-theme="dark"] .pb-svc-card,
[data-pb-theme="dark"] .pb-agent-card,
[data-pb-theme="dark"] .pb-agency-card,
[data-pb-theme="dark"] .agent-branded-card {
  background: #1c1c1c !important;
  border-color: #2e2e2e !important;
  color: #f7f7f7 !important;
}
html[data-pb-theme="dark"] .pb-dir-card-body h3 a,
[data-pb-theme="dark"] .pb-dir-card-body h3 a {
  color: #f7f7f7 !important;
}
html[data-pb-theme="dark"] .agent-branded-card .agent-info h3,
[data-pb-theme="dark"] .agent-branded-card .agent-info h3 {
  color: #f7f7f7 !important;
}
html[data-pb-theme="dark"] .agent-branded-card .agent-info p,
[data-pb-theme="dark"] .agent-branded-card .agent-info p {
  color: #a3a3a3 !important;
}
html[data-pb-theme="dark"] .agent-branded-card .agent-actions .button-secondary,
[data-pb-theme="dark"] .agent-branded-card .agent-actions .button-secondary {
  background-color: #242424 !important;
  color: #f7f7f7 !important;
  border-color: #404040 !important;
}
html[data-pb-theme="dark"] .pb-f30-chips a {
  background: #242424;
  border-color: #3f3f3f;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-f30-chips a:hover {
  background: #2e2e2e;
  border-color: #ff385c;
  color: #ff385c;
}
html[data-pb-theme="dark"] .pb-home-news-card {
  background: #1c1c1c;
  border-color: #2e2e2e;
}
html[data-pb-theme="dark"] .pb-blog-post .pb-blog-article-title,
html[data-pb-theme="dark"] .pb-blog-article-title {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-blog-article-content {
  color: #e5e7eb;
}
html[data-pb-theme="dark"] .pb-blog-article-content h1,
html[data-pb-theme="dark"] .pb-blog-article-content h2,
html[data-pb-theme="dark"] .pb-blog-article-content h3,
html[data-pb-theme="dark"] .pb-blog-article-content h4 {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-blog-sidebar__title,
html[data-pb-theme="dark"] .pb-blog-toc-title,
html[data-pb-theme="dark"] .pb-blog-toc-summary {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-blog-sidebar__search-input-wrap input {
  background: #242424;
  border-color: #383838;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-blog-toc-item a {
  color: #cbd5e1;
}
html[data-pb-theme="dark"] .pb-blog-toc-item a:hover {
  color: #ff385c;
  background: #242424;
}
html[data-pb-theme="dark"] .pb-blog-sidebar__post-title {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-blog-card-title a {
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-home-blog-card {
  background: #1c1c1c;
  border-color: #2e2e2e;
  color: #f7f7f7;
}
html[data-pb-theme="dark"] .pb-home-blog-title a {
  color: #f7f7f7;
}

/* Theme toggle — modern segmented control */
.pb-public-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f1f5f9;
  padding: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.pb-site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
header .top-nav-inner > .pb-public-theme-toggle,
.top-nav .nav-center .pb-public-theme-toggle {
  display: none !important;
}
.pb-acct-theme-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  list-style: none;
}
.pb-acct-theme-title {
  font-size: 13px;
  font-weight: 600;
  color: #6a6a6a;
  display: flex;
  align-items: center;
  gap: 8px;
}
html[data-pb-theme="dark"] .pb-acct-theme-title {
  color: #a3a3a3;
}
.pb-acct-theme-item .pb-public-theme-toggle {
  display: inline-flex !important;
  padding: 2px;
}
.pb-acct-theme-item .pb-public-theme-toggle button {
  min-height: 26px;
  padding: 3px 8px;
  font-size: 11px;
}

html[data-pb-theme="dark"] .pb-public-theme-toggle {
  background: #1e293b;
  border-color: #334155;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
.pb-public-theme-toggle button {
  border: 0;
  background: transparent;
  color: #64748b;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 1;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.pb-public-theme-toggle button:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}
.pb-public-theme-toggle button.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}
html[data-pb-theme="dark"] .pb-public-theme-toggle button {
  color: #94a3b8;
}
html[data-pb-theme="dark"] .pb-public-theme-toggle button:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}
html[data-pb-theme="dark"] .pb-public-theme-toggle button.is-active {
  background: #334155;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Global directory, profile, and property dark theme styles */
html[data-pb-theme="dark"] .pb-dir-page,
html[data-pb-theme="dark"] .pb-svc-page,
html[data-pb-theme="dark"] .pb-profile,
html[data-pb-theme="dark"] .pb-listing,
html[data-pb-theme="dark"] #property-property,
html[data-pb-theme="dark"] #profile-agents,
html[data-pb-theme="dark"] #profile-agencies,
html[data-pb-theme="dark"] #profile-builders,
html[data-pb-theme="dark"] #profile-services,
[data-pb-theme="dark"] .pb-dir-page,
[data-pb-theme="dark"] .pb-svc-page,
[data-pb-theme="dark"] .pb-profile,
[data-pb-theme="dark"] .pb-listing,
[data-pb-theme="dark"] #property-property,
[data-pb-theme="dark"] #profile-agents,
[data-pb-theme="dark"] #profile-agencies,
[data-pb-theme="dark"] #profile-builders,
[data-pb-theme="dark"] #profile-services {
  background: #121212 !important;
  color: #f7f7f7 !important;
}

html[data-pb-theme="dark"] .pb-profile-tabs,
[data-pb-theme="dark"] .pb-profile-tabs {
  background: #1c1c1c !important;
  border-color: #2e2e2e !important;
}

html[data-pb-theme="dark"] .pb-compare-drawer,
[data-pb-theme="dark"] .pb-compare-drawer {
  background: rgba(24, 24, 24, 0.96) !important;
  border-top-color: #2e2e2e !important;
  color: #f7f7f7 !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45) !important;
}

html[data-pb-theme="dark"] .pb-area-link-card,
[data-pb-theme="dark"] .pb-area-link-card {
  background: #1c1c1c !important;
  border-color: #2e2e2e !important;
  color: #f7f7f7 !important;
}

.pb-dir-search {
  padding: 0 !important;
  border: none !important;
}

html[data-pb-theme="dark"] .pb-dir-search,
[data-pb-theme="dark"] .pb-dir-search {
  background: #1c1c1c !important;
  border: none !important;
  padding: 0 !important;
}

html[data-pb-theme="dark"] .pb-svc-trust-inner,
[data-pb-theme="dark"] .pb-svc-trust-inner {
  background: #1c1c1c !important;
  border-color: #2e2e2e !important;
}

html[data-pb-theme="dark"] .pb-svc-pro-cta,
[data-pb-theme="dark"] .pb-svc-pro-cta {
  background: linear-gradient(135deg, rgba(255, 56, 92, 0.16) 0%, #1c1c1c 65%) !important;
  border-color: rgba(255, 56, 92, 0.32) !important;
}

html[data-pb-theme="dark"] .pb-dir-related-card,
[data-pb-theme="dark"] .pb-dir-related-card {
  background: #1c1c1c !important;
  border-color: #2e2e2e !important;
  color: #f7f7f7 !important;
}

