/*
 * My Account section design. Linked from views/layouts/profile.hbs after home.css, which supplies
 * the --hp-* colours and the shared header and footer styles. Look and feel only: every class and id
 * here comes from the existing templates and scripts, so behaviour stays with them.
 * The listing, category, state and city pages also load this file for its header search and tooltip rules.
 */
body { background: var(--hp-paper); }
#sec1, #sec1 :where(*:not(i, [class*='fa-'])) { font-family: var(--hp-sans); }

/* the home page hides header search (its hero has one); this section still needs it */
.main-header .header-search_btn {
  display: flex;
  top: 14px;
  width: auto;
  gap: 8px;
  align-items: center;
  height: 44px;
  margin-left: 18px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--hp-paper);
  color: var(--hp-deep);
  font: 700 13px var(--hp-sans);
}
.main-header .header-search_btn i,
.main-header .header-search_btn span { margin: 0; padding: 0; border: 0; color: var(--hp-deep); line-height: 1; }

/* ---------- Banner ---------- */
section.dashboard-header-sec { padding: 128px 0 0; overflow: hidden; background: var(--hp-grad) !important; }
section.dashboard-header-sec > .container { position: relative; z-index: 1; }
section.dashboard-header-sec .gradient-bg, section.dashboard-header-sec::before { display: none; }
.dashboard-header-sec .container,
.main-dashboard-sec > .container { width: min(1240px, 100% - 48px); max-width: none; padding: 0; }
.dashboard-header_title { margin: 0; padding-left: 132px; }
.dashboard-header_title h1 { margin: 0; padding: 0; color: rgb(255 255 255 / 85%); font: 600 13px/1.4 var(--hp-sans); letter-spacing: 0.04em; text-align: left; }
.dashboard-header_title h1 span { display: block; margin-top: 6px; color: #fff; font: 400 clamp(28px, 3.4vw, 42px)/1.1 var(--hp-serif); letter-spacing: -0.01em; }
.dashboard-header { min-height: 0; padding: 0 0 34px; border-radius: 0; background: none; box-shadow: none; }
.dashboard-header::before, .dashboard-header::after { display: none; }
.dashboard-header_conatiner { position: relative; min-height: 22px; padding-left: 132px; }
.dashboard-header-avatar { top: -76px; left: 0; width: 104px; height: 104px; }
.dashboard-header-avatar::before { display: none; }
.dashboard-header-avatar img { width: 104px; height: 104px; object-fit: cover; }
.dashboard-header-avatar .avtar-btns { display: flex; gap: 6px; }
.dashboard-list-head-btn.add-list {
  position: absolute;
  top: -44px;
  right: 0;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  height: 46px;
  margin: 0;
  padding: 0 20px;
  border-radius: 14px;
  background: #fff !important;
  box-shadow: none;
  color: var(--hp-deep) !important;
  font: 700 13px var(--hp-sans);
}
.dashboard-list-head-btn.add-list i { position: static; margin: 0; color: inherit; }
.dashboard-list-head-btn.add-list:hover { opacity: 0.9; }
.avatar-error-msg { display: block; color: #fff !important; font: 600 12.5px var(--hp-sans); }
.verify-email-message-section { padding: 18px 0 0 !important; background: var(--hp-paper) !important; }
.verify-email-message { padding: 14px 18px; border: 0; border-radius: 14px; background: #fff4df; }
.verify-email-message p { margin: 0; padding: 0; color: #7a4f08; font: 600 13.5px var(--hp-sans); }
.verify-email-message a { margin-left: 8px; color: var(--hp-deep) !important; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ---------- Sidebar ---------- */
section.main-dashboard-sec { padding: 36px 0 90px; background: var(--hp-paper) !important; }
.user-profile-menu-wrap { padding: 12px; border: 1px solid var(--hp-line); border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -36px rgb(0 50 80 / 55%); }
.user-profile-menu { margin: 0; }
.user-profile-menu h3 { margin: 0; padding: 12px 14px 10px; border: 0; color: var(--hp-muted); font: 700 11px var(--hp-sans); letter-spacing: 0.16em; text-align: left; text-transform: uppercase; }
.user-profile-menu li { margin: 0 0 4px; border: 0 !important; }
.user-profile-menu li a {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  border-radius: 13px;
  background: none;
  color: var(--hp-ink);
  font: 600 13.5px var(--hp-sans);
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.user-profile-menu li a i { position: static; width: 18px; margin: 0; color: var(--hp-deep); font-size: 15px; text-align: center; transform: none; }
.user-profile-menu li a:hover { background: var(--hp-paper); color: var(--hp-deep); }
.user-profile-menu li a:hover i { color: var(--hp-deep); }
.user-profile-menu li a.user-profile-act,
.user-profile-menu li.active a { background: var(--hp-grad); color: #fff; }
.user-profile-menu li a.user-profile-act i,
.user-profile-menu li.active a i { color: #fff; }
.user-profile-menu li a.user-profile-act::before { display: none; }
.user-profile-menu li a span.menu-badge,
.user-profile-menu li a .menu-badge { position: static; display: grid; place-items: center; min-width: 22px; height: 22px; margin: 0 0 0 auto; padding: 0 6px; border-radius: 11px; background: #c0392b; color: #fff; font: 700 11px var(--hp-sans); transform: none; }
.logout_btn.color2-bg {
  display: flex;
  float: none;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid var(--hp-line);
  border-radius: 13px;
  background: #fff !important;
  box-shadow: none;
  color: var(--hp-deep) !important;
  font: 700 13px var(--hp-sans);
}
.logout_btn.color2-bg i { position: static; margin: 0; color: inherit; }
.logout_btn.color2-bg:hover { border-color: var(--hp-blue); }
.back-tofilters { height: 44px; margin-top: 12px; border: 1px solid var(--hp-line); border-radius: 13px; background: #fff !important; box-shadow: none; color: var(--hp-deep) !important; font: 700 13px/44px var(--hp-sans); }
.back-tofilters i { color: inherit; }
.mob-nav-content-btn { height: 48px; margin-bottom: 12px; border-radius: 14px; background: var(--hp-grad) !important; box-shadow: none; color: #fff; font: 700 14px/48px var(--hp-sans); }

/* ---------- Titles ---------- */
#sec1 .dashboard-title { border: 0; background: none; box-shadow: none; }
#sec1 .dashboard-title::before, #sec1 .dashboard-title::after { display: none; }
#sec1 .dashboard-title h2, #sec1 .dashboard-title h3 { float: none; padding: 0; border: 0; color: var(--hp-ink); font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--hp-serif); letter-spacing: -0.01em; }
#sec1 .dashboard-title h2::before, #sec1 .dashboard-title h3::before,
#sec1 .dashboard-title h2::after, #sec1 .dashboard-title h3::after { display: none; }
#sec1 .address-section, #sec1 .dt-inbox { margin-top: 30px; }

/* ---------- Cards ---------- */
#sec1 .profile-edit-container, #sec1 .block_box {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 50px -40px rgb(0 50 80 / 55%);
}

/* ---------- Fields ---------- */
#sec1 .custom-form label, #sec1 .filter-field label { color: var(--hp-ink); font: 600 13px var(--hp-sans); text-align: left; }
#sec1 .custom-form input[type='text'], #sec1 .custom-form input[type='email'], #sec1 .custom-form input[type='password'],
#sec1 .custom-form input[type='url'], #sec1 .custom-form input[type='tel'], #sec1 .custom-form input[type='number'],
#sec1 .custom-form textarea, #sec1 .custom-form select, #sec1 .search-input, #sec1 .custom-form .select2-selection {
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  background: var(--hp-paper);
  color: var(--hp-ink);
  font: 500 14px var(--hp-sans);
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
#sec1 .custom-form input:focus, #sec1 .custom-form textarea:focus, #sec1 .custom-form select:focus, #sec1 .search-input:focus {
  border-color: var(--hp-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(25 150 207 / 18%);
}
#sec1 input::placeholder, #sec1 textarea::placeholder { color: var(--hp-muted); }
#sec1 .custom-form label i, #sec1 .phone-icon { color: var(--hp-deep); }
#sec1 .errorValidation { color: #c0392b !important; font: 500 12.5px/1.4 var(--hp-sans); text-align: left; }
#sec1 .note-box { padding: 12px 14px; border-radius: 12px; background: var(--hp-paper); color: var(--hp-muted); text-align: left; }
#sec1 .note-box p { margin: 0; padding: 0; color: var(--hp-muted); font: 500 12.5px/1.5 var(--hp-sans); }
#sec1 .note-box li.check, #sec1 .note-box p.check { color: #14865b; }

/* ---------- Buttons ---------- */
#sec1 .btn.color2-bg, #sec1 .dashboard-list-head-btn.color-bg {
  border: 0;
  border-radius: 13px;
  background: var(--hp-grad) !important;
  box-shadow: none;
  color: #fff;
  font: 700 13.5px var(--hp-sans);
  transition: opacity 0.2s;
}
#sec1 .btn.color2-bg:hover, #sec1 .dashboard-list-head-btn.color-bg:hover { opacity: 0.9; }
#sec1 .btn.color2-bg.disabled, #sec1 .btn.color2-bg:disabled { opacity: 0.5; }
#sec1 .btn.color2-bg i, #sec1 .btn.color2-bg:hover i { box-shadow: none; color: #fff; }

/* ---------- Listing rows ---------- */
#sec1 .dashboard-list-box { margin-top: 0; }
#sec1 .my-listing-dashboard {
  margin: 0 0 12px;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
#sec1 .my-listing-dashboard:hover { border-color: var(--hp-blue); box-shadow: 0 18px 34px -26px rgb(0 98 143 / 55%); transform: translateY(-1px); }
#sec1 .my-listing-dashboard .dashboard-message { border: 0; }
#sec1 .location-logo.listing-logo { border-radius: 14px; background: var(--hp-grad); color: #fff; font: 700 14px var(--hp-sans); box-shadow: none; }
#sec1 .location-logo.listing-logo img { border-radius: 14px; background: #fff; object-fit: contain; }
#sec1 .my-account-listing h4 a { color: var(--hp-ink); font: 700 15px/1.3 var(--hp-sans); }
#sec1 .my-account-listing h4 a:hover { color: var(--hp-deep); }
#sec1 .location-list-section .word-wrap-anywhere { color: var(--hp-muted); font: 500 13px/1.5 var(--hp-sans); }
#sec1 .booking-list-contr { padding: 0; border: 0; background: none; box-shadow: none; }
#sec1 .booking-list-contr a { width: 40px; border-radius: 12px; background: var(--hp-paper) !important; box-shadow: none; color: var(--hp-deep); }
#sec1 .booking-list-contr a i { color: inherit; }
/* One colour per action, solid at rest and a darker shade on hover (Edit blue, Media green, Social violet, Cancel red) */
#sec1 .booking-list-contr a { transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s; }
#sec1 .booking-list-contr a:hover { transform: translateY(-1px); }
#sec1 .booking-list-contr a.color-bg { background: var(--hp-grad) var(--hp-deep) !important; color: #fff; } /* solid colour under the gradient: no white flash while the hover fades */
#sec1 .booking-list-contr a.color-bg:hover { background: #00435f !important; color: #fff; box-shadow: 0 10px 20px -12px rgb(0 98 143 / 80%); }
#sec1 .booking-list-contr a.green-bg { background: #1e8a4c !important; color: #fff; }
#sec1 .booking-list-contr a.green-bg:hover { background: #0f5c31 !important; color: #fff; box-shadow: 0 10px 20px -12px rgb(30 138 76 / 80%); }
#sec1 .booking-list-contr a[href$='/social'] { background: #5b4bc4 !important; color: #fff; }
#sec1 .booking-list-contr a[href$='/social']:hover { background: #3b2d94 !important; color: #fff; box-shadow: 0 10px 20px -12px rgb(91 75 196 / 80%); }
#sec1 .booking-list-contr a.cancel-subscription { background: #c0392b !important; color: #fff; }
#sec1 .booking-list-contr a.cancel-subscription:hover { background: #8e2419 !important; color: #fff; box-shadow: 0 10px 20px -12px rgb(192 57 43 / 80%); }

/* ---------- Search above lists ---------- */
#sec1 .listing-search-div { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; }
#sec1 .listing-search-div .search-container { flex: 1; min-width: 0; margin: 0; }
#sec1 .listing-search-div .search-input { width: 100%; height: 46px; padding: 0 40px 0 16px; background: #fff; }
#sec1 .listing-search-div .dashboard-list-head-btn { flex-shrink: 0; gap: 8px; align-items: center; height: 46px; margin: 0 !important; padding: 0 20px; }
#sec1 .listing-search-div .dashboard-list-head-btn i { position: static; margin: 0; }

/* ---------- Tabs ---------- */
#sec1 .claims-tabs, #sec1 .reviews-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--hp-line); border-radius: 14px; background: #fff; }
#sec1 .claims-tabs a, #sec1 .reviews-tabs a { display: inline-flex; gap: 8px; align-items: center; margin: 0; border: 0; border-radius: 10px; background: none; color: var(--hp-muted); font: 700 13px var(--hp-sans); }
#sec1 .claims-tabs a i, #sec1 .reviews-tabs a i { color: inherit; }
#sec1 .claims-tabs a.active, #sec1 .reviews-tabs a.active { background: var(--hp-grad); color: #fff; }
#sec1 .claims-tab-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--hp-paper); color: var(--hp-deep); font: 700 11px var(--hp-sans); }
#sec1 .claims-tab.active .claims-tab-count { background: rgb(255 255 255 / 22%); color: #fff; }

/* ---------- Tables ---------- */
#sec1 .dispute-claims-table { padding: 0; }
#sec1 .table-responsive { margin: 0 !important; overflow-x: auto; border: 1px solid var(--hp-line); border-radius: 20px; background: #fff; }
#sec1 .checkout-table { margin: 0; border: 0; background: none; }
#sec1 .checkout-table th { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--hp-line); background: var(--hp-paper); color: var(--hp-muted); font: 700 11px var(--hp-sans); letter-spacing: 0.1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
#sec1 .checkout-table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--hp-line); background: none; color: var(--hp-ink); font: 500 13.5px/1.5 var(--hp-sans); text-align: left; vertical-align: middle; }
#sec1 .checkout-table tr:last-child td { border-bottom: 0; }
#sec1 .checkout-table td h4 { margin: 0; color: var(--hp-ink); font: 600 13.5px/1.4 var(--hp-sans); text-align: left; }
#sec1 .checkout-table td h4 a { color: var(--hp-deep); font-weight: 700; }
#sec1 .checkout-table td p { margin: 2px 0 0; padding: 0; color: var(--hp-muted); font: 500 12.5px/1.4 var(--hp-sans); text-align: left; }
#sec1 .custom-anchor { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 4px; border-radius: 11px; background: var(--hp-paper); color: var(--hp-deep); transition: background 0.2s, color 0.2s; }
#sec1 .custom-anchor i { color: inherit; }
#sec1 .custom-anchor:hover { background: var(--hp-grad); color: #fff; }

/* ---------- Pagination ---------- */
#sec1 .pagination { margin-top: 22px; }
#sec1 .pagination a { border: 1px solid var(--hp-line); border-radius: 12px; background: #fff; box-shadow: none; color: var(--hp-ink); font: 700 13px var(--hp-sans); }
#sec1 .pagination a.current-page, #sec1 .pagination a:hover { border-color: transparent; background: var(--hp-grad) !important; color: #fff; }

/* ---------- Refinements ---------- */
#sec1 .back-tofilters { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 0; line-height: 1; }
#sec1 .back-tofilters i { position: static; margin: 0; }
#sec1 .my-listing-dashboard .dashboard-message { display: flex; flex-direction: row-reverse; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; }
#sec1 .my-listing-dashboard .dashboard-message-text { flex: 1; min-width: 0; margin: 0; padding: 0; }
#sec1 .my-listing-dashboard .booking-list-contr { position: static; flex-shrink: 0; display: flex; gap: 6px; margin: 0; transform: none; }
#sec1 .my-listing-dashboard .booking-list-contr a { position: relative; display: grid; place-items: center; }
#sec1 .claims-tabs { display: flex; width: fit-content; justify-content: flex-start; }
#sec1 .invoice-amount { color: var(--hp-ink) !important; font-weight: 700; }
#sec1 .invoice-payment-status-badge span { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--hp-paper); color: var(--hp-deep); font: 700 12px var(--hp-sans); }
#sec1 .radio-email-subscribe span { color: var(--hp-ink) !important; }
#sec1 .review-card { margin: 0 0 12px; }

/* banner lines up with the columns below, which have 15px gutters */
.dashboard-header-sec .container { padding: 0 15px; }

/* fields: one height everywhere, including select2 */
#sec1 .custom-form input[type='text'], #sec1 .custom-form input[type='email'], #sec1 .custom-form input[type='password'],
#sec1 .custom-form input[type='url'], #sec1 .custom-form input[type='tel'], #sec1 .custom-form input[type='number'] { height: 46px; }
#sec1 .custom-form .select2-selection--single { display: flex !important; align-items: center; height: 46px !important; }
#sec1 .custom-form .select2-selection--single .select2-selection__arrow { top: 50%; height: 26px; transform: translateY(-50%); }
#sec1 .custom-form .select2-selection--multiple { min-height: 46px; height: auto; overflow: visible; }

/* page titles with a button beside them */
#sec1 .my-listing-section { padding-right: 15px; padding-left: 15px; }
#sec1 .payment-profile-title-section, #sec1 .billing-title-section { margin-bottom: 18px; }
#sec1 .payment-profile-title-section .my-listing-section, #sec1 .billing-title-section .my-listing-section { padding: 0; }
#sec1 .payment-profile-title-section .payment-profile-title-section { margin: 0; }
#sec1 .media-title { color: var(--hp-ink); font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--hp-serif); }
#sec1 .media-title span { color: var(--hp-deep) !important; font: inherit; }

/* media and social: tabs and drop zones */
#sec1 .my-list-tab li a { color: var(--hp-muted); font: 700 13px var(--hp-sans); }
#sec1 .my-list-tab li.current a { color: var(--hp-deep); }
#sec1 .my-list-tab li a i { color: inherit; }
#sec1 .block_box .block_box { padding: 0; border: 0; box-shadow: none; }

/* claim details */
#sec1 .booking-list-message-text h4 a { color: var(--hp-ink); font: 400 22px var(--hp-serif); }
#sec1 .booking-details { color: var(--hp-muted); font: 500 13.5px/1.6 var(--hp-sans); }
#sec1 .booking-title { color: var(--hp-ink); font: 600 13.5px var(--hp-sans); }
#sec1 .booking-text, #sec1 .booking-text a { color: var(--hp-muted); font: 500 13.5px/1.6 var(--hp-sans); }
#sec1 .booking-details a { color: var(--hp-deep); }
#sec1 .booking-details.border-bottom { border-color: var(--hp-line) !important; }
#sec1 .claim-id-detail-box { border: 0; border-radius: 999px; background: var(--hp-paper); }
#sec1 .claim-id-detail-box a { color: var(--hp-deep); font-weight: 700; }
#sec1 .booking-text.status-text.request-status { border: 0; border-radius: 999px; background: var(--hp-paper); color: var(--hp-deep) !important; font-weight: 700; }

/* payment profiles */
#sec1 .your-listings-section, #sec1 #card-list .dashboard-list { padding: 0; border: 0; background: none; box-shadow: none; }
#sec1 .my-payment-method-wrapper { padding: 0; }
#sec1 .my-payment-method, #sec1 .add-card-title { border: 1px solid var(--hp-line); border-radius: 18px; background: #fff; box-shadow: none; }
#sec1 .accordion a.toggle { border: 0; background: none; }
#sec1 .my-payment-method .title a, #sec1 .add-card-title h4 { color: var(--hp-ink); font: 700 16px var(--hp-sans); }
#sec1 .card-number { color: var(--hp-ink); font: 700 14px var(--hp-sans); letter-spacing: 0.06em; }
#sec1 .exp-date { color: var(--hp-muted); font: 500 13px var(--hp-sans); }
#sec1 .primary-badge-bordered { border: 0; border-radius: 999px; background: #e6f5ef; color: #14865b; font: 700 12px var(--hp-sans); }
#sec1 .make-primary { border-radius: 999px; background: var(--hp-grad) !important; color: #fff; font: 700 12px var(--hp-sans); }
#sec1 .delete-card { border-radius: 999px; background: #fbeeec !important; color: #c0392b; font: 700 12px var(--hp-sans); }
#sec1 .accordion-inner { border: 1px solid var(--hp-line); border-radius: 18px; }

/* field icons centred on the 46px fields */
#sec1 .custom-form label > i:not(.fa-info-circle) { color: var(--hp-deep); }
#sec1 .welcome-box .phone-icon { top: 16px; bottom: auto; }

/* select2 and card fields, desktop tidy-up */
#sec1 .custom-form .select2-selection--multiple .select2-selection__rendered { flex-wrap: wrap; gap: 4px; align-items: center; height: auto; min-height: 44px; line-height: 1.3; white-space: normal; }
#sec1 .custom-form .select2-selection--multiple .select2-search--inline, #sec1 .custom-form .select2-selection--multiple .select2-search__field { height: auto; padding: 0; border: 0; background: none; line-height: 1.3; }
#sec1 .add-card-title { border: 0; border-radius: 0; background: none; }
#sec1 .add-card-content, #sec1 #payment-method { border: 0; background: none; }
#sec1 .faq-title { color: var(--hp-ink); font: 400 20px var(--hp-serif); }

/* below the theme's two-column breakpoint */
section.dashboard-header-sec { padding-top: 128px !important; }
#sec1 .listing-search-div .dashboard-list-head-btn { display: inline-flex !important; line-height: 1; }
#sec1 .booking-list-contr a i { position: static; margin: 0; line-height: 1; }
@media (max-width: 1070px) {
  .mob-nav-content-btn { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 0; line-height: 1; }
  .mob-nav-content-btn i { position: static; margin: 0; color: inherit; }
  .dashboard-list-head-btn.add-list { display: inline-flex !important; line-height: 1; }
  .back-tofilters { display: none !important; }
  #sec1 .col-md-9 { margin-top: 8px; }
  #sec1 .user-profile-menu-wrap { margin-bottom: 18px; }
}
@media (max-width: 768px) {
  section.dashboard-header-sec { padding-top: 110px !important; }
  .dashboard-header_conatiner.dashboard-header_title { min-height: 66px; padding-left: 92px; }
  .dashboard-header_title h1 span { font-size: 26px; overflow-wrap: anywhere; }
  .dashboard-header { padding-bottom: 24px; }
  .dashboard-header_conatiner { min-height: 0; padding-left: 0; }
  .dashboard-header-avatar { top: -72px; width: 76px; height: 76px; }
  .dashboard-header-avatar img { width: 76px; height: 76px; border-radius: 22px !important; }
  .dashboard-list-head-btn.add-list { position: static; display: flex !important; width: 100%; justify-content: center; margin-top: 20px; }
}
@media (max-width: 600px) {
  section.main-dashboard-sec { padding: 20px 0 60px; }
  #sec1 .profile-edit-container, #sec1 .block_box { padding: 18px; border-radius: 18px; }
  #sec1 .my-listing-dashboard .dashboard-message { flex-direction: column-reverse; gap: 12px; align-items: stretch; padding: 16px; }
  #sec1 .my-listing-dashboard .booking-list-contr { justify-content: flex-end; }
  #sec1 .my-listing-dashboard .location-list-section { padding-left: 0; }
}

/* placeholder of the multi-select, and Stripe's card fields to match the rest */
#sec1 .custom-form .select2-selection--multiple .select2-search__field { width: 100% !important; min-height: 24px; text-align: left; }
#sec1 [id^='my-account-card-'][id$='-element'] { height: 46px; padding: 14px 16px; border: 1px solid var(--hp-line); border-radius: 12px; background: var(--hp-paper); }
#sec1 .payment-methods-card-container { position: relative; }
#sec1 .accordion-inner, #sec1 .add-card-content, #sec1 #add-card-form { background: #fff; }
#sec1 .accordion-inner #add-card-form { border: 0; }

/* business hours */
#sec1 .input-group > select, #sec1 .input-group > input, #sec1 [class*='step-'] select, #sec1 [class*='step-'] input[type='text'] { height: 42px; border-color: var(--hp-line); background-color: var(--hp-paper); color: var(--hp-ink); font: 600 13px var(--hp-sans); }
#sec1 [class*='step-'] select { border-radius: 11px; }
#sec1 .input-group > input { border-radius: 11px 0 0 11px; }
#sec1 .input-group-text { height: 42px; border-color: var(--hp-line); border-radius: 0 11px 11px 0; background: #fff; color: var(--hp-deep); }
#sec1 .btn-soft-primary { height: 42px; padding: 0 14px; border: 0; border-radius: 11px; background: #e8f4fa; color: var(--hp-deep); font: 700 12.5px var(--hp-sans); transition: background 0.2s, color 0.2s; }
#sec1 .btn-soft-primary:hover:not(:disabled) { background: var(--hp-grad); color: #fff; }
#sec1 .btn-soft-primary:disabled { opacity: 0.55; }
#sec1 #add-card-form .btn, #sec1 #add-card-form button[type='submit'] { border: 0; border-radius: 13px; background: var(--hp-grad); box-shadow: none; color: #fff; font: 700 13.5px var(--hp-sans); }
#sec1 #add-card-form button:disabled { opacity: 0.5; }

/* add listing and other form footers */
#sec1 .form-group .btn.color2-bg, #sec1 .custom-form > .btn.color2-bg { margin-top: 8px; }
#sec1 .custom-form a:not(.btn) { color: var(--hp-deep); }

/* ---------- Audit fixes ---------- */
#sec1 .booking-list-contr a { display: grid !important; height: 40px !important; place-items: center; line-height: 1 !important; }
#sec1 .booking-list-contr a i { display: block; }
/* icon follows the bottom of its label, so a label that wraps onto two lines cannot displace it */
#sec1 .custom-form label:has(> i:not(.fa-info-circle)) { position: relative; }
#sec1 .custom-form label > i:not(.fa-info-circle) { top: auto; bottom: -34px; }
/* business hours wrap to fit the card rather than scrolling sideways */
@media (max-width: 1280px) {
  #sec1 .business-hours-section { overflow: visible; padding: 0; }
  #sec1 .business-hours-section-main { display: block !important; width: 100%; min-width: 0; max-width: 100%; padding: 0; }
  #sec1 .business-hours-section-main .record { width: 100%; }
  #sec1 .business-hours-section-main .working-hours-block { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-start; width: 100%; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--hp-line); }
  #sec1 .business-hours-section-main .step-1 { flex: 0 0 96px; width: auto; max-width: none; padding: 0; }
  #sec1 .business-hours-section-main .step-2 { flex: 1 1 130px; width: auto; max-width: none; padding: 0; }
  #sec1 .business-hours-section-main .step-3 { flex: 1 1 100%; width: auto; max-width: none; padding: 0; }
  #sec1 .business-hours-section-main .step-4 { width: auto; max-width: none; padding: 0; }
  #sec1 .business-hours-section-main .block-to-clone { flex-wrap: wrap; }
  #sec1 .business-hours-section-main .step-row-1, #sec1 .business-hours-section-main .step-row-2 { width: auto; max-width: none; padding: 0; }
  #sec1 .business-hours-section-main .step-row-3 { flex: 0 0 auto; width: auto; padding: 0; }
  #sec1 .business-hours-section-main .form-group { margin: 0; }
  #sec1 .business-hours-section-main .step-1 label { color: var(--hp-ink); font: 700 13px var(--hp-sans); }
}

/* business hours controls, at every width */
#sec1 .business-hours-section-main .input-group { position: relative; width: 100%; }
#sec1 .business-hours-section-main .input-group > input { width: 100%; padding-right: 38px; border: 1px solid var(--hp-line); border-radius: 11px; }
#sec1 .business-hours-section-main .input-group > input:disabled { background: #eef1f6; color: var(--hp-muted); }
#sec1 .business-hours-section-main .input-group .input-group-text { position: absolute; top: 0; right: 0; z-index: 4; display: grid; width: 38px; height: 42px; padding: 0; place-items: center; border: 0; background: none; pointer-events: none; }
#sec1 .business-hours-section-main .select-box { position: relative; width: 100%; }
#sec1 .business-hours-section-main .select-box select { width: 100%; padding: 0 20px 0 10px; }
@media (max-width: 1280px) {
  #sec1 .business-hours-section-main .step-1 { margin: 0; }
  #sec1 .business-hours-section-main .step-1 label { width: auto; margin: 0; text-align: left; }
  #sec1 .business-hours-section-main .step-3 { order: 3; }
  #sec1 .business-hours-section-main .step-4 { display: flex; flex: 1 1 100%; gap: 8px; align-items: center; order: 4; }
  #sec1 .business-hours-section-main .block-to-clone > * { min-width: 0; margin: 0; }
  #sec1 .business-hours-section-main .step-row-1, #sec1 .business-hours-section-main .step-row-2 { flex: 1 1 calc(50% - 5px); }
}

/* day labels, and intervals as two equal columns when the row wraps */
#sec1 .business-hours-section-main .step-1 { margin-top: 0; }
#sec1 .business-hours-section-main .step-1 .form-group { margin: 0; text-align: left; }
#sec1 .business-hours-section-main .step-1 label { display: block; float: none; margin: 0; padding: 0; color: var(--hp-ink); font: 700 13px/42px var(--hp-sans); text-align: left; }
#sec1 .business-hours-section-main .apply-btn { color: var(--hp-deep); font: 700 12.5px var(--hp-sans); }
@media (max-width: 1280px) {
  #sec1 .business-hours-section-main .block-to-clone { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin: 0 !important; }
  #sec1 .business-hours-section-main .block-to-clone > * { width: auto !important; padding: 0 !important; }
  #sec1 .business-hours-section-main .step-row-3 { grid-column: 1 / -1; }
  #sec1 .business-hours-section-main .step-row-3:has(> .remove-interval-btn-block:empty) { display: none; }
  #sec1 .business-hours-section-main .step-1 label { padding: 0; }
}

/* checkbox rows */
#sec1 .filter-tags { display: flex; float: none; flex-wrap: wrap; gap: 10px 20px; }
#sec1 .filter-tags li { display: flex; float: none; flex: 0 1 auto; gap: 10px; width: auto; margin: 0; padding: 0; }
#sec1 .filter-tags input { flex-shrink: 0; float: none; margin: 0; border-radius: 6px; }
#sec1 .filter-tags label { float: none; width: auto; margin: 0; padding: 0; color: var(--hp-ink); font: 600 13px/1.4 var(--hp-sans); text-align: left; white-space: normal; }

/* hidden tooltip text must not widen the page on small phones */
#wrapper { overflow-x: clip; }

/* rows must not clip their tooltips, so the ribbon clips itself to the rounded corner instead */
#sec1 .my-listing-dashboard { overflow: visible; }
#sec1 .premium-badge-wrapper { overflow: hidden; border-top-left-radius: 17px; }

/* header search panel */
.main-header .header-search_container {
  top: 80px;
  left: 0;
  right: 0;
  width: auto;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--hp-grad);
  box-shadow: 0 24px 50px -20px rgb(0 50 80 / 70%);
}
.main-header .header-search_container::before, .main-header .header-search_container::after { display: none; }
.header-search_container .header-search-input input,
.header-search_container .select2-selection { height: 46px !important; border: 0; border-radius: 12px; background: #fff !important; color: var(--hp-ink); font: 500 14px var(--hp-sans); }
.header-search_container .header-search-button { height: 46px; border-radius: 12px; font: 700 14px var(--hp-sans); }
.header-search_container .header-search-button i { color: inherit; }
.header-search_container .header-search-button:disabled { opacity: 0.7; }
.header-search_container .header-search_close { border-radius: 0 0 12px 12px; background: var(--hp-deep) !important; }

/* confirmation dialogs */
.swal2-popup { padding: 28px 24px; border-radius: 22px; font-family: var(--hp-sans); }
.swal2-popup .swal2-title { color: var(--hp-ink); font: 400 26px/1.2 var(--hp-serif); }
.swal2-popup .swal2-html-container { color: var(--hp-muted); font: 500 14px/1.5 var(--hp-sans); }
.swal2-popup .swal2-actions { gap: 8px; }
.swal2-popup .swal2-styled { height: 46px; margin: 0; padding: 0 22px; border-radius: 13px; font: 700 13.5px var(--hp-sans); }
.swal2-popup .swal2-styled.swal2-confirm { background: var(--hp-grad) !important; }
.swal2-popup .swal2-styled.swal2-cancel { background: var(--hp-paper) !important; color: var(--hp-deep) !important; }
.swal2-popup .swal2-styled:focus { box-shadow: 0 0 0 3px rgb(25 150 207 / 25%); }

/* ---------- Small states ---------- */
#sec1 .your-listings-section > h4, #sec1 .dispute-claims-table > h4 { margin: 0; padding: 44px 20px; border: 1px dashed #bcd7e6; border-radius: 18px; background: #fff; color: var(--hp-muted); font: 600 14px/1.5 var(--hp-sans); text-align: center; white-space: normal; }
#sec1 .error-main-box ul { margin: 0; padding: 28px 20px; border: 1px dashed #bcd7e6; border-radius: 18px; background: #fff; list-style: none; }
#sec1 .error-main-box h4 { margin: 0; color: var(--hp-muted); font: 600 14px/1.5 var(--hp-sans); text-align: center; }
#sec1 .suspend-badge { border-radius: 999px; background: #fbeeec !important; color: #c0392b !important; font: 700 11.5px var(--hp-sans); }
#sec1 .suspend-badge b { color: inherit; font-weight: 700; }
#sec1 .renew-badge { border-radius: 999px; background: #fff4df !important; color: #9a6410 !important; font: 700 11.5px var(--hp-sans); }
#sec1 .renew-badge i { color: inherit; }
#sec1 .renew-badge { width: fit-content; max-width: calc(100% - 58px); } /* one line unless the card is really too narrow */

/* tooltips */

/* review actions */
#sec1 .btn-primary-action { height: 38px; padding: 0 16px; border: 0; border-radius: 11px; background: var(--hp-grad); color: #fff; font: 700 12.5px var(--hp-sans); transition: opacity 0.2s; }
#sec1 .btn-primary-action:hover { opacity: 0.9; }
#sec1 .btn-cancel, #sec1 .rate-review { height: 36px; padding: 0 14px; border: 1px solid var(--hp-line); border-radius: 11px; background: #fff; color: var(--hp-deep); font: 700 12.5px var(--hp-sans); transition: border-color 0.2s; }
#sec1 .btn-cancel:hover, #sec1 .rate-review:hover { border-color: var(--hp-blue); background: #fff; color: var(--hp-deep); }
#sec1 .reviews-comments-item-date, #sec1 .reviews-comments-item-date i { color: var(--hp-muted); }
#sec1 .review-card-reply { border: 0; border-left: 3px solid var(--hp-mid); border-radius: 12px; background: var(--hp-paper); }
#sec1 .reply-label, #sec1 .reply-label i { color: var(--hp-deep); }
#sec1 .score-badge { border-color: #bcd7e6; background: var(--hp-paper); }
#sec1 .score-value { color: var(--hp-deep); font: 400 26px var(--hp-serif); }
#sec1 .reviews-toolbar { margin-bottom: 12px; }
#sec1 .reset-filters-link { color: var(--hp-deep); font: 700 12.5px var(--hp-sans); }
#sec1 .filter-field label { text-transform: none; letter-spacing: 0; }
#sec1 .reviews-filter-bar { background: var(--hp-paper); }

/* header search on every screen: fields and button read as one set */
.header-search_container .header-select2-input .select2-container--default .select2-selection--single { background: #fff !important; }
.header-search_container .select2-selection__rendered, .header-search_container .select2-selection__placeholder { color: var(--hp-ink) !important; }
.header-search_container .select2-selection__rendered::before { color: var(--hp-deep) !important; }
.header-search_container .header-search-input input { color: var(--hp-ink) !important; }
.header-search_container .header-search-input input::placeholder { color: var(--hp-muted) !important; opacity: 1; }
.header-search_container .header-search-input label i,
.header-search_container .location-select-icon-box::before { color: var(--hp-deep) !important; }
.header-search_container .header-search-button, .header-search_container .header-search-button.disabled,
.header-search_container .header-search-button:hover { border: 0; background: #fff !important; color: var(--hp-deep) !important; }
.header-search_container .select2-selection__arrow b { border-color: var(--hp-deep) !important; }
@media (max-width: 1070px) {
  /* the header's own X closes it here, and this arrow would sit on the content below */
  .header-search_container .header-search_close { display: none; }
}

.dashboard-header-avatar .avtar-btns > * { display: grid; place-items: center; padding: 0; line-height: 1; }
.dashboard-header-avatar .avtar-btns i { position: static; display: block; margin: 0; font-size: 13px; line-height: 1; }

/* the file input stays over the whole button, so it is still what gets clicked */
.dashboard-header-avatar .edit-prof_btn { position: relative; }
.dashboard-header-avatar .edit-prof_btn input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

/* the theme offsets these on small screens */
#sec1 .my-listing-dashboard .booking-list-contr a { margin: 0 !important; padding: 0 !important; }
#sec1 .my-listing-dashboard .booking-list-contr a i { position: static !important; top: auto !important; margin: 0 !important; padding: 0 !important; transform: none !important; }

@media (max-width: 1280px) {
  #sec1 .business-hours-section-main .block-to-clone { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #sec1 .business-hours-section-main .step-row-1, #sec1 .business-hours-section-main .step-row-2 { min-width: 0; }
  #sec1 .business-hours-section-main .step-3 { min-width: 0; }
}
@media (max-width: 360px) {
  #sec1 .business-hours-section-main .block-to-clone { grid-template-columns: minmax(0, 1fr); }
}

.dashboard-header-avatar .edit-prof_btn i.edit-icon { top: auto; left: auto; transform: none; }
/* the theme forces these white for its dark bar */
.main-header .header-search_container .header-select2-input .select2-container .select2-selection .select2-selection__rendered,
.main-header .header-search_container .header-select2-input .select2-container .select2-selection .select2-selection__placeholder { color: var(--hp-ink) !important; -webkit-text-fill-color: var(--hp-ink); line-height: 46px !important; }
/* Header search icons: all three the same size and blue, centred in their 46px field (the keyword label sat at top: 18px,
   5px low, and the select icons inherited the ink -webkit-text-fill-color above, which beats color) */
.main-header .header-search_container .header-search-input label { top: 0; bottom: 0; left: 14px; display: flex; align-items: center; height: auto; margin: 0; line-height: 1; }
/* keyword field lines up with the select fields: icon centre 18px and text 35px from the input's left edge, same text size */
.main-header .header-search_container .header-search-input input { padding-left: 35px !important; }
.main-header .header-search_container .header-search-input input::placeholder { font-size: 14px; }
.main-header .header-search_container .header-search-input label i { font-size: 14px; line-height: 1; }
.main-header .header-search_container .header-select2-input .select2-container .select2-selection .select2-selection__rendered::before { color: var(--hp-deep) !important; -webkit-text-fill-color: var(--hp-deep); font-size: 14px; }

/* ---------- Tooltips ---------- */
.tolt::after { height: 32px; padding: 0 12px; border-radius: 9px; background: var(--hp-ink) !important; color: #fff; font: 600 12px/32px var(--hp-sans); }
.tolt::before { display: none; }
.tolt[data-microtip-position|='top']::after { margin-bottom: 8px; }
.tolt-multiline::after { font-weight: 500; text-transform: none; }
#sec1 .fa-info-circle, #sec1 .tolt.text-primary, #sec1 .tolt.text-primary i { color: var(--hp-deep) !important; }
#sec1 .business-hours-section-main .fa-info { border-color: var(--hp-deep); color: var(--hp-deep); }
/* opens to the left of its icon, over the Add Interval button, so it always has room */
#sec1 .business-hours-section-main .price-name-tooltip { right: 24px; left: auto; z-index: 20; width: 190px; padding: 8px 12px; border-radius: 9px; background: var(--hp-ink) !important; color: #fff; font: 500 12px/1.5 var(--hp-sans); text-align: left; }
/* keep the outer action tooltips on screen on phones */
@media (max-width: 600px) {
  #sec1 .booking-list-contr a:last-child.tolt::after { right: 0; left: auto !important; transform: none !important; }
  #sec1 .business-hours-section-main .price-name-tooltip { width: 130px; }
}
@media (max-width: 360px) {
  .tolt-multiline::after { width: 150px !important; }
}

/* ---------- Page titles: same height and same top on every page, so the cards below line up ---------- */
#sec1 .dashboard-title, #sec1 .reviews-header-row { display: flex; float: none; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin: 0 0 16px; padding: 0; text-align: left; }
#sec1 .reviews-header-row .dashboard-title { width: auto; margin: 0; }
#sec1 .dashboard-title h2, #sec1 .dashboard-title h3, #sec1 .media-title { flex: 0 1 auto; width: auto; margin: 0 !important; line-height: 1.2; }
#sec1 .dashboard-title .btn { display: inline-flex; float: none; gap: 10px; align-items: center; justify-content: center; height: 46px; margin: 0 !important; padding: 0 20px; line-height: 1; white-space: nowrap; }
#sec1 .dashboard-title .btn i { position: static; width: auto; height: auto; margin: 0; line-height: 1; }
#sec1 .col-md-9 > .dashboard-title.payment-profile-title-section, #sec1 .billing-title-section { display: block; min-height: 0; margin: 0; }
#sec1 .payment-profile-title-section > .my-listing-section, #sec1 .billing-title-section > .my-listing-section { float: none; width: 100%; padding: 0; }
#sec1 .reviews-tabs { margin: 0; }
#sec1 .reviews-tabs a { height: 38px; padding: 0 14px; }
#sec1 .claims-tabs { margin: 0 0 16px; }
#sec1 .claims-tabs a { height: 38px; padding: 0 14px; }
#sec1 .address-section.dashboard-title, #sec1 .dt-inbox.dashboard-title, #sec1 .profile-edit-container + .dashboard-title { margin-top: 30px; }
@media (max-width: 600px) {
  #sec1 .dashboard-title .btn { width: 100%; }
  #sec1 .reviews-tabs { width: 100%; }
  #sec1 .reviews-tabs a, #sec1 .claims-tabs a { flex: 1 1 auto; justify-content: center; }
  #sec1 .claims-tabs { width: 100%; }
}

/* ---------- Dropdowns line up with text fields: same box, same icon and text positions ---------- */
#sec1 .custom-form .select2-container { margin-bottom: 0; }
#sec1 .custom-form .select2-selection { border: 1px solid var(--hp-line) !important; border-radius: 12px !important; background: var(--hp-paper) !important; }
#sec1 .custom-form .select2-selection--single .select2-selection__rendered { width: 100%; height: 44px; padding: 0 56px 0 41px !important; color: var(--hp-ink); font: 500 14px/44px var(--hp-sans) !important; text-align: left; }
#sec1 .custom-form .select2-selection__placeholder { color: var(--hp-muted) !important; line-height: 44px; }
#sec1 .custom-form .select2-selection__rendered::before { position: absolute; top: 50% !important; left: 16px !important; margin: 0 !important; color: var(--hp-deep) !important; line-height: 1 !important; transform: translateY(-50%); }
#sec1 .custom-form .select2-selection--multiple::before { color: var(--hp-deep) !important; } /* multi-selects (Additional Category) draw their icon here: same deep blue as the other field icons */
#sec1 .custom-form .select2-selection--multiple .select2-selection__rendered { padding: 4px 34px 4px 41px !important; }
#sec1 .custom-form .select2-selection--multiple .select2-search--inline { float: none; margin: 0 !important; }
#sec1 .custom-form .select2-selection--multiple .select2-search__field { margin: 0 !important; padding: 0 !important; color: var(--hp-ink); font: 500 14px/24px var(--hp-sans) !important; }
#sec1 .custom-form .select2-selection--multiple .select2-search__field::placeholder { color: var(--hp-muted); }
#sec1 .custom-form .select2-selection__choice { border: 0 !important; border-radius: 8px !important; background: #e8f4fa !important; color: var(--hp-deep) !important; font: 600 12.5px/26px var(--hp-sans); }
#sec1 .custom-form .select2-selection__arrow { right: 12px !important; }

/* ---------- Search row: box and button on one line ---------- */
#sec1 .listing-search-div .search-input { margin: 0 !important; }
#sec1 .listing-search-div .search-container { display: flex; align-items: center; height: 46px; }
#sec1 .listing-search-div .clear-btn { top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
#sec1 .reviews-toolbar { padding: 22px; }
#sec1 .reviews-summary { margin: 0; padding: 0 0 18px; }
#sec1 .reviews-filter-bar { margin: 0; border-radius: 14px; }
#sec1 .reviews-filter-bar-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
#sec1 .reviews-filter-bar-fields .filter-field { width: auto; max-width: none; margin: 0; }
#sec1 .reset-filters-link { grid-column: 1 / -1; justify-self: start; }
#sec1 .review-card-actions { margin: 0; }
#sec1 .review-card-footer { align-items: center; }

/* ---------- Media and social: content starts where other forms do ---------- */
#sec1 .my-listing-tab-section .row { margin: 0; }
#sec1 .my-listing-tab-section .col-md-12 { padding: 0; }
#sec1 .my-listing-tab-section .filter-sidebar-header { margin: 0; padding: 0; }
#sec1 .my-listing-tab-section .filter-sidebar { padding: 18px 0 0; }
#sec1 .my-listing-tab-section .tabs-menu { margin: 0; }
#sec1 .my-listing-tab-section .tab-content, #sec1 .my-listing-tab-section .scrl-content { padding-right: 0; padding-left: 0; }

/* ---------- Claim details ---------- */
#sec1 .booking-list-message-text h4 { margin: 0 0 10px; text-align: left; }
#sec1 .booking-list-message-text > h4 { padding-right: 150px; }
#sec1 .booking-list-message-text h4 a { font-size: 22px; }
#sec1 .booking-details { margin: 0 0 8px; }
#sec1 .booking-details.border-bottom { margin-bottom: 16px; padding-bottom: 16px; }
#sec1 .booking-title { margin-right: 6px; }
#sec1 .claim-id-detail-box { top: 22px; right: 26px; padding: 6px 14px; }
#sec1 .booking-details a img, #sec1 .booking-details a i { vertical-align: middle; }
#sec1 .booking-list-message-text a[target='_blank'] + a[target='_blank'] { margin-left: 18px; }

/* multi-select: the box holds tags and the search field directly, so the text starts with the other fields */
#sec1 .custom-form .select2-selection--multiple { position: relative; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 4px 34px 4px 41px !important; }
#sec1 .custom-form .select2-selection--multiple .select2-selection__rendered { display: contents; }
#sec1 .custom-form .select2-selection--multiple .select2-search--inline { flex: 1 1 120px; min-width: 0; }
#sec1 .reviews-tabs { padding: 3px; }

/* ---------- Titles read the same on every page and every screen ---------- */
#sec1 .dashboard-title h2, #sec1 .dashboard-title h3, #sec1 .media-title { font-size: clamp(24px, 2.4vw, 30px) !important; text-align: left !important; }
#sec1 .dashboard-title { justify-content: space-between !important; text-align: left !important; }
@media (max-width: 600px) {
  #sec1 .reviews-header-row { justify-content: flex-start; }
  #sec1 .reviews-header-row .dashboard-title { width: 100%; min-height: 0; }
  #sec1 .dashboard-title h2, #sec1 .dashboard-title h3, #sec1 .media-title { width: 100%; }
}

/* ---------- Claim details ---------- */
#sec1 .attachment-file { float: none; margin: 0; }
#sec1 .booking-list-message-text ul:has(.attachment-file) { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
#sec1 .attachment-file a { display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 600px) {
  /* the pill would otherwise sit on top of the business name */
  #sec1 .booking-list-message-text > h4 { padding-right: 0; }
  #sec1 .claim-id-detail-box { position: static; float: none; width: auto; }
}

/* ---------- Upload areas ---------- */
#sec1 .fuzone { border: 1.5px dashed #bcd7e6 !important; border-radius: 16px; background: var(--hp-paper) !important; }
#sec1 .fuzone:hover { border-color: var(--hp-blue) !important; }
#sec1 .fu-text span { color: var(--hp-muted); font: 500 13px var(--hp-sans); }
#sec1 [id$='-preview-section'] > * { border-color: var(--hp-line) !important; border-radius: 16px; }

/* ---------- Checkbox rows on the listing form ---------- */
#sec1 .ds-tg { margin-bottom: 10px; }

/* ---------- Tables become stacked rows on phones, so nothing needs sideways scrolling ---------- */
@media (max-width: 600px) {
  #sec1 .dispute-claims-table > .table-responsive, #sec1 .invoice-table-wrapper { overflow: visible; border: 0; background: none; }
  #sec1 .dispute-claims-table .checkout-table, #sec1 .dispute-claims-table .checkout-table tbody { display: block; width: 100%; }
  #sec1 .dispute-claims-table .checkout-table tr:first-child { display: none; }
  #sec1 .dispute-claims-table .checkout-table tr { display: block; margin: 0 0 12px; padding: 6px 16px; border: 1px solid var(--hp-line); border-radius: 18px; background: #fff; }
  #sec1 .dispute-claims-table .checkout-table td { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hp-line); text-align: right; }
  #sec1 .dispute-claims-table .checkout-table td:last-child { border-bottom: 0; }
  #sec1 .dispute-claims-table .checkout-table td::before { flex-shrink: 0; color: var(--hp-muted); font: 700 11px var(--hp-sans); letter-spacing: 0.08em; text-align: left; text-transform: uppercase; }
  #sec1 .invoice-table td:nth-child(1)::before { content: 'Invoice Id'; }
  #sec1 .invoice-table td:nth-child(2)::before { content: 'Amount'; }
  #sec1 .invoice-table td:nth-child(3)::before { content: 'Invoice Date'; }
  #sec1 .invoice-table td:nth-child(4)::before { content: 'Status'; }
  #sec1 .invoice-table td:nth-child(5)::before { content: 'Actions'; }
  #sec1 .checkout-table:not(.invoice-table) td:nth-child(1)::before { content: 'Claim Id'; }
  #sec1 .checkout-table:not(.invoice-table) td:nth-child(2)::before { content: 'Location'; }
  #sec1 .checkout-table:not(.invoice-table) td:nth-child(3)::before { content: 'Status'; }
  #sec1 .checkout-table:not(.invoice-table) td:nth-child(4)::before { content: 'Created On'; }
  #sec1 .checkout-table:not(.invoice-table) td:nth-child(5)::before { content: 'Actions'; }
  #sec1 .checkout-table:not(.invoice-table) td:nth-child(2) { display: block; text-align: left; }
  #sec1 .checkout-table:not(.invoice-table) td:nth-child(2)::before { display: block; margin-bottom: 6px; }
  #sec1 .checkout-table td h4 { text-align: inherit; }
  #sec1 .invoice-table-action-column { justify-content: flex-start; }
  #sec1 .invoice-table-action-column::before { margin-right: auto; }
  #sec1 .custom-anchor { margin: 0 0 0 4px; }
}

/* narrow screens: tooltips anchor to their row, so they always fit */
@media (max-width: 1280px) {
  #sec1 .business-hours-section-main .price-name-tooltip { width: 130px; }
}
@media (max-width: 600px) {
  #sec1 .filter-tags li { position: relative; }
  #sec1 .filter-tags .tolt-bottom-fix { position: static !important; }
  #sec1 .filter-tags .tolt-bottom-fix[data-microtip-position='bottom']::after { left: 0 !important; box-sizing: border-box; width: 100% !important; max-width: 260px; transform: translate3d(0, 5px, 0) !important; }
}

#sec1 .invoice-payment-status-badge span.completed { background: #e6f5ef !important; color: #14865b !important; }
#sec1 .invoice-payment-status-badge span.pending { background: #fff4df !important; color: #9a6410 !important; }
#sec1 .invoice-payment-status-badge span.failed, #sec1 .invoice-payment-status-badge span.cancelled { background: #fbeeec !important; color: #c0392b !important; }
#sec1 [id$='-preview-section'] { border-color: var(--hp-line) !important; border-radius: 16px; }
@media (max-width: 600px) {
  #sec1 .dispute-claims-table .checkout-table td { width: 100% !important; max-width: none; min-width: 0; white-space: normal !important; overflow-wrap: anywhere; }
  #sec1 .dispute-claims-table .checkout-table td h4, #sec1 .dispute-claims-table .checkout-table td p { white-space: normal !important; overflow-wrap: anywhere; }
  #sec1 .claim-id-detail-box { display: block; margin: 0 0 8px; padding: 0; border-radius: 0; background: none; }
  #sec1 .claim-id-detail-box a { color: var(--hp-deep); }
}

/* the theme stacks and centres this title on tablets */
#sec1 .payment-profile-title-section .payment-profile-title-section { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
@media (max-width: 600px) {
  /* title starts at the same height on every page */
  #sec1 .dashboard-title, #sec1 .payment-profile-title-section .payment-profile-title-section { align-items: flex-start !important; min-height: 0; }
  #sec1 .reviews-header-row { min-height: 0; }
}
@media (max-width: 768px) {
  #sec1 .booking-list-message-text > h4 { padding-right: 0; }
  #sec1 .claim-id-detail-box { position: static; display: block; float: none; width: auto; padding: 0; border-radius: 0; background: none; }
}

/* Billing and Payment Profiles match the other pages on tablets */
#sec1 .my-listing-section > .payment-profile-title-section { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
#sec1 .dashboard-title .back-billing-Btn { width: auto; }
@media (max-width: 768px) {
  #sec1 .claim-id-detail-box { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  #sec1 .my-listing-section > .payment-profile-title-section { align-items: flex-start !important; }
  #sec1 .dashboard-title .back-billing-Btn { width: 100%; }
}

/* ---------- Cross icons in dropdowns: a real centred box, not an offset glyph ---------- */
#sec1 .select2-container--default .select2-selection .select2-selection__clear,
.header-search_container .select2-container--default .select2-selection .select2-selection__clear {
  position: absolute !important;
  top: 50%;
  right: 36px !important;
  z-index: 2;
  display: grid;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0 !important;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
#sec1 .select2-container--default .select2-selection .select2-selection__clear span,
.header-search_container .select2-container--default .select2-selection .select2-selection__clear span { position: static; display: block; margin: 0; font-size: 0; line-height: 0; background: linear-gradient(45deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%); }

/* tag: remove button and text share one centre line */
#sec1 .custom-form .select2-selection__choice { display: inline-flex; float: none; align-items: stretch; max-width: 100%; height: auto; min-height: 30px; margin: 0 !important; padding: 0 10px 0 0 !important; overflow: hidden; line-height: 1; white-space: normal; }
#sec1 .custom-form .select2-selection__choice__remove { position: static !important; display: grid !important; flex-shrink: 0; width: 24px; height: auto; min-height: 30px; margin: 0 8px 0 0 !important; padding: 0 !important; place-items: center; border: 0 !important; border-radius: 0 !important; background: var(--hp-mid) !important; color: #fff !important; font-size: 0 !important; line-height: 0 !important; }
#sec1 .custom-form .select2-selection__choice__remove span { display: block; width: 9px; height: 9px; font-size: 0; line-height: 0; background: linear-gradient(45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, #fff 43%, #fff 57%, transparent 57%); }
#sec1 .custom-form .select2-selection__choice__remove:hover { background: var(--hp-deep) !important; }
#sec1 .custom-form .select2-selection__choice__display { align-self: center; padding: 4px 0 !important; line-height: 1.25; overflow-wrap: anywhere; } /* a long name wraps and the chip grows with it */

/* the search field is part of the box: no border or ring of its own */
#sec1 .custom-form .select2-search__field,
#sec1 .custom-form .select2-search__field:focus { width: 100% !important; height: 28px !important; border: 0 !important; border-radius: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; }
#sec1 .custom-form .select2-container--focus .select2-selection,
#sec1 .custom-form .select2-container--open .select2-selection { border-color: var(--hp-blue) !important; background: #fff !important; box-shadow: 0 0 0 3px rgb(25 150 207 / 18%) !important; }

/* other cross and delete buttons */
#sec1 .clear-btn { top: 50%; right: 8px; width: 28px; height: 28px; padding: 0; color: var(--hp-muted); font-size: 14px; line-height: 28px; text-align: center; transform: translateY(-50%); }
#sec1 .clear-btn i { display: inline-block; vertical-align: middle; line-height: 1; }
#sec1 .remove-interval-btn { display: grid; width: 42px; height: 42px; margin: 0; padding: 0; place-items: center; border-radius: 11px; background: #fbeeec; color: #c0392b; line-height: 1; }
#sec1 .remove-interval-btn i { display: block; line-height: 1; }
#sec1 .remove-interval-btn:hover { background: #c0392b; color: #fff; }
#sec1 .business-logo-tab .remove-business-logo-button { display: grid; padding: 0; place-items: center; line-height: 1; }
#sec1 .business-logo-tab .remove-business-logo-button i { display: block; line-height: 1; }

#sec1 .listing-search-div .search-container { position: relative; }
#sec1 .listing-search-div .clear-btn { z-index: 3; }

/* ---------- Payment options: equal tiles, the whole tile is the checkbox's label ---------- */
#sec1 .filter-tags:has(input[id^='payment-options-']) { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; }
#sec1 .filter-tags:has(input[id^='payment-options-']) li { position: relative; display: block; width: auto; border: 1px solid var(--hp-line); border-radius: 12px; background: var(--hp-paper); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
#sec1 .filter-tags:has(input[id^='payment-options-']) li:hover { border-color: var(--hp-blue); }
#sec1 .filter-tags:has(input[id^='payment-options-']) li:has(input:checked) { border-color: var(--hp-mid); background: #e8f4fa; box-shadow: inset 0 0 0 1px var(--hp-mid); }
#sec1 .filter-tags:has(input[id^='payment-options-']) input { position: absolute; top: 50%; left: 14px; z-index: 1; width: 20px; height: 20px; margin: 0; border-radius: 6px; background: #fff; transform: translateY(-50%); pointer-events: none; }
#sec1 .filter-tags:has(input[id^='payment-options-']) label { align-items: center; width: 100%; min-height: 48px; padding: 8px 12px 8px 44px; color: var(--hp-ink); font: 600 13px/1.3 var(--hp-sans); cursor: pointer; }
#sec1 .filter-tags:has(input[id^='payment-options-']) li:has(input:checked) label { color: var(--hp-deep); }
@media (max-width: 600px) {
  #sec1 .filter-tags:has(input[id^='payment-options-']) { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* the theme pushes these labels 4px down, and offsets the tick */
#sec1 .filter-tags label { top: 0; }
#sec1 .filter-tags input:checked::after { top: 50%; left: 50%; line-height: 1; transform: translate(-50%, -50%); }

/* ---------- Tag fields (Languages, Products, Services...): same 46px box as the other fields ---------- */
#sec1 .input-icon-box { margin-bottom: 16px !important; }
#sec1 .input-icon-box .bootstrap-tagsinput { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 46px; margin: 0; padding: 7px 14px 7px 41px !important; border: 1px solid var(--hp-line) !important; border-radius: 12px; background: var(--hp-paper) !important; color: var(--hp-ink); font: 500 14px var(--hp-sans); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
#sec1 .input-icon-box .bootstrap-tagsinput:focus-within { border-color: var(--hp-blue) !important; background: #fff !important; box-shadow: 0 0 0 3px rgb(25 150 207 / 18%) !important; }
#sec1 .custom-form .input-icon-box .bootstrap-tagsinput input,
#sec1 .custom-form .input-icon-box .bootstrap-tagsinput input:focus { flex: 1 1 120px; width: auto !important; min-width: 0; height: 28px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--hp-ink); font: 500 14px/28px var(--hp-sans); }
#sec1 .input-icon-box > i { color: var(--hp-deep); }
/* Tags: rounded pills with a small round remove button inside */
#sec1 .input-icon-box .bootstrap-tagsinput .tag { display: inline-flex; gap: 6px; align-items: center; height: 30px; margin: 0; padding: 0 4px 0 12px !important; border: 1px solid rgb(25 150 207 / 25%); border-radius: 999px; background: #e8f4fa !important; color: var(--hp-deep) !important; font: 700 13px/1 var(--hp-sans); white-space: nowrap; }
#sec1 .input-icon-box .bootstrap-tagsinput .tag [data-role='remove'] { position: static; display: grid; flex-shrink: 0; width: 22px; height: 22px; margin: 0; padding: 0; place-items: center; border: 0; border-radius: 50%; background: rgb(0 98 143 / 12%); color: var(--hp-deep); font-size: 0; line-height: 0; cursor: pointer; transition: background 0.2s, color 0.2s; }
#sec1 .input-icon-box .bootstrap-tagsinput .tag [data-role='remove']:hover { background: var(--hp-deep); color: #fff; }
#sec1 .input-icon-box .bootstrap-tagsinput .tag [data-role='remove']::after { content: ''; display: block; width: 8px; height: 8px; padding: 0; background: linear-gradient(45deg, transparent 42%, currentColor 42%, currentColor 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, currentColor 42%, currentColor 58%, transparent 58%); }

/* ---------- Space above section headings: the floated cards were swallowing it ---------- */
#sec1 .profile-edit-container { float: none; clear: both; }
#sec1 .profile-edit-container + .dashboard-title { margin-top: 30px; }

/* ---------- Checkbox rows ---------- */
#sec1 .filter-tags li { align-items: center; }
#sec1 .filter-tags li > label { display: inline-flex; flex-wrap: wrap; gap: 0 4px; align-items: center; min-height: 20px; }
#sec1 .filter-tags .tolt { align-self: center; }

/* payment tiles: same height in every row, and two columns on phones */
#sec1 .filter-tags:has(input[id^='payment-options-']) { grid-auto-rows: 1fr; }
#sec1 .filter-tags:has(input[id^='payment-options-']) label { display: flex; height: 100%; }
@media (max-width: 600px) {
  #sec1 .filter-tags:has(input[id^='payment-options-']) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #sec1 .filter-tags:has(input[id^='payment-options-']) label { padding: 8px 8px 8px 40px; font-size: 12.5px; }
  #sec1 .filter-tags:has(input[id^='payment-options-']) input { left: 12px; }
}

/* cards contain their floated contents */
#sec1 .profile-edit-container { display: flow-root; }
#sec1 .profile-edit-container > .custom-form, #sec1 .business-main-section { float: none; width: 100%; }

/* wrapped checkbox labels: the box lines up with the first line of text */
#sec1 .filter-tags:not(:has(input[id^='payment-options-'])) li { align-items: flex-start; }
#sec1 .filter-tags:not(:has(input[id^='payment-options-'])) label { font: 600 13px/20px var(--hp-sans); }

/* ---------- Banner: round avatar on a white ring, with a soft map-contour backdrop like the home hero ---------- */
section.dashboard-header-sec { position: relative; }
section.dashboard-header-sec::after { content: ''; position: absolute; top: -40%; right: -8%; z-index: 0; width: 620px; height: 620px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 38px, rgb(255 255 255 / 9%) 38px 39px); pointer-events: none; }
.dashboard-header { position: relative; z-index: 1; }
.dashboard-header-avatar img { padding: 0; border: 4px solid #fff; border-radius: 50% !important; background: #fff; box-shadow: 0 16px 34px -14px rgb(0 30 50 / 75%), 0 0 0 6px rgb(255 255 255 / 16%); }
.dashboard-header-avatar .avtar-btns { right: -2px; bottom: -2px; }
.dashboard-header-avatar .avtar-btns > * { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff !important; box-shadow: 0 6px 14px -4px rgb(0 30 50 / 55%); transition: background 0.2s; }
.dashboard-header-avatar .avtar-btns i { color: var(--hp-deep); }
.dashboard-header-avatar .avtar-btns > *:hover { background: var(--hp-paper) !important; }
.dashboard-header-avatar .avtar-btns .remove-btn i { color: #c0392b; }
@media (max-width: 768px) {
  section.dashboard-header-sec::after { width: 420px; height: 420px; }
  .dashboard-header-avatar .avtar-btns > * { width: 28px; height: 28px; }
}

/* ---------- Softer cross buttons ---------- */
#sec1 .select2-container--default .select2-selection .select2-selection__clear,
.header-search_container .select2-container--default .select2-selection .select2-selection__clear { width: 18px; height: 18px !important; background: #aab4c5 !important; transition: background 0.2s; }
#sec1 .select2-container--default .select2-selection .select2-selection__clear:hover,
.header-search_container .select2-container--default .select2-selection .select2-selection__clear:hover { background: #c0392b !important; }
#sec1 .select2-container--default .select2-selection .select2-selection__clear span,
.header-search_container .select2-container--default .select2-selection .select2-selection__clear span { width: 8px; height: 8px; }

/* password eye icons: fixed offset from the top, because an error message below the field grows this box */
/* flow-root and clear: the box starts below its floated label, so the input sits at the top of the box */
#sec1 .welcome-box { position: relative; display: flow-root; clear: both; }
#sec1 .welcome-box .password-toggle-button, #sec1 .welcome-box .new-password-toggle-button, #sec1 .welcome-box .confirm-password-toggle-button { position: absolute; top: 23px; right: 16px; margin: 0; color: var(--hp-deep); line-height: 1; transform: translateY(-50%); }
#sec1 .custom-form .select2-selection--multiple .select2-search__field { line-height: 28px !important; }

/* ---------- Avatar actions: one white pill on the bottom edge of the photo, whichever buttons are present ---------- */
.dashboard-header-sec .edit-profile-box .avtar-btns { position: absolute; top: auto; right: auto; bottom: -10px; left: 50%; z-index: 3; display: flex; gap: 0; align-items: center; width: max-content; margin: 0; padding: 2px; border-radius: 999px; background: #fff; box-shadow: 0 8px 18px -6px rgb(0 30 50 / 60%); transform: translateX(-50%); }
.dashboard-header-sec .edit-profile-box .avtar-btns > * { position: relative; top: auto; right: auto; bottom: auto; left: auto; display: grid; width: 28px; height: 28px; margin: 0; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent !important; box-shadow: none; cursor: pointer; transition: background 0.2s; }
.dashboard-header-sec .edit-profile-box .avtar-btns > *:hover { background: #e8f4fa !important; }
.dashboard-header-sec .edit-profile-box .avtar-btns > .remove-btn:hover { background: #fbeeec !important; }
.dashboard-header-sec .edit-profile-box .avtar-btns i { position: static; top: auto; left: auto; display: block; margin: 0; color: var(--hp-deep); font-size: 13px; line-height: 1; transform: none; }
.dashboard-header-sec .edit-profile-box .avtar-btns .remove-btn i { color: #c0392b; }
.dashboard-header-sec .edit-profile-box .edit-prof_btn input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

/* ---------- Full-state pass ---------- */
/* the banner's Add Listing placement must not reach other buttons sharing these classes */
#sec1 .dashboard-list-head-btn.add-list { position: static; top: auto; right: auto; display: inline-flex !important; gap: 10px; align-items: center; justify-content: center; width: auto; height: 46px; margin: 12px 0 0; padding: 0 20px; border-radius: 13px; background: #fbeeec !important; color: #c0392b !important; font: 700 13.5px var(--hp-sans); line-height: 1; cursor: pointer; }
#sec1 .dashboard-list-head-btn.add-list:hover { background: #c0392b !important; color: #fff !important; }
/* clearfix pseudo-elements on theme rows would take the first cell of these layouts */
#sec1 .working-hours-block::before, #sec1 .working-hours-block::after,
#sec1 .block-to-clone::before, #sec1 .block-to-clone::after { display: none; }
/* label text and info icon flow as one line of text */
#sec1 .filter-tags:not(:has(input[id^='payment-options-'])) li > label { display: block; min-width: 0; }
#sec1 .filter-tags:not(:has(input[id^='payment-options-'])) .tolt { display: inline-flex !important; margin-left: 4px; vertical-align: -1px; }
@media (max-width: 1280px) {
  #sec1 .business-hours-section-main .step-4 > span { display: inline-flex; align-items: center; }
  #sec1 .business-hours-section-main .step-4 .geodir-category_price { position: relative; top: 0; float: none; margin: 0; }
  #sec1 .business-hours-section-main .step-1 label { line-height: 42px; }
}

/* social links: fields start at the card's content edge */
#sec1 .my-listing-tab-section .custom-form .row { margin-right: -15px; margin-left: -15px; }
/* review replies */
#sec1 .reply-label-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 0 0 8px; }
#sec1 .reply-label-row .review-card-actions { margin: 0; }
#sec1 .review-card-business { align-items: flex-start; }
/* floating top button: no grey ring */
.to-top, .to-top:hover { border: 0; outline: 0; box-shadow: 0 10px 22px -8px rgb(0 50 80 / 60%); }

/* video gallery: Add button matches the other buttons and lines up with its field */
#sec1 .btn-add-video { display: inline-flex; gap: 10px; align-items: center; justify-content: center; height: 46px; margin: 0; padding: 0 22px; border: 0; border-radius: 13px; background: var(--hp-grad); box-shadow: none; color: #fff; font: 700 13.5px var(--hp-sans); line-height: 1; transition: opacity 0.2s; }
#sec1 .btn-add-video:hover { opacity: 0.9; color: #fff; }
#sec1 .btn-add-video i, #sec1 .btn-add-video:hover i { position: static; width: auto; height: auto; margin: 0; box-shadow: none; color: #fff; line-height: 1; }
#sec1 div:has(> div > #youtubeURL) { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
#sec1 div:has(> #youtubeURL) { flex: 1 1 220px; min-width: 0; }
#sec1 #youtubeURL { width: 100%; margin: 0; }
@media (max-width: 600px) {
  #sec1 .btn-add-video { width: 100%; }
  #sec1 div:has(> .btn-add-video) { flex: 1 1 100%; }
}

#sec1 #video-upload-error-message:not(:empty) ul { margin-top: 12px; }
@media (max-width: 768px) {
  #sec1 .claim-id-detail-box { margin: 6px 0 8px; }
}

/* review filters: dropdowns stay inside their own grid cell, with a real gap between them */
#sec1 .reviews-filter-bar-fields .filter-field { min-width: 0; overflow: visible; }
#sec1 .reviews-filter-bar-fields .select2-container, #sec1 .reviews-filter-bar-fields .select2-selection { box-sizing: border-box; width: 100% !important; min-width: 0 !important; max-width: 100%; }
#sec1 .reviews-filter-bar-fields .select2-selection__rendered { overflow: hidden; text-overflow: ellipsis; }

/* ---------- Responsive pass ---------- */
/* table text wraps to fit, so the last columns are not pushed out of sight */
#sec1 .checkout-table td, #sec1 .checkout-table td h4, #sec1 .checkout-table td p { white-space: normal; }
/* only long names and addresses may break mid-word; short values (status, dates) keep whole words */
#sec1 .checkout-table td.text-left, #sec1 .checkout-table td h4, #sec1 .checkout-table td p { overflow-wrap: anywhere; }
#sec1 .checkout-table th, #sec1 .checkout-table td { padding-right: 12px; padding-left: 12px; }

/* the row's empty gutter must not let these forms slide sideways on touch */
#sec1 .scrl-content { overflow-x: hidden; }

/* header search: fields and button stack at full width until it fits on one row */
@media (max-width: 1070px) {
  .main-header .header-search_container .container { width: 100%; max-width: none; padding: 0; }
  .main-header .header-search_container .header-search-input-wrap { float: none; width: 100%; padding: 0; }
  .main-header .header-search_container .header-search-input { float: none; width: 100%; margin: 0 0 10px; padding: 0; }
  .main-header .header-search_container .header-search-input input { float: none; display: block; margin: 0; }
  .main-header .header-search_container .header-search-input label { top: 0; left: 10px; } /* no 4px field padding here: 10px keeps the icon over the select icons */
  .main-header .header-search_container .container::before { display: none; }
  .main-header .header-search_container .header-search-button { position: static; float: none; width: 100%; margin: 0; }
}

@media (max-width: 600px) {
  #sec1 .pagination a { min-width: 36px; height: 36px !important; font-size: 13px !important; line-height: 34px !important; }
  #sec1 .make-primary, #sec1 .delete-card { display: inline-flex; min-height: 32px; align-items: center; }
  #sec1 .rating-bar-row { min-height: 30px; align-items: center; }
  #sec1 .listing-search-div { flex-wrap: wrap; }
  #sec1 .listing-search-div .search-container { flex: 1 1 100%; }
  #sec1 .listing-search-div .dashboard-list-head-btn { width: 100%; justify-content: center; }
}

/* Business hours: the opening time field fills its slot like the closing one, with the same corners as the selects */
#sec1 .business-hours-section-main .time-picker-box .time-input-box { flex: 1 1 100%; width: 100%; min-width: 0; }
#sec1 .business-hours-section-main .time-picker-box .time-input-box input { display: block; width: 100%; padding-right: 38px; }
#sec1 .business-hours-section-main input.time-picker { border-radius: 11px; }

/* Stacked columns: content starts on the same edge as the rest of the site (24px on tablets, 16px on phones) */
@media (max-width: 1064px) {
  .dashboard-header-sec .container { padding: 0; }
  .main-dashboard-sec > .container > .col-md-3,
  .main-dashboard-sec > .container > .col-md-9,
  .main-dashboard-sec > .container > form > .col-md-9,
  #sec1 .my-listing-section { padding-right: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .dashboard-header-sec .container,
  .main-dashboard-sec > .container { width: calc(100% - 32px); }
}

/* Phones: pages with header search drop the Sign In label so the header stays on one row */
@media (max-width: 600px) {
  .main-header:has(.header-search_btn) .show-reg-form { display: flex; width: 44px; height: 44px; margin-left: 8px; padding: 0; align-items: center; justify-content: center; font-size: 0; line-height: 1; }
  .main-header:has(.header-search_btn) .show-reg-form i { display: block !important; margin: 0; font-size: 16px; line-height: 1; }
  .main-header .header-search_btn { margin-left: 10px; }
}
@media (max-width: 360px) {
  .main-header:has(.header-search_btn) { padding-left: 10px; }
  .main-header .header-search_btn { margin-left: 4px; }
  .main-header:has(.header-search_btn) .show-reg-form { margin-left: 4px; }
}
