@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

.cleancem-out,
.cleancem-out *,
.cleancem-out *::before,
.cleancem-out *::after {
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    box-sizing: border-box;
}

.cleaner-cabinet,
.cleaner-cabinet *,
.cleaner-cabinet *::before,
.cleaner-cabinet *::after,
.cleaner-service-modal,
.cleaner-service-modal *,
.cleaner-service-modal *::before,
.cleaner-service-modal *::after {
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    #box-sizing: border-box;
}
.cleancem-out{
    --cleaners-page-max-width: 1280px;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    width: 100%;
    background: #f3f4f6;
    overflow-x: hidden;
}

.cleancem-out--detail .cleaner-detail-page {
    min-height: 100vh;
    min-height: 100dvh;
}

.cleaners-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 280px;
    padding: 34px 20px 28px;
    background: linear-gradient(180deg, #17344d 0%, #0d2235 100%);
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.cleaners-hero::before,
.cleaners-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cleaners-hero::before {
    background: url("/assets/images/clean-cemeteries.png") 50% 56% / cover no-repeat;
    opacity: 0.96;
    filter: saturate(1.03) contrast(1.02);
}

.cleaners-hero::after {
    background:
        linear-gradient(90deg, rgba(7, 18, 29, 0.8) 0%, rgba(9, 24, 38, 0.68) 30%, rgba(10, 28, 44, 0.36) 58%, rgba(10, 28, 44, 0.18) 100%),
        linear-gradient(180deg, rgba(10, 22, 35, 0.12) 0%, rgba(10, 22, 35, 0.5) 100%);
}

.cleaners-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--cleaners-page-max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: stretch;
}

.cleaners-hero-text {
    flex: 1 1 260px;
    min-width: 260px;
    max-width: 720px;
}

.cleaners-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 28, 46, 0.42);
    border: 1px solid rgba(227, 242, 255, 0.24);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 10px 24px rgba(8, 20, 33, 0.18);
    backdrop-filter: blur(8px);
}

.cleaners-title {
    font-size: 34px;
    line-height: 1.08;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 28px rgba(7, 17, 28, 0.32);
}

.cleaners-subtitle {
    margin: 0;
    max-width: 660px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(236, 245, 255, 0.94);
    text-shadow: 0 8px 24px rgba(7, 17, 28, 0.24);
}

.cleaners-hero-highlight {
    flex: 0 0 380px;
    max-width: 400px;
    min-width: 260px;
    background: linear-gradient(180deg, rgba(8, 24, 40, 0.5) 0%, rgba(9, 26, 43, 0.34) 100%);
    border-radius: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(227, 242, 255, 0.2);
    box-shadow: 0 18px 34px rgba(7, 17, 28, 0.24);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cleaners-hero-stat {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(227, 242, 255, 0.14);
}

.cleaners-hero-stat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(220, 238, 255, 0.72);
    margin-bottom: 4px;
}

.cleaners-hero-stat-value {
    font-size: 13px;
    color: #eef6ff;
    line-height: 1.5;
}

.cleaners-test-note {
    padding: 12px 20px 0;
    background: transparent;
}

.cleaners-flow {
    padding: 18px 20px 0;
    background: transparent;
}

.cleaners-flow-inner {
    max-width: var(--cleaners-page-max-width);
    margin: 0 auto;
    padding: 22px 24px 24px;
    border-radius: 22px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(77, 157, 255, 0.12) 0%, rgba(77, 157, 255, 0) 58%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d9e7f6;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.cleaners-flow-head {
    margin-bottom: 18px;
}

.cleaners-flow-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #17427a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.cleaners-flow-title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.15;
    color: #0f172a;
    max-width: 760px;
}

.cleaners-flow-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.cleaners-flow-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.cleaners-flow-step {
    position: relative;
    box-sizing: border-box;
    min-height: 100%;
    padding: 16px 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: border-color 0.9s cubic-bezier(0.22, 1, 0.36, 1), background 0.9s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cleaners-flow-step::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, rgba(56, 189, 248, 0.03) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cleaners-flow-step::after {
    content: "";
    position: absolute;
    top: 28px;
    right: -14px;
    width: 14px;
    height: 2px;
    background: linear-gradient(90deg, #9cc8ff 0%, #d8eaff 100%);
    opacity: 0.72;
    transition: background 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cleaners-flow-step:last-child::after {
    display: none;
}

.cleaners-flow-step-num {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #38bdf8 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(29, 78, 216, 0.22);
    position: relative;
    z-index: 1;
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.cleaners-flow-step-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.35;
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.cleaners-flow-step-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #5b677a;
    position: relative;
    z-index: 1;
}


.cleaners-flow-accordion {
    display: none;
}

.cleaners-flow-accordion-summary {
    display: flex;
    align-items: center;
    list-style: none;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    border: 1px solid #d9e7f6;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.cleaners-flow-accordion-summary::-webkit-details-marker {
    display: none;
}

.cleaners-flow-accordion-title {
    flex: 1;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #0f172a;
}

.cleaners-flow-accordion-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.cleaners-flow-accordion-icon::before,
.cleaners-flow-accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: #2563eb;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cleaners-flow-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.cleaners-flow-accordion[open] .cleaners-flow-accordion-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0.3);
}

.cleaners-flow-accordion-body {
    padding: 14px 0 0;
}

.cleaners-flow-accordion-steps {
    display: grid;
    gap: 12px;
}

.cleaners-test-note-inner {
    max-width: var(--cleaners-page-max-width);
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #f3cf67;
    background: linear-gradient(180deg, #fff4bf 0%, #ffe797 100%);
    color: #6b4d00;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
    box-shadow: 0 5px 12px rgba(180, 126, 0, 0.08);
}

.cleaners-filters {
    background: transparent;
    padding: 18px 20px 20px;
}

.cleaners-filters-inner {
    max-width: var(--cleaners-page-max-width);
    margin: 0 auto;
}

.cleaners-mobile-toolbar {
    display: none;
}

.cleaners-mobile-toolbar-btn-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}

.cleaners-mobile-toolbar-btn-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.cleaners-mobile-toolbar-btn-label {
    display: inline-flex;
    align-items: center;
}

.cleaners-filters-card {
    padding: 22px 24px 24px;
    border-radius: 22px;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(77, 157, 255, 0.1) 0%, rgba(77, 157, 255, 0) 58%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d9e7f6;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.cleaners-filters-header {
    margin-bottom: 18px;
}

.cleaners-filters-title {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.2;
    color: #0f172a;
}

.cleaners-filters-subtitle {
    margin: 0;
    max-width: 680px;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.cleaners-filters-form {
    padding: 0;
}

.cleaners-filters-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.cleaners-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.cleaners-filter-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5d6b80;
    font-weight: 800;
}

.cleaners-input,
.cleaners-select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
    background: #f9fafb;
    color: #111827;
}

.cleaners-input:disabled,
.cleaners-select:disabled {
    opacity: 0.8;
    cursor: default;
}

.cleaners-input::placeholder {
    color: #9ca3af;
}

/* Actions row in filters */
.cleaners-filter-submit {
    gap: 10px;
    flex-direction: row !important;
    justify-content: flex-start;
    padding-top: 0;
    align-self: end;
}

.cleaners-filter-submit .cleaners-filter-btn,
.cleaners-filter-submit .cleaners-filter-reset {
    width: auto;
    flex: 0 0 auto;
}

.cleaners-filter-select {
    position: relative;
}

.cleaners-filter-select .custom-select-trigger {
    position: relative;
    min-height: 48px;
    box-sizing: border-box;
    padding: 11px 42px 11px 14px;
    border-radius: 16px;
    border: 1px solid #d7e3f1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.12s ease;
}

.cleaners-filter-select .custom-select-trigger:hover {
    border-color: #c3d5ea;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.cleaners-filter-select .custom-select-trigger::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: translateY(-62%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.cleaners-filter-select.open .custom-select-trigger::after {
    border-color: #1663ff;
    transform: translateY(-36%) rotate(-135deg);
}

.cleaners-filter-select .custom-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid #d7e3f1;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.cleaners-filter-select.open-up .custom-options {
    top: auto;
    bottom: calc(100% + 8px);
}

.cleaners-filter-select .custom-option {
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: #1f2937;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.cleaners-filter-select .custom-option:hover {
    background: #eff6ff;
    color: #174ea6;
}

.cleaners-filter-select[style*="pointer-events: none"] .custom-select-trigger {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #94a3b8;
    box-shadow: none;
}

/* Phone input wrapper (order form) */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f9fafb;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}

.country-select {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0px 10px;
    background: transparent;
    border-right: 1px solid #d1d5db;
    font-size: 13px;
    color: #1a1a1a;
}

.country-flag {
    font-size: 18px;
}

.country-code {
    font-weight: 500;
    color: #111827;
}

.phone-input {
    flex: 1;
    padding: 8px 10px;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    font-size: 13px;
    background: transparent;
    color: #111827;
}

/* Filters action buttons (bring back black rounded look) */
.cleaners-filter-btn {
    box-sizing: border-box;
    min-height: 48px;
    min-width: 198px;
    padding: 11px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(21, 87, 214, 0.2);
    transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cleaners-filter-btn:hover {
    background: linear-gradient(180deg, #347eff 0%, #1a61e2 100%);
    transform: translateY(-1px);
}

.cleaners-filter-btn:active {
    transform: translateY(0);
}

.cleaners-filter-reset {
    box-sizing: border-box;
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 16px;
    border: 1px solid #d7e3f1;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #13283e;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.1s ease;
}

.cleaners-filter-reset:hover {
    border-color: #bfd5ee;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
    transform: translateY(-1px);
}

.cleaners-list-section--loading {
    opacity: 0.72;
    transition: opacity 0.2s ease;
}

.cleaners-mobile-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(15, 23, 42, 0.32);
    backdrop-filter: blur(10px);
}

.cleaners-mobile-modal {
    width: min(100%, 560px);
    max-height: min(88vh, 760px);
    border-radius: 28px 28px 0 0;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-bottom: 0;
    background: #ffffff;
    box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    animation: order-details-sheet-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.cleaners-mobile-modal--filters {
    overflow: visible;
}

.cleaners-mobile-modal-header,
.cleaners-mobile-modal-body,
.cleaners-mobile-modal-footer {
    padding-left: 16px;
    padding-right: 16px;
}

.cleaners-mobile-modal-header {
    padding-top: 24px;
    padding-bottom: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    background: rgba(255, 255, 255, 0.94);
}

.cleaners-mobile-modal-titlecopy h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.2;
    color: #0f172a;
}

.cleaners-mobile-modal-titlecopy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

.cleaners-mobile-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #1e293b;
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cleaners-mobile-modal-body {
    padding-top: 14px;
    padding-bottom: 14px;
    overflow-y: auto;
    display: grid;
    gap: 14px;
}

.cleaners-mobile-modal-body--filters {
    overflow: visible;
}

.cleaners-mobile-field {
    display: grid;
    gap: 8px;
}

.cleaners-mobile-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5d6b80;
}

.cleaners-mobile-select-wrap {
    position: relative;
}

.cleaners-mobile-select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: translateY(-62%) rotate(45deg);
    pointer-events: none;
}

.cleaners-mobile-select-wrap--custom::after {
    display: none;
}

.cleaners-mobile-select {
    width: 100%;
    min-height: 52px;
    padding: 12px 42px 12px 14px;
    border-radius: 16px;
    border: 1px solid #d7e3f1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #0f172a;
    font: inherit;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.cleaners-mobile-select:disabled {
    color: #94a3b8;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.cleaners-mobile-filter-select {
    position: relative;
}

.cleaners-mobile-filter-select .custom-select-trigger {
    min-height: 52px;
    padding: 12px 42px 12px 14px;
    font-size: 15px;
    line-height: 1.4;
}

.cleaners-mobile-filter-select .custom-options {
    max-height: min(44vh, 280px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 40;
}

.cleaners-mobile-filter-select .custom-option {
    font-size: 15px;
}

.cleaners-mobile-sort-list {
    display: grid;
    gap: 10px;
}

.cleaners-mobile-sort-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px;
    border: 1px solid #d7e3f1;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #0f172a;
    position: relative;
    cursor: pointer;
}

.cleaners-mobile-sort-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cleaners-mobile-sort-radio {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex: 0 0 20px;
    border-radius: 999px;
    border: 1.5px solid #b8c8db;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    position: relative;
}

.cleaners-mobile-sort-radio::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    transform: scale(0.25);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.cleaners-mobile-sort-option input:checked + .cleaners-mobile-sort-radio {
    border-color: rgba(21, 87, 214, 0.42);
    box-shadow: 0 0 0 4px rgba(21, 87, 214, 0.10);
}

.cleaners-mobile-sort-option input:checked + .cleaners-mobile-sort-radio::after {
    transform: scale(1);
    opacity: 1;
}

.cleaners-mobile-sort-option.is-selected {
    border-color: rgba(21, 87, 214, 0.36);
    background: linear-gradient(180deg, #eef5ff 0%, #dfeaff 100%);
    box-shadow: 0 10px 24px rgba(21, 87, 214, 0.08);
}

.cleaners-mobile-sort-option:hover {
    border-color: #bfd5ee;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

.cleaners-mobile-sort-option > span:last-child {
    font-size: 14px;
    line-height: 1.45;
}

.cleaners-mobile-modal-footer {
    display: flex;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    background: rgba(255, 255, 255, 0.96);
}

.cleaners-mobile-modal-secondary,
.cleaners-mobile-modal-primary {
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 1 1 0;
}

.cleaners-mobile-modal-close,
.cleaners-mobile-modal-secondary,
.cleaners-mobile-modal-primary,
.cleaners-mobile-sort-option,
.cleaners-mobile-filter-select .custom-select-trigger {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cleaners-mobile-filter-select .custom-select-trigger:focus,
.cleaners-mobile-filter-select .custom-select-trigger:focus-visible {
    outline: none;
    box-shadow: none;
}

.cleaners-mobile-modal-close:focus-visible,
.cleaners-mobile-modal-secondary:focus-visible,
.cleaners-mobile-modal-primary:focus-visible,
.cleaners-mobile-sort-option:focus-within,
.cleaners-mobile-filter-select.open .custom-select-trigger {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, 0.18);
    outline: none;
}

.cleaners-mobile-modal-secondary {
    border: 1px solid #d7e3f1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #13283e;
}

.cleaners-mobile-modal-primary {
    border: 1px solid transparent;
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(21, 87, 214, 0.2);
}

.cleaners-mobile-sort-option:focus-within {
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

@keyframes cleaner-toolbar-sticky-in {
    from {
        opacity: 0;
        transform: translate(-50%, -8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cleaners-filter-note {
    margin-top: 4px;
    font-size: 11px;
    color: #9ca3af;
}

.cleaners-list-section {
    width: 100%;
    max-width: var(--cleaners-page-max-width);
    margin: 20px auto 32px;
    padding: 0 20px 10px;
    box-sizing: border-box;
}

.cleaners-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    width: 100%;
}

.cleaners-list-header-left {
    flex: 1 1 200px;
    min-width: 200px;
}

.cleaners-list-header-btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

.cleaners-list-empty {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid #d9e7f6;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(77, 157, 255, 0.08) 0%, rgba(77, 157, 255, 0) 58%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.cleaners-list-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1557d6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cleaners-list-empty-copy {
    min-width: 0;
}

.cleaners-list-empty-copy strong {
    display: block;
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.25;
    color: #0f172a;
}

.cleaners-list-empty-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.btn-my-orders,
.btn-my-cabinet,
.btn-become-cleaner {
    flex-shrink: 0;
    min-height: 48px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-my-orders,
.btn-become-cleaner {
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.92) 100%);
    box-shadow: 0 12px 24px rgba(15, 33, 56, 0.08);
    cursor: pointer;
}

.btn-my-orders:hover,
.btn-become-cleaner:hover {
    background:
        linear-gradient(180deg, #ffffff 0%, #e8f2ff 100%);
    border-color: #0056b3;
    color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 33, 56, 0.1);
}

.btn-my-cabinet {
    color: #fff;
    background: #007bff;
    border: 1px solid #007bff;
    box-shadow: 0 14px 26px rgba(0, 123, 255, 0.24);
}

.btn-my-cabinet:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(0, 86, 179, 0.24);
}

.btn-my-orders:active,
.btn-my-cabinet:active,
.btn-become-cleaner:active {
    transform: translateY(0);
}

@media (hover: none) and (pointer: coarse) {
    .cleancem-out button,
    .cleancem-out a,
    .cleancem-out input,
    .cleancem-out textarea,
    .cleancem-out .custom-select-trigger,
    .cleancem-out .cleaners-mobile-sort-option {
        -webkit-tap-highlight-color: transparent;
    }

    .cleaners-mobile-toolbar-btn,
    .cleaners-mobile-modal-close,
    .cleaners-mobile-modal-secondary,
    .cleaners-mobile-modal-primary,
    .cleaners-mobile-sort-option,
    .cleaners-filter-btn,
    .cleaners-filter-reset,
    .btn-my-orders,
    .btn-my-cabinet,
    .btn-become-cleaner,
    .cleaner-order-btn,
    .cleaner-order-submit,
    .btn-become-cleaner-go,
    .btn-become-cleaner-decline,
    .btn-order-modal-cancel,
    .btn-order-modal-confirm,
    .custom-select-wrapper .custom-select-trigger,
    .cleaner-input,
    .cleaner-textarea,
    .phone-input {
        transform: none !important;
    }

    .cleaners-mobile-toolbar-btn:hover,
    .cleaners-mobile-toolbar-btn:active,
    .cleaners-mobile-modal-close:hover,
    .cleaners-mobile-modal-secondary:hover,
    .cleaners-mobile-modal-primary:hover,
    .cleaners-mobile-sort-option:hover,
    .cleaners-filter-btn:hover,
    .cleaners-filter-btn:active,
    .cleaners-filter-reset:hover,
    .btn-my-orders:hover,
    .btn-my-orders:active,
    .btn-my-cabinet:hover,
    .btn-my-cabinet:active,
    .btn-become-cleaner:hover,
    .btn-become-cleaner:active,
    .cleaner-order-btn:hover,
    .cleaner-order-btn:active,
    .cleaner-order-submit:hover,
    .cleaner-order-submit:active,
    .btn-become-cleaner-go:hover,
    .btn-become-cleaner-decline:hover,
    .btn-order-modal-cancel:hover,
    .btn-order-modal-cancel:active,
    .btn-order-modal-confirm:hover,
    .btn-order-modal-confirm:active {
        transform: none !important;
    }
}

.cleaners-header-btn-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    position: relative;
}

.cleaners-header-btn-icon::before,
.cleaners-header-btn-icon::after {
    content: "";
    position: absolute;
}

.cleaners-header-btn-icon--svg::before,
.cleaners-header-btn-icon--svg::after {
    content: none;
}

.cleaners-header-btn-icon--svg svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.btn-my-cabinet .cleaners-header-btn-icon {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-my-orders .cleaners-header-btn-icon,
.btn-become-cleaner .cleaners-header-btn-icon {
    background: rgba(0, 123, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-my-cabinet .cleaners-header-btn-icon::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    top: 4px;
}

.btn-my-cabinet .cleaners-header-btn-icon::after {
    width: 12px;
    height: 6px;
    border-radius: 999px 999px 7px 7px;
    background: currentColor;
    bottom: 4px;
}

.btn-my-orders .cleaners-header-btn-icon::before {
    width: 12px;
    height: 10px;
    border-radius: 4px;
    border: 2px solid currentColor;
    box-sizing: border-box;
}

.btn-my-orders .cleaners-header-btn-icon::after {
    width: 8px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
}

.btn-become-cleaner .cleaners-header-btn-icon::before,
.btn-become-cleaner .cleaners-header-btn-icon::after {
    width: 10px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.btn-become-cleaner .cleaners-header-btn-icon::after {
    transform: rotate(90deg);
}

.cleaners-header-btn-label {
    position: relative;
    z-index: 1;
}

/* Модальне "Стати працівником" */
.become-cleaner-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10020;
    padding: 20px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(12px);
}

.become-cleaner-modal {
    position: relative;
    width: min(94vw, 620px);
    max-height: min(88vh, 760px);
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: #ffffff;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    animation: order-details-modal-in 0.24s ease;
}

.become-cleaner-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    background: #ffffff;
}

.become-cleaner-modal-titlebox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.become-cleaner-modal-icon,
.become-cleaner-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.become-cleaner-modal-icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.become-cleaner-modal-heading {
    min-width: 0;
}

.become-cleaner-modal-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    color: #102033;
}

.become-cleaner-modal-subtitle {
    margin: 4px 0 0;
    color: #68758a;
    font-size: 13px;
    line-height: 1.45;
}

.become-cleaner-modal-close {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #46566c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.become-cleaner-modal-close:hover {
    color: #102033;
}

.become-cleaner-modal-body {
    padding: 16px 20px 18px;
    display: grid;
    gap: 12px;
    overflow: auto;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
}

.become-cleaner-modal-note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(20, 99, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(20, 99, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.become-cleaner-modal-note-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.become-cleaner-modal-note-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #13283e;
}

.become-cleaner-modal-note-copy p,
.become-cleaner-modal-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4f5e73;
}

.become-cleaner-modal-copy {
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
}

.become-cleaner-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    background: linear-gradient(180deg, rgba(245, 248, 252, 0.12) 0%, #f5f8fc 100%);
}

.btn-become-cleaner-go {
    height: 40px;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    border: 1px solid transparent;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(21, 87, 214, 0.2);
    transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-become-cleaner-go:hover {
    background: linear-gradient(180deg, #347eff 0%, #1a61e2 100%);
    color: #fff;
    transform: translateY(-1px);
}

.btn-become-cleaner-decline {
    height: 40px;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #13283e;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1;
    transition: transform 0.1s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-become-cleaner-decline:hover {
    background: #ffffff;
    border-color: rgba(20, 99, 255, 0.16);
    transform: translateY(-1px);
}

.cleaner-self-badge {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

/* Модальне вікно "Мої замовлення" */
.orders-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10020;
    padding: 20px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(12px);
}

.orders-modal {
    position: relative;
    width: min(94vw, 700px);
    max-height: min(88vh, 760px);
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #ffffff;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    animation: order-details-modal-in 0.24s ease;
}

.orders-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    background: #ffffff;
}

.orders-modal-titlebox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.orders-modal-icon,
.orders-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.orders-modal-icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.orders-modal-heading {
    min-width: 0;
}

.orders-modal-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    color: #102033;
}

.orders-modal-subtitle {
    margin: 4px 0 0;
    color: #68758a;
    font-size: 13px;
    line-height: 1.45;
}

.orders-modal-close {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #46566c;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.orders-modal-close:hover {
    color: #102033;
}

.orders-modal-body {
    padding: 16px 20px 18px;
    display: grid;
    gap: 12px;
    overflow: auto;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
    scrollbar-color: rgba(255, 255, 255, 0.96) transparent;
}

.orders-modal-body::-webkit-scrollbar {
    width: 12px;
}
.orders-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.orders-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    border: 3px solid rgba(245, 248, 252, 0.92);
}

.orders-modal-state {
    display: flex;
    align-items: center!important;
    flex-direction: column!important;
    justify-content: center!important;
    min-height: 180px;
    padding: 24px 20px;
    border: 1px dashed rgba(120, 138, 160, 0.28);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.98) 100%);
    align-content: center;
    gap: 10px;
    text-align: center;
    color: #617187;
}

.orders-modal-state p {
    margin: 0;
    max-width: 280px;
    font-size: 14px;
    line-height: 1.6;
}

.orders-modal-state-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex: 0 0 auto;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
    box-shadow: 0 10px 24px rgba(21, 87, 214, 0.12);
}

.orders-modal-list {
    display: grid;
    gap: 12px;
}

.order-modal-item {
    padding: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.order-modal-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.order-modal-item-header strong {
    font-size: 15px;
    line-height: 1.35;
    color: #13283e;
}

.order-modal-status {
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.order-modal-status-pending { background: #fef3c7; color: #92400e; }
.order-modal-status-accepted { background: #d1fae5; color: #065f46; }
.order-modal-status-completion_pending { background: #dbeafe; color: #1d4ed8; }
.order-modal-status-completion-pending { background: #dbeafe; color: #1d4ed8; }
.order-modal-status-rejected { background: #fee2e2; color: #991b1b; }
.order-modal-status-completed { background: #e0e7ff; color: #3730a3; }
.order-modal-status-cancelled { background: #f3f4f6; color: #4b5563; }

.order-modal-item-info {
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: #4f5e73;
    line-height: 1.55;
}

.order-modal-item-info p {
    margin: 0;
}

.order-modal-item-info strong {
    color: #13283e;
}

.order-modal-date {
    font-size: 12px;
    color: #7a8799;
    margin-top: 2px !important;
}

.order-item-chat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #234e86;
    background: linear-gradient(180deg, #f6faff 0%, #edf4ff 100%);
    border: 1px solid rgba(20, 99, 255, 0.12);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-item-chat-link:hover {
    transform: translateY(-1px);
    background: #f3f8ff;
    border-color: rgba(20, 99, 255, 0.18);
}

.order-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.order-item-actions .order-item-chat-link {
    margin-top: 0;
}

.order-item-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(223, 57, 94, 0.14);
    background: linear-gradient(180deg, #fff4f6 0%, #ffecef 100%);
    color: #b33553;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-item-cancel-btn:hover {
    background: #ffe9ee;
    border-color: rgba(223, 57, 94, 0.22);
    transform: translateY(-1px);
}

.cleaners-list-title {
    margin: 0 0 4px;
    font-size: 20px;
    color: #111827;
}

.cleaners-list-subtitle {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.cleaners-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
}

.cleaner-card {
    position: relative;
    padding: 15px 18px;
    border-radius: 22px;
    border: 1px solid #d8e5f4;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(93, 163, 255, 0.13) 0%, rgba(93, 163, 255, 0) 48%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.cleaner-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0) 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0) 100%);
}

.cleaner-card-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 72px minmax(180px, 230px) minmax(0, 1fr) 220px;
    grid-template-areas:
        "avatar basic services meta"
        "workplace workplace description meta";
    column-gap: 16px;
    row-gap: 12px;
    align-items: stretch;
}

.cleaner-card-left {
    display: contents;
}

.cleaner-avatar-shell {
    grid-area: avatar;
    width: 72px;
    height: 72px;
    padding: 3px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 246, 255, 0.94) 100%);
    border: 1px solid rgba(159, 190, 223, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cleaner-avatar {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 12px 24px rgba(29, 78, 216, 0.24);
}

.cleaner-avatar-bg-0 { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.cleaner-avatar-bg-1 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.cleaner-avatar-bg-2 { background: linear-gradient(135deg, #059669, #22c55e); }
.cleaner-avatar-bg-3 { background: linear-gradient(135deg, #dc2626, #ef4444); }
.cleaner-avatar-bg-4 { background: linear-gradient(135deg, #ea580c, #f97316); }
.cleaner-avatar-bg-5 { background: linear-gradient(135deg, #0891b2, #06b6d4); }

.cleaner-basic {
    grid-area: basic;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    align-self: center;
}

.cleaner-name {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    color: #10243a;
}

.cleaner-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.cleaner-rating-pill,
.cleaner-review-pill {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.cleaner-rating-pill {
    background: linear-gradient(135deg, #fff5d8 0%, #ffe39a 100%);
    color: #925d00;
    border: 1px solid rgba(217, 150, 24, 0.24);
}

.cleaner-rating-pill-icon {
    color: #b97800;
    font-size: 13px;
    line-height: 1;
}

.cleaner-review-pill {
    background: #edf4ff;
    color: #1d4f93;
    border: 1px solid rgba(107, 160, 228, 0.24);
}

.cleaner-location {
    font-size: 13px;
    line-height: 1.5;
    color: #5f6f85;
}

.cleaner-workplace {
    grid-area: workplace;
    min-height: 0;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(237, 245, 255, 0.9) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(207, 225, 244, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
    display: grid;
    gap: 4px;
    align-content: start;
    height: 100%;
}

.cleaner-workplace-label,
.cleaner-description-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #607086;
}

.cleaner-workplace-main {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    color: #16314d;
}

.cleaner-workplace-note {
    font-size: 12px;
    line-height: 1.5;
    color: #59708b;
}

.cleaner-card-right {
    display: contents;
}

.cleaner-card-content {
    display: contents;
}

.cleaner-services {
    grid-area: services;
    display: grid;
    gap: 8px;
    min-width: 0;
    align-content: start;
}

.cleaner-services-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #607086;
}

.cleaner-services-pills {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cleaner-service-chip {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e8f8;
    color: #1c3d60;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.cleaner-service-chip--muted {
    background: rgba(255, 255, 255, 0.64);
    color: #6b7b90;
}

.cleaner-service-chip--more {
    background: #e8f1ff;
    color: #1752af;
    border-color: #c7dbff;
}

.cleaner-meta {
    grid-area: meta;
    display: grid;
    gap: 10px;
    align-content: space-between;
}

.cleaner-price {
    padding: 14px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, #14385b 0%, #0f2942 100%);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(13, 34, 53, 0.22);
}

.cleaner-price-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(223, 237, 255, 0.7);
}

.cleaner-price-value {
    margin-top: 6px;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
}

.cleaner-price-note {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(223, 237, 255, 0.76);
}

.cleaner-details-link {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid #cfe1f4;
    background: rgba(255, 255, 255, 0.86);
    color: #163f71;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.cleaner-details-link:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(21, 63, 113, 0.1);
}

.cleaner-meta .cleaner-self-badge {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    background: #f7fbff;
    border: 1px solid #d6e4f3;
    color: #5f6f85;
    font-size: 12px;
    font-weight: 700;
    box-shadow: none;
}

.cleaner-order-btn {
    border-radius: 16px;
    border: 1px solid rgba(16, 49, 79, 0.12);
    min-height: 44px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(145deg, #102d4d 0%, #174d78 100%);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    box-shadow: 0 6px 14px rgba(14, 42, 70, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.cleaner-order-btn:hover {
    background: linear-gradient(145deg, #12365b 0%, #1b5a8f 100%);
    border-color: rgba(110, 174, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(14, 42, 70, 0.1);
}

.cleaner-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(14, 42, 70, 0.08);
}

.cleaner-order-btn-icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cleaner-order-btn-icon::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: -2px;
}

.cleaner-order-btn-label {
    position: relative;
    z-index: 1;
}

.cleaner-description-block {
    grid-area: description;
    min-height: 0;
    padding: 12px 14px;
    border-radius: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    background: rgba(239, 246, 255, 0.76);
    border: 1px solid rgba(210, 226, 243, 0.9);
    height: 100%;
}

.cleaner-description-block--empty {
    align-items: stretch;
}

.cleaner-description-copy {
    flex: 1 1 220px;
    min-width: 0;
    display: grid;
    gap: 4px;
    align-content: start;
}

.cleaner-description {
    font-size: 13px;
    line-height: 1.6;
    color: #4f6074;
    margin: 0;
}

.cleaner-description--muted {
    color: #708197;
}

.cleaner-more-link {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-left: auto;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #cfe1f4;
    color: #1457d4;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.cleaner-more-link:hover {
    background: #f8fbff;
}

.cleaner-detail-page {
    padding: 20px 20px 34px;
}

.cleaner-detail-inner {
    max-width: var(--cleaners-page-max-width);
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.cleaner-detail-summary {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid #d8e5f4;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(93, 163, 255, 0.14) 0%, rgba(93, 163, 255, 0) 48%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.08);
}

.cleaner-detail-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}

.cleaner-detail-identity {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.cleaner-detail-avatar-shell {
    width: 98px;
    height: 98px;
    padding: 4px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(237, 246, 255, 0.94) 100%);
    border: 1px solid rgba(159, 190, 223, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.cleaner-detail-avatar {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 30px;
    box-shadow: 0 18px 30px rgba(29, 78, 216, 0.22);
}

.cleaner-detail-head {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.cleaner-detail-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.08;
    color: #10243a;
    letter-spacing: -0.03em;
}

.cleaner-detail-meta {
    display: grid;
    gap: 8px;
}

.cleaner-detail-side {
    display: grid;
    gap: 12px;
    align-content: start;
}

.cleaner-price--detail {
    min-height: 100%;
}

.cleaner-detail-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.cleaner-detail-action {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    font-family: inherit;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.cleaner-detail-action svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.cleaner-detail-action--ghost {
    background: rgba(255, 255, 255, 0.92);
    border-color: #d6e4f3;
    color: #17427a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.cleaner-detail-action--ghost:hover {
    transform: translateY(-1px);
    background: #ffffff;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.cleaner-detail-action--primary {
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(21, 87, 214, 0.2);
}

.cleaner-detail-action--primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #347eff 0%, #1a61e2 100%);
    box-shadow: 0 18px 32px rgba(21, 87, 214, 0.24);
}

.cleaner-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.cleaner-detail-panel {
    padding: 22px 22px 24px;
    border-radius: 24px;
    border: 1px solid #d8e5f4;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.cleaner-detail-panel--full {
    grid-column: 1 / -1;
}

.cleaner-detail-panel-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #edf4ff;
    color: #1457d4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cleaner-detail-panel-title {
    margin: 14px 0 12px;
    font-size: 24px;
    line-height: 1.14;
    color: #10243a;
}

.cleaner-detail-description {
    margin: 0;
    color: #4f6074;
    font-size: 15px;
    line-height: 1.75;
}

.cleaner-detail-description p {
    margin: 0;
}

.cleaner-detail-description p + p {
    margin-top: 12px;
}

.cleaner-detail-services {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.cleaner-detail-services li {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(209, 224, 240, 0.95);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cleaner-detail-services strong {
    font-size: 15px;
    line-height: 1.4;
    color: #17324d;
}

.cleaner-detail-services span {
    color: #5d6e84;
    font-size: 14px;
    line-height: 1.45;
}

.cleaner-detail-empty {
    margin: 0;
    color: #708197;
    font-size: 14px;
    line-height: 1.6;
}

.cleaner-detail-panel-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.cleaner-detail-panel-topline .cleaner-detail-panel-title {
    margin-bottom: 0;
}

.cleaner-detail-inline-action {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #cfe1f4;
    border-radius: 14px;
    background: #ffffff;
    color: #1650a6;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cleaner-detail-inline-action:hover {
    transform: translateY(-1px);
    background: #f4f8ff;
    border-color: #bfd6f3;
    box-shadow: 0 12px 24px rgba(21, 87, 214, 0.08);
}

.cleaner-detail-panel-topline--reviews {
    align-items: center;
}

.cleaner-detail-reviews-summary {
    min-width: 172px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #d6e4f4;
    background:
        radial-gradient(circle at top right, rgba(42, 118, 255, 0.12), transparent 46%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 2px;
    text-align: right;
}

.cleaner-detail-reviews-summary strong {
    font-size: 28px;
    line-height: 1;
    color: #0f3d87;
}

.cleaner-detail-reviews-summary span {
    font-size: 13px;
    font-weight: 700;
    color: #37506c;
}

.cleaner-detail-reviews-summary small {
    font-size: 12px;
    color: #6c8097;
}

.cleaner-detail-reviews-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.cleaner-detail-reviews-placeholder {
    grid-column: 1 / -1;
    min-height: 220px;
    padding: 24px;
    border-radius: 22px;
    border: 1px dashed #c9d9ea;
    background:
        radial-gradient(circle at top left, rgba(42, 118, 255, 0.09), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 10px;
}

.cleaner-detail-reviews-placeholder-badge {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #edf4ff;
    color: #1457d4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cleaner-detail-reviews-placeholder h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #10243a;
}

.cleaner-detail-reviews-placeholder p {
    max-width: 620px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #617389;
}

.cleaner-detail-review-compose {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #d8e5f4;
    background:
        radial-gradient(circle at top left, rgba(42, 118, 255, 0.08), transparent 42%),
        linear-gradient(180deg, #fdfefe 0%, #f6faff 100%);
}

.cleaner-detail-review-compose h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
    color: #10243a;
}

.cleaner-detail-review-compose > p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #66788f;
}

.cleaner-detail-review-form {
    display: grid;
    gap: 14px;
}

.cleaner-detail-review-field {
    display: grid;
    gap: 8px;
}

.cleaner-detail-review-field > span {
    font-size: 13px;
    font-weight: 700;
    color: #26415f;
}

.cleaner-detail-review-field textarea,
.cleaner-detail-review-field input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid #cfe0f1;
    background: #ffffff;
    color: #10243a;
    font: inherit;
}

.cleaner-detail-review-field textarea {
    min-height: 132px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.6;
}

.cleaner-detail-review-field input[type="file"] {
    padding: 12px 14px;
}

.cleaner-detail-review-field textarea:focus,
.cleaner-detail-review-field input[type="file"]:focus {
    outline: none;
    border-color: #94b9ea;
    box-shadow: 0 0 0 4px rgba(42, 118, 255, 0.12);
}

.cleaner-detail-review-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    align-items: center;
}

.cleaner-detail-review-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cleaner-detail-review-stars label {
    font-size: 34px;
    line-height: 1;
    color: #cbd8e6;
    cursor: pointer;
    transition: transform 0.14s ease, color 0.14s ease;
}

.cleaner-detail-review-stars label:hover,
.cleaner-detail-review-stars label:hover ~ label,
.cleaner-detail-review-stars input:checked ~ label {
    color: #f4b63f;
}

.cleaner-detail-review-stars label:hover {
    transform: translateY(-1px);
}

.cleaner-detail-review-form-footer {
    display: grid;
    gap: 12px;
}

.cleaner-detail-review-form-footer p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #6d8096;
}

.cleaner-detail-review-submit,
.cleaner-detail-review-login {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

.cleaner-detail-review-submit {
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(21, 87, 214, 0.2);
    cursor: pointer;
}

.cleaner-detail-review-login {
    justify-self: start;
    background: #ffffff;
    border-color: #d0e1f1;
    color: #1650a6;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.cleaner-detail-review-note {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px dashed #c9d9ea;
}

.cleaner-detail-review-note strong {
    font-size: 15px;
    color: #193555;
}

.cleaner-detail-review-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #66788f;
}

.cleaner-detail-reviews-feed {
    display: grid;
    gap: 14px;
}

.cleaner-detail-review-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #dbe7f5;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.cleaner-detail-review-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cleaner-detail-review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, #dceafe 0%, #bcd6fb 100%);
    color: #17427a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex: 0 0 46px;
}

.cleaner-detail-review-card-meta {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.cleaner-detail-review-card-meta strong {
    font-size: 15px;
    line-height: 1.35;
    color: #10243a;
}

.cleaner-detail-review-card-subline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #708197;
}

.cleaner-detail-review-card-stars {
    color: #f4b63f;
    letter-spacing: 0.05em;
    font-size: 14px;
}

.cleaner-detail-review-card-text {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.75;
    color: #54667b;
}

.cleaner-detail-review-photo-pill {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #edf4ff;
    color: #1457d4;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .cleaner-detail-reviews-layout {
        grid-template-columns: 1fr;
    }

    .cleaner-detail-reviews-summary {
        width: 100%;
        text-align: left;
    }
}

.cleaner-detail-services-preview {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.cleaner-detail-service-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(209, 224, 240, 0.95);
    background:
        radial-gradient(circle at top right, rgba(20, 99, 255, 0.06), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.cleaner-detail-service-card-copy {
    display: grid;
    gap: 6px;
}

.cleaner-detail-service-card-copy strong {
    font-size: 15px;
    line-height: 1.35;
    color: #17324d;
}

.cleaner-detail-service-card-copy span {
    font-size: 13px;
    line-height: 1.5;
    color: #607086;
}

.cleaner-detail-cemetery-grid {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cleaner-detail-cemetery-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.cleaner-detail-cemetery-link {
    min-width: 0;
    min-height: 68px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #d8e5f4;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    text-decoration: none;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cleaner-detail-cemetery-link:hover {
    transform: translateY(-1px);
    border-color: #bfd4eb;
    background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.07);
}

.cleaner-detail-cemetery-link--district {
    min-height: 74px;
}

.cleaner-detail-cemetery-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1457d4;
    font-size: 14px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.cleaner-detail-cemetery-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.cleaner-detail-cemetery-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.cleaner-detail-cemetery-copy strong {
    font-size: 14px;
    line-height: 1.3;
    color: #16314a;
}

.cleaner-detail-cemetery-copy span {
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}

.cleaner-detail-cemetery-arrow {
    color: #7a90a7;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cleaner-detail-cemetery-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
}

.cleaner-detail-drawer-trigger {
    width: 100%;
}

.cleaner-detail-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: flex;
    justify-content: flex-end;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.cleaner-detail-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cleaner-detail-drawer {
    width: min(100vw, 460px);
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    border-left: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: -24px 0 50px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.24s ease;
}

.cleaner-detail-drawer-overlay.is-open .cleaner-detail-drawer {
    transform: translateX(0);
}

.cleaner-detail-drawer-header,
.cleaner-detail-drawer-footer {
    padding: 22px 22px 18px;
    background: rgba(255, 255, 255, 0.92);
}

.cleaner-detail-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.cleaner-detail-drawer-titlebox {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cleaner-detail-drawer-icon,
.cleaner-detail-drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
}

.cleaner-detail-drawer-icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1557d6;
}

.cleaner-detail-drawer-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.cleaner-detail-drawer-close {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #46566c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.cleaner-detail-drawer-titlecopy h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #102033;
}

.cleaner-detail-drawer-titlecopy p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: #68758a;
}

.cleaner-detail-drawer-body {
    padding: 18px 22px;
    overflow: auto;
}

.cleaner-detail-drawer-services {
    display: grid;
    gap: 12px;
}

.cleaner-detail-drawer-service {
    position: relative;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.cleaner-detail-drawer-service:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 99, 255, 0.16);
    background: #f8fbff;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.cleaner-detail-drawer-service input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cleaner-detail-drawer-service-box {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 7px;
    border: 2px solid #9bb0c8;
    background: #ffffff;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.cleaner-detail-drawer-service input:checked + .cleaner-detail-drawer-service-box {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.cleaner-detail-drawer-service input:checked + .cleaner-detail-drawer-service-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cleaner-detail-drawer-service--readonly {
    grid-template-columns: minmax(0, 1fr);
    cursor: default;
}

.cleaner-detail-drawer-service--readonly:hover {
    transform: none;
    border-color: rgba(17, 24, 39, 0.08);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.cleaner-detail-drawer-service-copy {
    display: grid;
    gap: 4px;
}

.cleaner-detail-drawer-service-copy strong {
    font-size: 15px;
    line-height: 1.35;
    color: #17324d;
}

.cleaner-detail-drawer-service-copy span {
    font-size: 13px;
    line-height: 1.5;
    color: #607086;
}

.cleaner-detail-drawer-empty {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(120, 138, 160, 0.3);
    background: rgba(255, 255, 255, 0.8);
    color: #617187;
    font-size: 14px;
    line-height: 1.6;
}

.cleaner-detail-drawer-footer {
    display: grid;
    gap: 14px;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.cleaner-detail-drawer-summary {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(20, 99, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(20, 99, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.cleaner-detail-drawer-summary-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.cleaner-detail-drawer-summary strong {
    font-size: 24px;
    line-height: 1;
    color: #10243a;
}

.cleaner-detail-drawer-summary-price {
    font-size: 13px;
    line-height: 1.5;
    color: #1752af;
    font-weight: 700;
}

.cleaner-detail-drawer-submit {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(21, 87, 214, 0.2);
    transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cleaner-detail-drawer-submit:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #347eff 0%, #1a61e2 100%);
    box-shadow: 0 18px 32px rgba(21, 87, 214, 0.24);
}

@media (max-width: 980px) {
    .cleaner-card-main {
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-areas:
            "avatar basic"
            "workplace workplace"
            "services services"
            "description description"
            "meta meta";
    }

    .cleaner-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: start;
    }

    .cleaner-price {
        grid-column: 1 / -1;
    }

    .cleaner-detail-summary-grid,
    .cleaner-detail-grid {
        grid-template-columns: 1fr;
    }

    .cleaner-detail-actions {
        margin-top: 16px;
    }

    .cleaner-detail-cemetery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cleaner-card {
        padding: 12px 10px;
        border-radius: 16px;
        border-color: #c5d9ee;
        background:
            radial-gradient(135% 135% at 0% 0%, rgba(93, 163, 255, 0.16) 0%, rgba(93, 163, 255, 0.04) 34%, rgba(93, 163, 255, 0) 62%),
            linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    }

    .cleaner-card::before {
        background:
            linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 28%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 100%);
    }

    .cleaner-card-main {
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 12px;
    }

    .cleaner-avatar-shell {
        width: 60px;
        height: 60px;
        padding: 6px;
        border-radius: 16px;
    }

    .cleaner-avatar {
        border-radius: 12px;
        font-size: 20px;
    }

    .cleaner-name {
        font-size: 15px;
    }

    .cleaner-rating-pill,
    .cleaner-review-pill {
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }

    .cleaner-location {
        font-size: 12px;
    }

    .cleaner-workplace {
        padding: 10px 12px;
        border-radius: 16px;
    }

    .cleaner-workplace-main {
        font-size: 13px;
    }

    .cleaner-workplace-note {
        font-size: 11px;
    }

    .cleaner-services {
        padding: 11px 12px 12px;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 248, 255, 0.96) 100%);
        border: 1px solid rgba(205, 223, 242, 0.95);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
    }

    .cleaner-services-pills {
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 1px 2px 4px;
        margin: 0 -2px -4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(116, 145, 177, 0.48) transparent;
    }

    .cleaner-services-pills::-webkit-scrollbar {
        height: 6px;
    }

    .cleaner-services-pills::-webkit-scrollbar-track {
        background: transparent;
    }

    .cleaner-services-pills::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(116, 145, 177, 0.48);
    }

    .cleaner-service-chip {
        min-height: 31px;
        padding: 6px 10px;
        font-size: 11px;
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .cleaner-description-block {
        padding: 10px 12px;
        gap: 8px;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(237, 245, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
        border-color: rgba(201, 220, 241, 0.96);
    }

    .cleaner-description-copy {
        gap: 3px;
    }

    .cleaner-description {
        font-size: 12px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .cleaner-more-link {
        min-height: 30px;
        padding: 0 12px;
        align-self: flex-start;
        margin-left: 0;
        border-radius: 12px;
        background: linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
        border-color: #bfd6f3;
        color: #1458c8;
        font-size: 11px;
        letter-spacing: 0.02em;
    }

    .cleaner-more-link::after {
        content: "›";
        font-size: 14px;
        line-height: 1;
        margin-left: 6px;
    }

    .cleaner-more-link:hover {
        background: linear-gradient(180deg, #ffffff 0%, #e8f2ff 100%);
    }

    .cleaner-meta {
        grid-template-columns: 1fr;
    }

    .cleaner-price {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .cleaner-price-value {
        font-size: 17px;
    }

    .cleaner-details-link,
    .cleaner-order-btn,
    .cleaner-self-badge {
        width: 100%;
    }

    .cleaner-meta .cleaner-self-badge {
        min-height: 42px;
        padding: 0 16px;
        border-radius: 16px;
        justify-content: center;
        background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
        border-color: #c9dbef;
        color: #294865;
        font-size: 13px;
        font-weight: 800;
    }

    .cleaner-detail-page {
        padding: 14px 12px 26px;
    }

    .cleaner-detail-summary,
    .cleaner-detail-panel {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .cleaner-detail-identity {
        gap: 12px;
    }

    .cleaner-detail-avatar-shell {
        width: 78px;
        height: 78px;
        padding: 8px;
        border-radius: 24px;
    }

    .cleaner-detail-avatar {
        border-radius: 18px;
        font-size: 24px;
    }

    .cleaner-detail-title {
        font-size: 24px;
    }

    .cleaner-detail-panel-title {
        font-size: 20px;
    }

    .cleaner-detail-panel-topline {
        flex-direction: column;
        align-items: stretch;
    }

    .cleaner-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cleaner-detail-action {
        width: 100%;
    }

    .cleaner-detail-inline-action {
        width: 100%;
    }

    .cleaner-detail-description {
        font-size: 14px;
    }

    .cleaner-detail-service-card,
    .cleaner-detail-cemetery-link {
        padding: 12px;
        border-radius: 14px;
        grid-template-columns: 30px minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 62px;
    }

    .cleaner-detail-cemetery-icon {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 13px;
    }

    .cleaner-detail-drawer {
        width: 100vw;
    }

    .cleaner-detail-drawer-header,
    .cleaner-detail-drawer-body,
    .cleaner-detail-drawer-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.cleaner-order-section {
    border-top: 1px solid #e5e7eb;
    background: #f3f4f6;
    padding: 18px 20px 24px;
}

.cleaner-order-inner {
    max-width: var(--cleaners-page-max-width);
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 16px 18px 18px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.cleaner-order-header {
    margin-bottom: 12px;
}

.cleaner-order-title {
    margin: 0 0 4px;
    font-size: 18px;
    color: #111827;
}

.cleaner-order-subtitle {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.cleaner-order-selected {
    border-radius: 12px;
    background: #eff6ff;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #e0e7ff;
}

.cleaner-order-selected-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4f46e5;
    margin-bottom: 2px;
}

.cleaner-order-selected-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.cleaner-order-selected-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    color: #4b5563;
}

.cleaner-order-selected-services {
    padding-right: 8px;
    border-right: 1px solid #d1d5db;
}

.cleaner-order-selected-price {
    padding-left: 4px;
    font-weight: 500;
}

.cleaner-order-form {
    margin-top: 8px;
}

.cleaner-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.cleaner-order-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

.cleaner-order-field-full {
    margin-top: 10px;
}

/* Custom checkboxes for services selection */
#services-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cleaner-service-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    color: #111827;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cleaner-service-checkbox:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.cleaner-service-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cleaner-service-checkbox-box {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
}

.cleaner-service-checkbox input:checked + .cleaner-service-checkbox-box {
    background: #2563eb;
    border-color: #2563eb;
}

.cleaner-service-checkbox input:checked + .cleaner-service-checkbox-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cleaner-service-checkbox input:focus-visible + .cleaner-service-checkbox-box {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .18);
}

.cleaner-service-checkbox-label {
    user-select: none;
}

/* Approximate price display */
.approximate-price-display {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 15px;
    color: #1e40af;
}

.approximate-price-display strong {
    font-weight: 600;
}
.cleaner-order-field-full.but {
    margin-top: 0px;
}

@media (min-width: 900px) {
    .cleaner-order-grid {
        grid-template-columns: 1.3fr 1.3fr 1fr 1fr;
    }
    /* 1: імʼя, 2: телефон — по 2 колонки */
    .cleaner-order-grid .cleaner-order-field:nth-child(1),
    .cleaner-order-grid .cleaner-order-field:nth-child(2) {
        grid-column: span 2;
    }
    /* 3: кладовище — в ряду с кварталом, рядом і місцем */
    .cleaner-order-grid .cleaner-order-field:nth-child(3) {
        grid-column: span 1;
    }
    /* 4–6: квартал, ряд, місце — в один ряд */
    .cleaner-order-grid .cleaner-order-field:nth-child(4),
    .cleaner-order-grid .cleaner-order-field:nth-child(5),
    .cleaner-order-grid .cleaner-order-field:nth-child(6) {
        grid-column: span 1;
    }
    /* 7: дата — вся строка */
    .cleaner-order-grid .cleaner-order-field:nth-child(7) {
        grid-column: span 4;
    }
}

.cleaner-order-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.cleaner-input,
.cleaner-textarea {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
    background: #f9fafb;
    color: #111827;
    resize: none;
    appearance: none;
    -webkit-appearance: none;
}

/* Hide number spinners for quarter/row/place */
#order-quarter,
#order-row,
#order-place {
    -moz-appearance: textfield;
}

#order-quarter::-webkit-outer-spin-button,
#order-quarter::-webkit-inner-spin-button,
#order-row::-webkit-outer-spin-button,
#order-row::-webkit-inner-spin-button,
#order-place::-webkit-outer-spin-button,
#order-place::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Фокус в стиле основных инпутов сайта */
.cleaner-input:focus,
.cleaner-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, .18);
    outline: none;
    background: #ffffff;
}

/* Фокус для кастомных селектов (фильтры + выбор кладовища) */
.custom-select-wrapper .custom-select-trigger:focus,
.custom-select-wrapper .custom-select-trigger:focus-visible {
    outline: none;
    box-shadow: none;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, .18);
    outline: none;
}

.cleaner-input:disabled,
.cleaner-textarea:disabled {
    opacity: 0.8;
    cursor: default;
}

.cleaner-textarea::placeholder,
.cleaner-input::placeholder {
    color: #9ca3af;
}

.cleaner-order-footer {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.cleaner-order-hint {
    font-size: 12px;
    color: #6b7280;
    max-width: 520px;
}

.cleaner-order-submit {
    border-radius: 999px;
    border: none;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.cleaner-order-submit:hover {
    background: #0b1220;
    transform: translateY(-1px);
}

.cleaner-order-submit:active {
    transform: translateY(0);
}

.cleaner-order-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success modal (order) */
.order-success-modal {
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10020;
    padding: 20px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(12px);
}

.order-success-modal-card {
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    position: relative;
    width: min(94vw, 620px);
    max-height: min(88vh, 760px);
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    animation: order-details-modal-in 0.24s ease;
}

.order-success-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    background: #ffffff;
}

.order-success-modal-titlebox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.order-success-modal-heading {
    min-width: 0;
}

.order-success-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.order-success-checkmark-svg {
    display: block;
    width: 22px;
    height: 22px;
}

.order-success-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #46566c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-success-modal-close:hover {
    color: #102033;
}

.order-success-modal-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    color: #102033;
}

.order-success-modal-subtitle {
    margin: 4px 0 0;
    color: #68758a;
    font-size: 13px;
    line-height: 1.45;
}

.order-success-modal-body {
    padding: 16px 20px 18px;
    display: grid;
    gap: 12px;
    overflow: auto;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
}

.order-success-modal-note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(20, 99, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(20, 99, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.order-success-modal-note-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.order-success-modal-note-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #13283e;
}

.order-success-modal-note-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4f5e73;
}

.order-success-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    background: linear-gradient(180deg, rgba(245, 248, 252, 0.12) 0%, #f5f8fc 100%);
}

.order-success-modal-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(21, 87, 214, 0.2);
    transition: transform 0.1s ease, background 0.2s ease;
}

.order-success-modal-primary:hover {
    background: linear-gradient(180deg, #347eff 0%, #1a61e2 100%);
    transform: translateY(-1px);
}

.order-success-modal-secondary {
    height: 40px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.88);
    color: #13283e;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1;
    transition: transform 0.1s ease, background 0.2s ease, border-color 0.2s ease;
}

.order-success-modal-secondary:hover {
    background: #ffffff;
    border-color: rgba(20, 99, 255, 0.16);
    transform: translateY(-1px);
}

.cleaner-order-section--active .cleaner-order-selected {
    border-color: #6366f1;
    background: #eef2ff;
}

@media (max-width: 900px) {
    .cleaners-flow {
        padding: 14px 16px 0;
    }

    .cleaners-flow-inner {
        padding: 18px 18px 20px;
    }

    .cleaners-flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cleaners-flow-step::after {
        display: none;
    }

    .cleaners-hero {
        min-height: 250px;
        padding: 24px 16px 18px;
    }

    .cleaners-hero::before {
        background-position: 58% center;
    }

    .cleaners-hero-inner {
        gap: 20px;
    }

    .cleaners-title {
        font-size: 26px;
    }

    .cleaners-filters {
        padding: 14px 16px 16px;
    }

    .cleaners-test-note {
        padding: 10px 16px 0;
    }

    .cleaners-filters-form {
        padding: 0;
    }

    .cleaners-filters-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cleaners-filter-submit {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .cleaners-filters-card {
        padding: 18px 18px 20px;
    }

    .cleaner-card {
        padding: 12px 12px;
    }

    .cleaner-card-right {
        grid-template-columns: 1fr;
    }

    .cleaner-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: start;
    }

    .cleaner-price {
        grid-column: 1 / -1;
    }

    .cleaner-order-inner {
        padding: 14px 12px 14px;
    }

    .cleaner-order-grid {
        grid-template-columns: 1fr;
    }

    .cleaner-order-footer {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .cleaners-flow {
        padding: 12px 14px 0;
    }

    .cleaners-flow-inner {
        padding: 16px;
        border-radius: 18px;
    }

    .cleaners-flow-title {
        font-size: 21px;
    }

    .cleaners-flow-head {
        display: none;
    }

    .cleaners-flow-steps--desktop {
        display: none;
    }

    .cleaners-flow-accordion {
        display: block;
    }

    .cleaners-flow-accordion-summary {
        padding: 14px 15px;
        gap: 10px;
    }

    .cleaners-flow-accordion-title {
        font-size: 15px;
    }

    .cleaners-flow-accordion-body {
        padding-top: 12px;
    }

    .cleaners-flow-accordion-body .cleaners-flow-subtitle {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .cleaners-flow-accordion-steps .cleaners-flow-step {
        min-height: 0;
    }

    .cleaners-flow-accordion-steps .cleaners-flow-step::after {
        display: none;
    }

    .cleaners-hero {
        min-height: 228px;
        padding: 22px 14px 16px;
    }

    .cleaners-hero::before {
        background-position: 62% center;
    }

    .cleaners-hero-text {
        min-width: 0;
    }

    .cleaners-hero-highlight {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
    }

    .cleaners-filters {
        padding: 10px 14px 14px;
    }

    .cleaners-mobile-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(215, 227, 241, 0.94);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(10px);
    }

    .cleaners-mobile-toolbar.is-stuck {
        position: fixed;
        top: 72px;
        left: 50%;
        width: min(calc(100% - 28px), var(--cleaners-page-max-width));
        transform: translateX(-50%);
        z-index: 3500;
        margin-bottom: 0;
        animation: cleaner-toolbar-sticky-in 0.24s ease;
    }

    html.menu-mobile-header-hidden .cleaners-mobile-toolbar.is-stuck {
        top: calc(env(safe-area-inset-top, 0px) + 10px);
    }

    .cleaners-mobile-toolbar-btn {
        min-height: 46px;
        padding: 10px 14px;
        border-radius: 14px;
        border: 1px solid #d7e3f1;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        color: #13283e;
        font: inherit;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .cleaners-mobile-toolbar-btn.is-active {
        border-color: rgba(20, 99, 255, 0.28);
        background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
        color: #1557d6;
        box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.08);
    }

    .cleaners-filters-card {
        display: none;
    }

    .cleaners-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cleaners-list-header-btns {
        width: 100%;
        flex-wrap: nowrap!important;
    }

    .cleaners-list-empty {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .cleaners-list-empty-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .cleaners-list-empty-copy strong {
        font-size: 16px;
    }

    .cleaners-list-empty-copy p {
        font-size: 13px;
    }

    .btn-my-orders,
    .btn-my-cabinet,
    .btn-become-cleaner {
        min-height: 44px;
        padding: 12px 18px;
    }

    .btn-my-orders {
        width: 100%;
        flex: 1 1 100%;
    }

    .cleaner-order-section {
        padding: 14px 12px 20px;
    }

    .become-cleaner-modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .become-cleaner-modal {
        max-height: calc(90vh - env(safe-area-inset-bottom, 0));
        margin: 0;
    }
}

@media (max-width: 600px) {
    .cleaners-list-header-left {
        flex: 0;
        min-width: 200px;
    }

    .cleaners-list-section {
        padding: 0 14px 10px;
        margin: 16px auto 24px;
    }

    .cleaners-list-title {
        font-size: 18px;
    }

    .cleaners-filters {
        padding: 8px 12px 8px;
    }

    .cleaners-test-note {
        padding: 8px 12px 0;
    }

    .cleaners-mobile-toolbar {
        gap: 8px;
        padding: 8px;
        border-radius: 18px;
    }

    .cleaners-mobile-toolbar.is-stuck {
        top: 65px;
        width: calc(100% - 24px);
    }

    .cleaners-mobile-toolbar-btn {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .cleaners-hero {
        padding: 20px 12px 14px;
    }

    .cleaners-title {
        font-size: 22px;
    }

    .cleaners-subtitle {
        font-size: 13px;
    }

    .cleaners-hero-highlight {
        max-width: 100%;
        padding: 12px 14px;
    }

    .cleaners-hero-stat-value {
        font-size: 12px;
    }

    .cleaner-card {
        padding: 12px 10px;
        border-radius: 16px;
    }

    .cleaner-card-left {
        min-width: 0;
        flex-basis: 100%;
    }

    .cleaner-avatar-shell {
        width: 60px;
        height: 60px;
        padding: 6px;
        border-radius: 20px;
    }

    .cleaner-avatar {
        border-radius: 15px;
        font-size: 20px;
    }

    .cleaner-order-btn {
        width: 100%;
        min-height: 44px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .cleaner-self-badge {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .cleaner-order-inner {
        padding: 12px 10px 14px;
        border-radius: 12px;
    }

    .cleaner-order-title {
        font-size: 16px;
    }

    .cleaner-order-subtitle {
        font-size: 12px;
    }

    .cleaner-order-submit {
        width: 100%;
        min-height: 48px;
        padding: 14px 18px;
        font-size: 15px;
    }

    .cleaner-order-selected-meta {
        flex-direction: column;
    }

    .cleaner-order-selected-services {
        border-right: none;
        padding-right: 0;
    }

    .cleaner-input,
    .cleaner-textarea,
    .phone-input {
        padding: 10px 12px;
        font-size: 16px;
    }

    .cleaner-textarea {
        min-height: 100px;
    }

    .custom-select-wrapper .custom-select-trigger {
        padding: 10px 12px;
        font-size: 16px;
        display: flex;
        align-items: center;
    }

    .custom-select-wrapper .custom-options {
        max-height: min(60vh, 280px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .custom-options .custom-option {
        padding: 10px 12px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    #services-checkboxes {
        flex-direction: column;
    }

    .cleaner-service-checkbox {
        padding: 10px 12px;
    }

    .order-success-modal {
        padding: 0;
        align-items: flex-end;
        background: rgba(15, 23, 42, 0.3);
    }

    .order-success-modal-card {
        width: 100%;
        max-height: min(90vh, 760px);
        border-radius: 28px 28px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
        animation: order-details-sheet-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .order-success-modal-card::before {
        content: "";
        width: 42px;
        height: 5px;
        position: absolute;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: rgba(117, 130, 150, 0.34);
        z-index: 2;
    }

    .order-success-modal-header,
    .order-success-modal-body,
    .order-success-modal-actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .order-success-modal-header {
        padding-top: 24px;
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(14px);
    }

    .order-success-modal-icon,
    .order-success-modal-close {
        width: 40px;
        height: 40px;
    }

    .order-success-modal-title {
        font-size: 16px;
    }

    .order-success-modal-subtitle {
        font-size: 12px;
    }

    .order-success-modal-body {
        padding-bottom: 18px;
    }

    .order-success-modal-note {
        grid-template-columns: 1fr;
    }

    .order-success-modal-actions {
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
    }

    .order-success-modal-actions {
        flex-direction: column;
    }

    .order-success-modal-primary,
    .order-success-modal-secondary {
        width: 100%;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .become-cleaner-modal-footer {
        flex-direction: column;
    }

    .btn-become-cleaner-go,
    .btn-become-cleaner-decline {
        width: 100%;
        min-height: 42px;
        justify-content: center;
        box-sizing: border-box;
    }

    .become-cleaner-modal {
        width: 100%;
        max-height: min(90vh, 760px);
        border-radius: 28px 28px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
        animation: order-details-sheet-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .become-cleaner-modal::before {
        content: "";
        width: 42px;
        height: 5px;
        position: absolute;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: rgba(117, 130, 150, 0.34);
        z-index: 2;
    }

    .become-cleaner-modal-header,
    .become-cleaner-modal-body,
    .become-cleaner-modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .become-cleaner-modal-header {
        padding-top: 24px;
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(14px);
    }

    .become-cleaner-modal-icon,
    .become-cleaner-modal-close {
        width: 40px;
        height: 40px;
    }

    .become-cleaner-modal-title {
        font-size: 16px;
    }

    .become-cleaner-modal-subtitle {
        font-size: 12px;
    }

    .become-cleaner-modal-note {
        grid-template-columns: 1fr;
    }

    .become-cleaner-modal-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
    }
}

@media (max-width: 480px) {
    .cleaners-hero {
        min-height: 210px;
        padding: 18px 10px 12px;
    }

    .cleaners-hero::before {
        background-position: 68% center;
    }

    .cleaners-title {
        font-size: 20px;
    }

    .cleaners-badge {
        font-size: 11px;
        padding: 6px 10px;
    }

    .cleaners-test-note-inner {
        padding: 12px 14px;
        font-size: 13px;
    }

    .cleaners-filters-title {
        font-size: 16px;
    }

    .cleaners-list-title {
        font-size: 17px;
    }

    .cleaner-name {
        font-size: 15px;
    }

    .cleaner-card-right {
        flex-basis: 100%;
    }

    .cleaner-card {
        border-radius: 18px;
        border-color: #bfd5ec;
        background:
            radial-gradient(140% 140% at 0% 0%, rgba(93, 163, 255, 0.18) 0%, rgba(93, 163, 255, 0.05) 34%, rgba(93, 163, 255, 0) 64%),
            linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
    }

    .cleaner-services-pills {
        gap: 7px;
    }

    .cleaner-service-chip {
        font-size: 11px;
    }

    .cleaner-more-link,
    .cleaner-meta .cleaner-self-badge {
        min-height: 40px;
    }

    .cleaner-order-selected-name {
        font-size: 13px;
    }

    .order-modal-item {
        padding: 12px;
    }

    .order-modal-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .cleaners-hero-inner {
        gap: 14px;
    }

    .cleaners-title {
        font-size: 18px;
    }

    .cleaners-list-header-btns {
        flex-direction: column;
    }

    .btn-my-orders,
    .btn-my-cabinet,
    .btn-become-cleaner {
        width: 100%;
        justify-content: center;
    }
}

/* Кабінет прибиральника */
/* Toast сообщения в кабинете прибиральника (success/error) */
.cleaner-profile-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    animation: cleaner-toast-in 0.3s ease-out;
    max-width: min(420px, calc(100vw - 32px));
}
.cleaner-profile-toast--success {
    background: #e6ffed;
    border: 1px solid #28a745;
    color: #155724;
}
.cleaner-profile-toast--error {
    background: #ffe6e6;
    border: 1px solid #dc3545;
    color: #721c24;
}
@keyframes cleaner-toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cleaner-cabinet {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Фокус инпутов - единый стиль */
.cleaner-cabinet .form-group input:focus,
.cleaner-cabinet .form-group select:focus,
.cleaner-cabinet .form-group textarea:focus,
.cleaner-cabinet .custom-select-wrapper:focus-within,
.cleaner-cabinet .custom-select-wrapper:focus-within .custom-select-trigger,
.cleaner-cabinet .custom-select-wrapper.open .custom-select-trigger,
.cleaner-cabinet .phone-input-wrapper:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, .18) !important;
    outline: 2px solid transparent !important;
    background: #ffffff !important;
}

.cleaner-cabinet-header {
    margin-bottom: 24px;
}

.cleaner-cabinet-header--hero {
    display: block;
    padding: 24px 28px;
    border: 1px solid #d7e4f1;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 18px 44px rgba(17, 54, 88, 0.08);
    color: #0f2a46;
}

.cleaner-cabinet-header__copy {
    max-width: 760px;
}

.cleaner-cabinet-header h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.14;
    font-weight: 800;
    color: #0f2a46;
}

.cleaner-cabinet-header p {
    margin: 10px 0 0;
    max-width: 720px;
    color: #5d7188;
    font-size: 14px;
    line-height: 1.6;
}

/* Табы */
.cleaner-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    padding: 6px;
    border: 1px solid #d7e4f1;
    border-radius: 16px;
    background: #f3f8fd;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cleaner-tab-btn {
    min-height: 42px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #5a6d82;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cleaner-tab-btn:hover {
    color: #1d4ed8;
    border-color: #c2d6ea;
    background: #f8fbff;
}

.cleaner-tab-btn.active {
    color: #0f2a46;
    border-color: #d4e4f3;
    background: #ffffff;
    box-shadow: 0 8px 14px rgba(15, 42, 70, 0.08);
}

.cleaner-tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Під-таби та фільтр по даті в "Мої замовлення" */
.cleaner-orders-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #d9e5f1;
    border-radius: 20px;
    background: linear-gradient(180deg, #fdfefe 0%, #f4f8fd 100%);
    box-shadow: 0 12px 26px rgba(15, 42, 70, 0.06);
}

.cleaner-orders-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.cleaner-orders-subtab-btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    color: #5f7287;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #d7e1eb;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 42, 70, 0.04);
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.16s ease, box-shadow 0.16s ease;
}

.cleaner-orders-subtab-btn:hover {
    color: #1756d0;
    background: #eef4ff;
    border-color: #bed3ff;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(20, 99, 255, 0.1);
}

.cleaner-orders-subtab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #1463ff 0%, #0f54de 100%);
    border-color: rgba(20, 99, 255, 0.28);
    box-shadow: 0 12px 24px rgba(20, 99, 255, 0.2);
}

.cleaner-orders-date-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cleaner-orders-date-filter-label {
    font-size: 13px;
    color: #6c7f93;
    margin: 0;
    font-weight: 700;
}

/* Кастомний селект сортування зі стрілкою */
.cleaner-orders-sort-wrapper {
    min-width: 140px;
}

.cleaner-orders-sort-wrapper .custom-select-trigger {
    min-height: 40px;
    padding: 9px 34px 9px 14px;
    font-size: 13px;
    color: #111827;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #d5dde6;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
    min-width: 140px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 4px 10px rgba(15, 42, 70, 0.04);
}

.cleaner-orders-sort-wrapper .custom-select-trigger:hover {
    border-color: #9fb1c5;
}

.cleaner-orders-sort-wrapper.open .custom-select-trigger {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Стрілка вниз */
.cleaner-orders-sort-wrapper .custom-select-trigger::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #6b7c93;
    border-bottom: 2px solid #6b7c93;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.cleaner-orders-sort-wrapper.open .custom-select-trigger::after {
    border-color: #2563eb;
    transform: translateY(-35%) rotate(-135deg);
}

.cleaner-orders-sort-wrapper .custom-options {
    min-width: 100%;
    max-height: 200px;
}

.cleaner-orders-no-results {
    text-align: center;
    padding: 32px 20px;
    color: #6b7280;
    font-size: 14px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cleaner-orders-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .cleaner-orders-subtabs {
        order: 1;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        margin: 0 -2px;
        scrollbar-width: thin;
        scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
        -webkit-overflow-scrolling: touch;
    }

    .cleaner-orders-date-filter {
        order: 2;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .cleaner-orders-subtabs::-webkit-scrollbar {
        height: 6px;
    }

    .cleaner-orders-subtabs::-webkit-scrollbar-track {
        background: transparent;
    }

    .cleaner-orders-subtabs::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.45);
        border-radius: 999px;
    }

    .cleaner-orders-subtab-btn {
        flex: 0 0 auto;
        min-width: max-content;
    }

    .cleaner-orders-subtab-btn:hover,
    .cleaner-orders-subtab-btn:active {
        transform: none;
        box-shadow: 0 4px 10px rgba(15, 42, 70, 0.04);
    }

    .cleaner-orders-subtab-btn:not(.active):hover,
    .cleaner-orders-subtab-btn:not(.active):active {
        color: #5f7287;
        background: rgba(255, 255, 255, 0.88);
        border-color: #d7e1eb;
    }

    .cleaner-orders-subtab-btn.active:hover,
    .cleaner-orders-subtab-btn.active:active {
        color: #ffffff;
        background: linear-gradient(135deg, #1463ff 0%, #0f54de 100%);
        border-color: rgba(20, 99, 255, 0.28);
        box-shadow: 0 12px 24px rgba(20, 99, 255, 0.2);
    }
}

@media (max-width: 480px) {
    .cleaner-orders-subtab-btn {
        padding: 0 14px;
        font-size: 12px;
    }

    .cleaner-orders-date-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .cleaner-orders-sort-wrapper,
    .cleaner-orders-sort-wrapper .custom-select-trigger {
        min-width: 100%;
    }
}


.cleaner-section {
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fdfefe 0%, #f5f9fd 100%);
    border: 1px solid #d8e4f0;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 14px 30px rgba(15, 42, 70, 0.08);
}

.cleaner-section h2 {
    font-size: 20px;
    margin: 0 0 20px;
    color: #1a1a1a;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.cleaner-section-submit {
    padding: 0;
    overflow: hidden;
    border-color: rgba(20, 87, 212, 0.16);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 34%),
        linear-gradient(135deg, #f7fbff 0%, #eef5ff 52%, #f9fbff 100%);
}

.cleaner-submit-card {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cleaner-submit-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.cleaner-submit-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1457d4;
}

.cleaner-submit-copy strong {
    font-size: 18px;
    line-height: 1.24;
    color: #18283d;
}

.cleaner-submit-copy p {
    margin: 0;
    max-width: 560px;
    color: #5e718a;
    font-size: 13px;
    line-height: 1.5;
}

.cleaner-section-submit .btn-save,
.cleaner-submit-btn {
    min-width: 220px;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1663ff 0%, #0f54de 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(15, 84, 222, 0.22);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    flex-shrink: 0;
}

.cleaner-section-submit .btn-save:hover,
.cleaner-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(15, 84, 222, 0.24);
    filter: saturate(1.05);
}

.cleaner-submit-btn__icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cleaner-submit-btn__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.cleaner-location-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cleaner-location-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* Textarea scrollbar - cleaner cabinet (white/light) */
.cleaner-cabinet .form-group textarea::-webkit-scrollbar {
    width: 8px;
}

.cleaner-cabinet .form-group textarea::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.cleaner-cabinet .form-group textarea::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 4px;
}

.cleaner-cabinet .form-group textarea::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}

.cleaner-cabinet .form-group textarea {
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb #fff;
}

/* Секція "Мої послуги" — заголовок і кнопка в один ряд */
.cleaner-section-services-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.cleaner-section-services .cleaner-section-services-header h2 {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Кнопка "Додати послугу" — той самий стиль, що й "Додати кладовище" */
.cleaner-section-services-header .btn-add-service {
    margin-top: 0;
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s ease;
    white-space: nowrap;
}

.cleaner-section-services-header .btn-add-service:hover {
    background: #0b1220;
    transform: translateY(-1px);
}

.service-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.service-item input[type="text"] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-item input[type="text"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, .18);
    outline: 2px solid transparent;
    background: #ffffff;
}

.service-item input[type="text"]:first-child {
    flex: 1.5;
}

.service-item .service-price-type-wrapper {
    flex: 0 0 90px;
    min-width: 80px;
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

.service-item .service-price-type-wrapper .custom-select-trigger {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    height: 43px;
    min-height: 43px;
    box-sizing: border-box;
    font-size: 14px;
    width: 100%;
}

.service-price-amount-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 140px;
    min-width: 120px;
}

.service-item .service-price-amount {
    flex: 1;
    min-width: 60px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    height: 43px;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.service-item .service-price-amount::-webkit-outer-spin-button,
.service-item .service-price-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.service-item .service-price-amount:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, .18);
    outline: 2px solid transparent;
    background: #ffffff;
}

.service-price-grn {
    font-size: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

.checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    color: #111827;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563eb;
    margin-top: 2px;
}

.checkbox-label:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* Cleaner cemeteries checkbox - custom style */
.cleaner-cemeteries-checkbox {
    align-items: center;
    padding: 10px 14px;
    position: relative;
    overflow: hidden;
}

.cleaner-cemeteries-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    clip-path: inset(0);
}

.cleaner-cemeteries-checkbox .cleaner-checkbox-box {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #9ca3af;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s ease;
    overflow: hidden;
}

.cleaner-cemeteries-checkbox input:checked + .cleaner-checkbox-box {
    background: #2563eb;
    border-color: #2563eb;
}

.cleaner-cemeteries-checkbox input:checked + .cleaner-checkbox-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cleaner-cemeteries-checkbox input:focus-visible + .cleaner-checkbox-box {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .18);
}

.cleaner-cemeteries-checkbox .cleaner-checkbox-text {
    flex: 1;
    line-height: 1.4;
}

.btn-add-service,
.btn-remove-service {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

/* Кнопка "Додати послугу" внизу списку (якщо виводиться дубль) — у стилі як "Додати кладовище" */
.btn-add-service {
    padding: 10px 16px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin-top: 12px;
}

.btn-add-service:hover {
    background: #0b1220;
    transform: translateY(-1px);
}

.btn-remove-service {
    background: #dc2626;
    color: white;
    padding: 0 16px;
    height: 43px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-service:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

body.cleaner-service-modal-open {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overscroll-behavior: none;
}

body.order-details-modal-open {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overscroll-behavior: none;
}

.cleaner-services-card {
    border: 1px solid #dbe5f0;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.cleaner-services-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.cleaner-services-card-copy {
    display: grid;
    gap: 8px;
}

.cleaner-services-card-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.cleaner-services-card-copy p {
    margin: 0;
    max-width: 700px;
    color: #5f6f85;
    font-size: 14px;
    line-height: 1.55;
}

.cleaner-services-card-count {
    flex-shrink: 0;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #1457d4;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.cleaner-services-table-wrap {
    position: relative;
    padding: 14px 16px 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    overflow: hidden;
}

.cleaner-services-table-wrap.is-empty .cleaner-services-table {
    display: none;
}

.cleaner-services-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.cleaner-services-table thead th {
    padding: 14px 16px;
    background: #f8fbff;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #607086;
}

.cleaner-services-table tbody tr + tr td {
    border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.cleaner-services-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

.cleaner-services-table-actions-head,
.cleaner-services-actions-cell {
    width: 1%;
    white-space: nowrap;
}

.cleaner-service-name-cell {
    display: grid;
    gap: 4px;
}

.cleaner-service-name-cell strong {
    font-size: 15px;
    line-height: 1.35;
    color: #18283d;
}

.cleaner-service-name-cell span {
    color: #708098;
    font-size: 13px;
    line-height: 1.45;
}

.cleaner-service-price-type {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cleaner-service-price-type.is-exact {
    background: #ecfdf3;
    color: #157347;
}

.cleaner-service-price-type.is-from {
    background: #edf4ff;
    color: #1457d4;
}

.cleaner-service-price-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.cleaner-services-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.cleaner-service-action,
.cleaner-services-actions .cleaner-service-action {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    gap: 8px;
    white-space: nowrap;
    box-sizing: border-box;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
}

.cleaner-service-action__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cleaner-service-action__icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.cleaner-service-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.cleaner-service-action--edit {
    color: #1457d4;
    border-color: rgba(20, 87, 212, 0.14);
    background: #f7fbff;
}

.cleaner-service-action--delete {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.14);
    background: #fff8f7;
}

.cleaner-services-empty {
    min-height: 260px;
    padding: 28px 20px;
    border: 1px dashed rgba(20, 87, 212, 0.18);
    border-radius: 20px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 10px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    color: #62748a;
}

.cleaner-services-empty[hidden] {
    display: none !important;
}

.cleaner-services-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.cleaner-services-empty strong {
    font-size: 18px;
    line-height: 1.25;
    color: #20324d;
}

.cleaner-services-empty p {
    margin: 0;
    max-width: 420px;
    font-size: 14px;
    line-height: 1.6;
}

.cleaner-service-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 7100;
}

.cleaner-service-modal.show {
    display: flex;
}

.cleaner-service-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 15, 28, 0.54);
    backdrop-filter: blur(6px);
}

.cleaner-service-modal__content {
    position: relative;
    z-index: 1;
    width: min(92vw, 680px);
    max-height: min(90vh, 760px);
    border-radius: 28px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: #ffffff;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
    box-sizing: border-box;
}

.cleaner-service-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    background: #fff;
    box-sizing: border-box;
}

.cleaner-service-modal__title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.cleaner-service-modal__icon,
.cleaner-service-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cleaner-service-modal__icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.cleaner-service-modal__title-copy h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
}

.cleaner-service-modal__title-copy p {
    margin: 4px 0 0;
    color: #66778e;
    font-size: 13px;
    line-height: 1.45;
}

.cleaner-service-modal__close {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    color: #46566c;
    cursor: pointer;
}

.cleaner-service-modal__body {
    padding: 16px 20px;
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
    overflow: hidden;
    box-sizing: border-box;
}

.cleaner-service-modal__field {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.cleaner-service-modal__select-native {
    display: none !important;
}

.cleaner-service-modal__presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cleaner-service-preset {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #42546b;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    text-align: center;
}

.cleaner-service-preset:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 99, 255, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.cleaner-service-preset.is-active {
    background: linear-gradient(135deg, #1663ff 0%, #0f54de 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 84, 222, 0.22);
}

.cleaner-service-preset--custom {
    background: #f7f9fc;
    color: #24364f;
}

.cleaner-service-modal__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5f6d82;
}

.cleaner-service-modal__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.cleaner-service-modal__input,
.cleaner-service-modal__select {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: #ffffff;
    font: inherit;
    color: #1f2937;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-sizing: border-box;
    min-width: 0;
}

.cleaner-service-modal__select-wrap {
    width: 100%;
    min-width: 0;
}

.cleaner-service-modal__select-wrap .custom-select-trigger {
    min-height: 50px;
    padding: 0 42px 0 15px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    display: flex;
    align-items: center;
    background: #ffffff;
    font: inherit;
    color: #1f2937;
    box-sizing: border-box;
    position: relative;
}

.cleaner-service-modal__select-wrap .custom-select-trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #6b7c93;
    border-bottom: 2px solid #6b7c93;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.cleaner-service-modal__select-wrap:focus-within .custom-select-trigger,
.cleaner-service-modal__select-wrap.open .custom-select-trigger {
    border-color: rgba(20, 99, 255, 0.28);
    box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.12);
}

.cleaner-service-modal__select-wrap.open .custom-select-trigger::after {
    border-color: #1663ff;
    transform: translateY(-35%) rotate(-135deg);
}

.cleaner-service-modal__select-wrap .custom-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    max-height: min(36vh, 240px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 30;
}

.cleaner-service-modal__select-wrap.open {
    z-index: 31;
}

.cleaner-service-modal__select-wrap .custom-option {
    padding: 12px 14px;
    font-size: 14px;
}

.cleaner-service-modal__input:focus,
.cleaner-service-modal__input:focus-visible,
.cleaner-service-modal__select:focus,
.cleaner-service-modal__select:focus-visible {
    outline: none;
    background: #fff;
    border-color: rgba(20, 99, 255, 0.28);
    box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.12);
}

.cleaner-service-modal__price {
    min-height: 50px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.cleaner-service-modal__price:focus-within {
    border-color: rgba(20, 99, 255, 0.28);
    box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.12);
}

.cleaner-service-modal__price .cleaner-service-modal__input {
    min-height: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.cleaner-service-modal__price .cleaner-service-modal__input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.cleaner-service-modal__price .cleaner-service-modal__input[type="number"]::-webkit-outer-spin-button,
.cleaner-service-modal__price .cleaner-service-modal__input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cleaner-service-modal__price span {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
}

.cleaner-service-modal__summary {
    min-height: 0;
    padding: 14px 16px;
    border: 1px solid rgba(20, 99, 255, 0.12);
    border-radius: 18px;
    display: grid;
    gap: 4px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
    color: #516179;
    line-height: 1.55;
    box-sizing: border-box;
}

.cleaner-service-modal__summary strong {
    color: #20324d;
    font-size: 15px;
    line-height: 1.35;
}

.cleaner-service-modal__summary span {
    font-size: 13px;
}

.cleaner-service-modal__error {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(220, 38, 38, 0.16);
    background: #fff5f5;
    color: #b42318;
    font-size: 13px;
    line-height: 1.5;
}

.cleaner-service-modal__error[hidden] {
    display: none !important;
}

.cleaner-service-modal__footer {
    padding: 12px 20px 18px;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    background: #fff;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    box-sizing: border-box;
}

.cleaner-service-modal__cancel,
.cleaner-service-modal__confirm {
    flex: 0 0 auto;
    min-height: 44px;
    min-width: 180px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cleaner-service-modal__cancel {
    background: #edf2f7;
    color: #314055;
}

.cleaner-service-modal__confirm {
    background: linear-gradient(135deg, #1663ff 0%, #0f54de 100%);
    color: #fff;
}

.cleaner-service-modal__cancel:hover,
.cleaner-service-modal__confirm:hover,
.cleaner-service-modal__close:hover,
.cleaner-service-action:hover {
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
    .cleaner-services-card-head {
        flex-direction: column;
        align-items: stretch;
    }

    .cleaner-services-card-count {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .cleaner-services-card {
        border-radius: 18px;
    }

    .cleaner-services-card-head {
        gap: 12px;
        padding: 16px;
    }

    .cleaner-services-card-copy {
        gap: 6px;
    }

    .cleaner-services-card-copy p {
        font-size: 13px;
        line-height: 1.5;
        box-sizing: border-box;
    }

    .cleaner-services-card-count {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .cleaner-services-table-wrap {
        padding: 12px;
    }

    .cleaner-services-table {
        border: 0;
        background: transparent;
    }

    .cleaner-services-table thead {
        display: none;
    }

    .cleaner-services-table tbody {
        display: grid;
        gap: 12px;
    }

    .cleaner-services-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 14px;
        border: 1px solid rgba(17, 24, 39, 0.08);
        border-radius: 16px;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
    }

    .cleaner-services-table tbody tr + tr td {
        border-top: 0;
    }

    .cleaner-services-table tbody td {
        padding: 0;
        display: grid;
        gap: 5px;
    }

    .cleaner-services-table tbody td:nth-child(1) {
        grid-column: 1 / -1;
        padding-bottom: 10px;
        margin-bottom: 2px;
        border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    }

    .cleaner-services-table tbody td:nth-child(2),
    .cleaner-services-table tbody td:nth-child(3) {
        padding: 12px;
        border: 1px solid rgba(17, 24, 39, 0.06);
        border-radius: 14px;
        background: linear-gradient(180deg, #f9fbff 0%, #f3f7fc 100%);
        align-content: start;
    }

    .cleaner-services-table tbody td:nth-child(4) {
        grid-column: 1 / -1;
        padding-top: 2px;
    }

    .cleaner-services-table tbody td::before {
        content: attr(data-label);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #718096;
        margin-bottom: 2px;
    }

    .cleaner-service-name-cell strong {
        font-size: 16px;
        line-height: 1.3;
    }

    .cleaner-service-name-cell span,
    .cleaner-service-price-value {
        font-size: 14px;
    }

    .cleaner-service-price-type {
        justify-self: start;
        min-height: 30px;
        padding: 0 12px;
        font-size: 11px;
    }

    .cleaner-services-actions {
        display: flex!important;
        gap: 8px;
        width: 100%;
        align-items: stretch;
        justify-content: stretch;
    }

    .cleaner-services-table-actions-head,
    .cleaner-services-actions-cell {
        width: auto;
        white-space: normal;
    }

    .cleaner-services-actions .cleaner-service-action {
        width: 100%;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border-radius: 12px;
    }

    .cleaner-service-modal {
        align-items: flex-end;
        justify-content: center;
        overflow: hidden;
        overscroll-behavior: contain;
        padding: 0;
        background: rgba(15, 23, 42, 0.22);
    }

    .cleaner-service-modal__content {
        width: min(100%, 680px);
        max-height: min(90dvh, 760px);
        border-radius: 26px 26px 0 0;
        border-bottom: 0;
        margin: 0 auto;
        box-shadow: 0 -20px 52px rgba(15, 23, 42, 0.2);
    }

    .cleaner-service-modal__header,
    .cleaner-service-modal__body,
    .cleaner-service-modal__footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cleaner-service-modal__header {
        padding-top: 24px;
        padding-bottom: 14px;
        border-top-left-radius: 26px;
        border-top-right-radius: 26px;
        background: rgba(255, 255, 255, 0.96);
    }

    .cleaner-service-modal__content::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 42px;
        height: 5px;
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.65);
        pointer-events: none;
        z-index: 2;
    }

    .cleaner-service-modal__body {
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .cleaner-service-modal__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 10px;
    }

    .cleaner-service-modal__presets {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cleaner-service-preset {
        width: 100%;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 11px;
        line-height: 1.25;
        text-align: center;
    }

    .cleaner-service-modal__footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        padding-top: 10px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
    }

    .cleaner-service-modal__cancel,
    .cleaner-service-modal__confirm {
        flex: none;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cleaner-services-card {
        border-radius: 16px;
    }

    .cleaner-services-card-head {
        padding: 14px;
    }

    .cleaner-services-card-copy p {
        font-size: 12px;
    }

    .cleaner-services-card-count {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .cleaner-services-table-wrap {
        padding: 10px;
    }

    .cleaner-services-table tbody tr {
        padding: 12px;
        border-radius: 14px;
        gap: 8px;
    }

    .cleaner-services-table tbody td::before {
        font-size: 9px;
    }

    .cleaner-services-table tbody td:nth-child(2),
    .cleaner-services-table tbody td:nth-child(3) {
        padding: 10px;
        border-radius: 12px;
    }

    .cleaner-service-name-cell strong {
        font-size: 15px;
    }

    .cleaner-service-name-cell span,
    .cleaner-service-price-value {
        font-size: 13px;
    }

    .cleaner-services-actions .cleaner-service-action {
        min-height: 40px;
        font-size: 12px;
        padding: 0 12px;
    }

    .cleaner-service-action__icon,
    .cleaner-service-action__icon svg {
        width: 15px;
        height: 15px;
    }

    .cleaner-services-empty {
        min-height: 220px;
        padding: 24px 16px;
    }

    .cleaner-services-empty strong {
        font-size: 16px;
    }

    .cleaner-services-empty p {
        font-size: 13px;
    }

    .cleaner-service-modal__header,
    .cleaner-service-modal__body,
    .cleaner-service-modal__footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cleaner-service-modal {
        align-items: flex-end;
        padding: 0;
    }

    .cleaner-service-modal__content {
        width: 100%;
        max-height: min(92dvh, 760px);
        border-radius: 22px 22px 0 0;
        margin: 0;
    }

    .cleaner-service-modal__title-wrap {
        gap: 12px;
    }

    .cleaner-service-modal__title-copy h3 {
        font-size: 16px;
    }

    .cleaner-service-modal__title-copy p {
        font-size: 12px;
        line-height: 1.5;
    }

    .cleaner-service-modal__icon,
    .cleaner-service-modal__close {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .cleaner-service-modal__body {
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .cleaner-service-modal__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cleaner-service-modal__select-native {
        display: none !important;
    }

    .cleaner-service-modal__select-wrap {
        display: block;
    }

    .cleaner-service-modal__input,
    .cleaner-service-modal__select-wrap .custom-select-trigger,
    .cleaner-service-modal__price {
        min-height: 46px;
        border-radius: 14px;
    }

    .cleaner-service-modal__select-wrap .custom-select-trigger {
        padding: 0 42px 0 14px;
        font-size: 14px;
    }

    .cleaner-service-modal__select-wrap .custom-options {
        max-height: min(34vh, 220px);
    }

    .cleaner-service-modal__summary {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .cleaner-service-preset {
        min-height: 34px;
        padding: 7px 8px;
        border-radius: 11px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .cleaner-service-modal__footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding-top: 10px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .cleaner-service-modal__cancel,
    .cleaner-service-modal__confirm {
        flex: none;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .cleaner-service-modal__presets,
    .cleaner-service-modal__footer {
        grid-template-columns: 1fr;
    }

    .cleaner-service-modal__title-copy p {
        max-width: 26ch;
    }
}

.orders-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 18px;
}

.orders-list .order-item {
    position: relative;
    overflow: visible;
    background:
        radial-gradient(circle at top right, rgba(211, 229, 247, 0.45), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d7e3ef;
    border-radius: 22px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: 0 14px 32px rgba(15, 42, 70, 0.08);
}

.orders-list .order-item:hover,
.orders-list .order-item:focus-within {
    z-index: 12;
}

.orders-list .order-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.orders-list .order-header-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.orders-list .order-header-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.orders-list .order-client-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.orders-list .order-client-name {
    font-size: 18px;
    line-height: 1.2;
    color: #12314f;
    word-break: break-word;
}

.orders-list .order-client-profile-link {
    width: 30px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #d7e3ef;
    background: #ffffff;
    color: #5a7086;
    text-decoration: none;
    transition: transform 0.1s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.orders-list .order-client-profile-link,
.orders-list .btn-order-chat-icon {
    position: relative;
}

.orders-list .order-client-profile-link:hover {
    transform: translateY(-1px);
    border-color: #9fb6cc;
    color: #12314f;
    background: #f8fbff;
    z-index: 20;
}

.orders-list .order-client-profile-link svg {
    width: 16px;
    height: 16px;
}

.orders-list .order-created-at {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #6e8194;
    font-size: 12px;
    line-height: 1.4;
}

.orders-list .order-status,
.order-details-modal__hero .order-status {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    text-align: center;
}

.orders-list .order-status-pending,
.order-details-modal__hero .order-status-pending {
    background: #fff6dd;
    color: #8a5a00;
    border-color: #f3d796;
}

.orders-list .order-status-accepted,
.order-details-modal__hero .order-status-accepted {
    background: #e8f8ee;
    color: #156f41;
    border-color: #b9e4ca;
}

.orders-list .order-status-completion_pending,
.orders-list .order-status-completion-pending,
.order-details-modal__hero .order-status-completion_pending,
.order-details-modal__hero .order-status-completion-pending {
    background: #e8f1ff;
    color: #1f4fa8;
    border-color: #bfd6ff;
}

.orders-list .order-status-rejected,
.order-details-modal__hero .order-status-rejected {
    background: #fff0f2;
    color: #b4233c;
    border-color: #f7c9d2;
}

.orders-list .order-status-completed,
.order-details-modal__hero .order-status-completed {
    background: #e7f8f8;
    color: #0b6170;
    border-color: #bfe4e8;
}

.orders-list .order-status-cancelled,
.order-details-modal__hero .order-status-cancelled {
    background: #f1f5f9;
    color: #475569;
    border-color: #d5dce3;
}

.orders-list .order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.orders-list .order-info-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 10px 11px;
    border-radius: 14px;
    border: 1px solid #dfe8f1;
    background: #f4f8fc;
}

.orders-list .order-info-tile--wide {
    grid-column: 1 / -1;
}

.orders-list .order-info-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7b8ea1;
}

.orders-list .order-info-value {
    font-size: 13px;
    line-height: 1.35;
    color: #16314a;
    word-break: break-word;
}

.orders-list .order-note,
.orders-list .order-status-details {
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid #dbe5ef;
    background: #f8fbfe;
}

.orders-list .order-note--comment {
    background: linear-gradient(180deg, #fffdfa 0%, #fff7ec 100%);
    border-color: #f0dfbf;
}

.orders-list .order-note-label,
.orders-list .order-status-details-title {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6c8194;
}

.orders-list .order-note p,
.orders-list .order-status-details p {
    margin: 0;
    color: #415466;
    font-size: 14px;
    line-height: 1.5;
}

.orders-list .order-status-details {
    display: grid;
    gap: 8px;
}

.orders-list .order-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
}

.orders-list .btn-order-details {
    width: 100%;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fe 100%);
    color: #23415f;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.orders-list .btn-order-details:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 99, 255, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
    box-shadow: 0 10px 24px rgba(20, 99, 255, 0.08);
}

.orders-list .order-state-note {
    color: #1e40af;
}

.orders-list .order-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
    overflow: visible;
}

.btn-order-action {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    border: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-align: center;
}

.btn-order-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-order-accept {
    background: #ecfdf3;
    color: #166534;
    border-color: #a7f3d0;
}

.btn-order-accept:hover {
    background: #dcfce7;
    transform: translateY(-1px);
}

.btn-order-reject {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.btn-order-reject:hover {
    background: #ffe4e6;
    transform: translateY(-1px);
}

.btn-order-complete {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.btn-order-complete:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}

.orders-list .btn-order-chat-icon {
    width: 42px;
    min-width: 42px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #12314f;
    text-decoration: none;
    transition: transform 0.1s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.orders-list .btn-order-chat-icon:hover {
    background: #f8fbff;
    border-color: #9fb6cc;
    color: #0f2740;
    transform: translateY(-1px);
    z-index: 20;
}

.orders-list .btn-chat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 10px 16px;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.1s ease, background 0.2s ease;
    margin-top: auto;
}

.orders-list .btn-chat-link:hover {
    background: #0b1220;
    transform: translateY(-1px);
}

.orders-list .order-client-profile-link[data-tooltip]::after,
.orders-list .order-client-profile-link[data-tooltip]::before,
.orders-list .btn-order-chat-icon[data-tooltip]::after,
.orders-list .btn-order-chat-icon[data-tooltip]::before {
    position: absolute;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
    z-index: 2600;
}

.orders-list .order-client-profile-link[data-tooltip]::after,
.orders-list .btn-order-chat-icon[data-tooltip]::after {
    content: attr(data-tooltip);
    bottom: calc(100% + 8px);
    transform: translate(-50%, 4px);
    padding: 7px 8px;
    border-radius: 7px;
    background: #0f3559;
    color: #ffffff;
    font-size: 11px;
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(12, 43, 70, 0.26);
}

.orders-list .order-client-profile-link[data-tooltip]::before,
.orders-list .btn-order-chat-icon[data-tooltip]::before {
    content: "";
    bottom: calc(100% + 2px);
    transform: translate(-50%, 4px);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #0f3559;
}

.orders-list .order-client-profile-link[data-tooltip]:hover::after,
.orders-list .order-client-profile-link[data-tooltip]:hover::before,
.orders-list .order-client-profile-link[data-tooltip]:focus-visible::after,
.orders-list .order-client-profile-link[data-tooltip]:focus-visible::before,
.orders-list .btn-order-chat-icon[data-tooltip]:hover::after,
.orders-list .btn-order-chat-icon[data-tooltip]:hover::before,
.orders-list .btn-order-chat-icon[data-tooltip]:focus-visible::after,
.orders-list .btn-order-chat-icon[data-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0);
}

.order-details-payload {
    display: none !important;
}

.order-details-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(12px);
}

.order-details-modal__content {
    position: relative;
    width: min(94vw, 760px);
    max-height: min(88vh, 760px);
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #ffffff;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    animation: order-details-modal-in 0.24s ease;
}

.order-details-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    background: #fff;
}

.order-details-modal__title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.order-details-modal__icon,
.order-details-modal__close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-details-modal__icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.order-details-modal__title h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    color: #102033;
}

.order-details-modal__title p {
    margin: 4px 0 0;
    color: #68758a;
    font-size: 13px;
    line-height: 1.45;
}

.order-details-modal__close {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    color: #46566c;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.order-details-modal__body {
    padding: 16px 20px 18px;
    display: grid;
    gap: 12px;
    overflow: auto;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
    scrollbar-color: rgba(255, 255, 255, 0.96) transparent;
}

.order-details-modal__body::-webkit-scrollbar {
    width: 12px;
}

.order-details-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.order-details-modal__body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    border: 3px solid rgba(245, 248, 252, 0.92);
}

.order-details-modal__hero {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(20, 99, 255, 0.1);
    background:
        radial-gradient(circle at top right, rgba(20, 99, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.order-details-modal__avatar-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 99, 255, 0.12);
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    box-shadow: 0 10px 22px rgba(20, 99, 255, 0.1);
    flex-shrink: 0;
}

.order-details-modal__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-details-modal__avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1560ef;
    font-size: 22px;
    font-weight: 800;
}

.order-details-modal__hero-copy {
    min-width: 0;
}

.order-details-modal__eyebrow {
    display: inline-flex;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3d6b96;
}

.order-details-modal__hero-copy h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.1;
    color: #102033;
}

.order-details-modal__hero-side {
    flex-shrink: 0;
}

.order-details-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.order-details-modal__detail-card {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    display: grid;
    gap: 5px;
}

.order-details-modal__detail-card--wide {
    grid-column: 1 / -1;
}

.order-details-modal__detail-card span {
    color: #6e7b90;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.order-details-modal__detail-card strong {
    font-size: 14px;
    line-height: 1.3;
    color: #13283e;
    word-break: break-word;
}

.order-details-modal__detail-card small {
    color: #6e7b90;
    font-size: 11px;
    line-height: 1.45;
}

.order-details-modal__section {
    padding: 14px 15px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    display: grid;
    gap: 8px;
}

.order-details-modal__section--accent {
    position: relative;
    overflow: hidden;
    border-color: rgba(228, 145, 32, 0.22);
    background:
        radial-gradient(circle at top right, rgba(228, 145, 32, 0.12), transparent 34%),
        linear-gradient(180deg, #fffdfa 0%, #fff7ec 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    height: max-content;
}

.order-details-modal__section--accent::before {
    content: "";
    width: 42px;
    height: 42px;
    position: absolute;
    top: 14px;
    right: 14px;
    border-radius: 14px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23d48417' class='icon icon-tabler icons-tabler-filled icon-tabler-file-description'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none' /%3E%3Cpath d='M12 2l.117 .007a1 1 0 0 1 .876 .876l.007 .117v4l.005 .15a2 2 0 0 0 1.838 1.844l.157 .006h4l.117 .007a1 1 0 0 1 .876 .876l.007 .117v9a3 3 0 0 1 -2.824 2.995l-.176 .005h-10a3 3 0 0 1 -2.995 -2.824l-.005 -.176v-14a3 3 0 0 1 2.824 -2.995l.176 -.005zm3 14h-6a1 1 0 0 0 0 2h6a1 1 0 0 0 0 -2m0 -4h-6a1 1 0 0 0 0 2h6a1 1 0 0 0 0 -2' /%3E%3Cpath d='M19 7h-4l-.001 -4.001z' /%3E%3C/svg%3E") center/20px 20px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 247, 232, 0.9) 100%);
    border: 1px solid rgba(228, 145, 32, 0.14);
}

.order-details-modal__section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5f6d82;
}

.order-details-modal__section p,
.order-details-modal__status-copy p {
    margin: 0;
    color: #4f5e73;
    font-size: 13px;
    line-height: 1.55;
}

.order-details-modal__section--accent p {
    max-width: calc(100% - 56px);
    color: #5b4a2c;
    font-size: 14px;
    line-height: 1.7;
}

.order-details-modal__status-copy {
    display: grid;
    gap: 6px;
}

.order-details-modal__services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.order-details-modal__service-chip {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(20, 99, 255, 0.12);
    background: linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
    color: #234e86;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.order-details-modal__service-chip::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #3c82ff 0%, #1560ef 100%);
    box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.1);
}

.order-details-modal__status-copy .order-state-note {
    color: #1e40af;
}

.order-details-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.order-details-modal__action {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.order-details-modal__action--primary {
    border: 0;
    background: linear-gradient(135deg, #1674d1 0%, #0d58a4 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(13, 88, 164, 0.22);
}

.order-details-modal__action--primary:hover {
    transform: translateY(-1px);
}

.order-details-modal__action--ghost {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #23415f;
}

.order-details-modal__action--ghost:hover {
    transform: translateY(-1px);
    border-color: rgba(20, 99, 255, 0.18);
    background: #f8fbff;
}

@keyframes order-details-modal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.btn-action-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-action-label {
    line-height: 1;
}

.order-action-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(12px);
    z-index: 12000;
}

.order-action-modal {
    position: relative;
    width: min(94vw, 680px);
    max-height: min(88vh, 760px);
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: #ffffff;
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24);
    font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
    animation: order-details-modal-in 0.24s ease;
}

.order-action-modal.order-action-modal-compact {
    width: min(94vw, 560px);
}

.order-action-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    background: #ffffff;
}

.order-action-modal-titlebox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.order-action-modal-icon,
.order-action-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-action-modal-icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.order-action-modal-heading {
    min-width: 0;
}

.order-action-modal-heading h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    color: #102033;
}

.order-action-modal-heading p {
    margin: 4px 0 0;
    color: #68758a;
    font-size: 13px;
    line-height: 1.45;
}

.order-action-modal-close {
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    color: #46566c;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.order-action-modal-close:hover {
    color: #102033;
}

.order-action-modal-body {
    padding: 16px 20px 18px;
    display: grid;
    gap: 12px;
    overflow: auto;
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
    scrollbar-color: rgba(255, 255, 255, 0.96) transparent;
}

.order-action-modal-body::-webkit-scrollbar {
    width: 12px;
}

.order-action-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.order-action-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    border: 3px solid rgba(245, 248, 252, 0.92);
}

.order-action-field {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.order-action-field--notice {
    border-color: rgba(20, 99, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(20, 99, 255, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.order-action-field label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #617187;
}

.order-action-field textarea,
.order-action-field input[type="text"],
.order-action-field input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(17, 24, 39, 0.09);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #13283e;
    background: #ffffff;
    font-family: inherit;
}

.order-action-field textarea {
    min-height: 108px;
    resize: none;
    scrollbar-width: thin;
    scrollbar-color: #ffffff transparent;
}

.order-action-field input[type="file"] {
    padding: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    cursor: pointer;
}

.order-action-field input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: none;
    border-radius: 12px;
    background: #dfeaff;
    color: #1857d6;
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}

.order-action-field textarea::-webkit-scrollbar {
    width: 8px;
}

.order-action-field textarea::-webkit-scrollbar-track {
    background: transparent;
}

.order-action-field textarea::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.45);
}

.order-action-field textarea::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

.order-action-field textarea:focus,
.order-action-field input[type="text"]:focus,
.order-action-field input[type="file"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb, 0 0 0 4px rgba(37, 99, 235, .18);
    outline: none;
    background: #ffffff;
}

.order-action-reason-title {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #617187;
}

#order-reject-field {
    gap: 14px;
}

#order-reject-reason-grid {
    margin-top: -2px;
}

#order-complete-field {
    gap: 14px;
    padding: 16px 18px;
    background:
        radial-gradient(circle at top right, rgba(20, 99, 255, 0.06), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}


#order-complete-field label[for="order-completion-comment"] {
    margin-top: 6px;
}

#order-complete-field .order-action-hint {
    margin: -2px 0 2px;
    padding: 0 2px;
    color: #5c6d82;
}

.quick-reason-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.order-action-modal.order-action-modal-compact .quick-reason-grid {
    grid-template-columns: 1fr;
}

.quick-reason-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.quick-reason-card input {
    position: absolute;
    opacity: 0;
    inset: 0;
    pointer-events: none;
}

.quick-reason-card-text {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 13px 14px 13px 48px;
    border-radius: 16px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #13283e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.1s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.quick-reason-card-text::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #a4b3c9;
    background: #ffffff;
    transform: translateY(-50%);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.quick-reason-card:hover .quick-reason-card-text {
    border-color: #c8d6eb;
    background: #f3f8ff;
    transform: translateY(-1px);
}

.quick-reason-card input:checked + .quick-reason-card-text {
    border-color: #2563eb;
    background: linear-gradient(180deg, #edf4ff 0%, #e5efff 100%);
    color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.13), 0 10px 20px rgba(37, 99, 235, 0.12);
}

.quick-reason-card input:checked + .quick-reason-card-text::before {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.quick-reason-card input:focus-visible + .quick-reason-card-text {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
}

.order-action-other-reason {
    margin-top: 8px;
    padding: 12px;
    border: 1px dashed #c7d2e6;
    border-radius: 16px;
    background: #f8fbff;
}

.order-action-other-reason label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #617187;
}

@media (max-width: 640px) {
    .quick-reason-grid {
        grid-template-columns: 1fr;
    }
}

.order-action-hint {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #415167;
}

#order-completion-images {
    min-height: 60px;
    padding: 12px 14px;
    border-radius: 16px;
    border-color: rgba(20, 99, 255, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#order-completion-images::file-selector-button {
    margin-right: 14px;
    padding: 11px 16px;
    border-radius: 13px;
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1557d6;
    box-shadow: 0 8px 16px rgba(21, 87, 214, 0.12);
}

#order-completion-comment {
    min-height: 116px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #ffffff;
}

#order-completion-comment::placeholder {
    color: #8a96a8;
}

.order-action-field--notice .order-action-hint {
    color: #23486b;
}

.order-action-modal-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    margin-top: 2px;
    background: linear-gradient(180deg, rgba(245, 248, 252, 0) 0%, rgba(245, 248, 252, 0.94) 22%, #f5f8fc 100%);
}

.btn-order-modal-cancel,
.btn-order-modal-confirm {
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-order-modal-cancel {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(17, 24, 39, 0.08);
    color: #13283e;
}

.btn-order-modal-confirm {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.btn-order-modal-cancel:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.btn-order-modal-confirm:hover {
    background: #0b1220;
    transform: translateY(-1px);
}

.btn-order-modal-cancel:active,
.btn-order-modal-confirm:active {
    transform: translateY(0);
}

.btn-order-modal-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-action-modal[data-action="accept"] .order-action-modal-icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.order-action-modal[data-action="accept"] .btn-order-modal-confirm {
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
    box-shadow: 0 14px 28px rgba(21, 87, 214, 0.2);
}

.order-action-modal[data-action="reject"] .order-action-modal-icon {
    background: linear-gradient(180deg, #fff1f3 0%, #ffe3e8 100%);
    color: #df395e;
}

.order-action-modal[data-action="reject"] .btn-order-modal-confirm {
    background: linear-gradient(180deg, #f25d7f 0%, #dc3c63 100%);
}

.order-action-modal[data-action="reject"] .quick-reason-card input:checked + .quick-reason-card-text {
    border-color: #df395e;
    background: linear-gradient(180deg, #fff2f5 0%, #ffe7ed 100%);
    color: #a92d4a;
    box-shadow: 0 0 0 3px rgba(223, 57, 94, 0.12), 0 10px 20px rgba(223, 57, 94, 0.12);
}

.order-action-modal[data-action="reject"] .quick-reason-card input:checked + .quick-reason-card-text::before {
    border-color: #df395e;
    background: #df395e;
}

.order-action-modal[data-action="complete"] .order-action-modal-icon {
    background: linear-gradient(180deg, #edf4ff 0%, #dfeaff 100%);
    color: #1560ef;
}

.order-action-modal[data-action="complete"] .btn-order-modal-confirm {
    background: linear-gradient(180deg, #2a76ff 0%, #1557d6 100%);
}

/* Cemetery picker (cleaner cabinet) */
.cemeteries-picker {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.btn-add-cemetery {
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s ease;
    white-space: nowrap;
}

.btn-add-cemetery:hover {
    background: #0b1220;
    transform: translateY(-1px);
}

.cemeteries-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cemeteries-empty {
    font-size: 13px;
    color: #6b7280;
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    width: 100%;
}

.cemetery-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 13px;
    color: #111827;
}

.cemetery-chip-remove {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cemetery-chip-remove:hover {
    background: #fee2e2;
    border-color: #fecaca;
}

.cemeteries-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

/* ========== Кабінет прибиральника — адаптація під мобільні ========== */
@media (max-width: 768px) {
    .cleaner-cabinet {
        padding: 16px 12px 24px;
        overflow-x: hidden;
        min-width: 0;
    }

    .cleaner-section {
        overflow-x: hidden;
        min-width: 0;
    }

    .cleaner-section .form-group,
    .cleaner-section .custom-select-wrapper,
    .cleaner-section .cemeteries-picker,
    .cleaner-section .cemeteries-chips {
        max-width: 100%;
    }

    .cleaner-cabinet-header--hero {
        padding: 18px;
        border-radius: 22px;
    }

    .cleaner-cabinet-header h1 {
        font-size: 24px;
    }

    .cleaner-cabinet-header p {
        font-size: 13px;
    }

    .cleaner-tabs {
        gap: 6px;
        margin-bottom: 16px;
        padding: 5px;
    }

    .cleaner-tab-btn {
        flex: 1;
        padding: 12px 14px;
        font-size: 14px;
        text-align: center;
        min-height: 44px;
    }

    .cleaner-section {
        padding: 16px 14px;
        margin-bottom: 14px;
    }

    .cleaner-section h2 {
        font-size: 18px;
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .cleaner-location-row {
        flex-direction: column;
        box-sizing: border-box;
        gap: 0px;
    }

    .cleaner-location-row .form-group {
        min-width: 0;
        width: 100%;
    }

    /* Відступ між селектом району і чекбоксом «Працюю на всіх кладовищах» */
    .cleaner-location-row + .form-group {
        margin-top: 16px;
    }

    .cleaner-cabinet .form-group input,
    .cleaner-cabinet .form-group select,
    .cleaner-cabinet .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;

    }

    .cleaner-cabinet .form-group textarea {
        min-height: 120px;
    }

    .cleaner-cabinet .custom-select-wrapper .custom-select-trigger {
        padding: 10px 12px;
        font-size: 16px;
    }

    .cleaner-cabinet .custom-options .custom-option {
        padding: 12px 14px;
        font-size: 15px;
    }

    .cemeteries-picker {
        flex-direction: column;
        align-items: stretch;
        box-sizing: border-box;
        gap: 10px;
    }

    .cemeteries-picker .custom-select-wrapper {
        width: 100%;
    }

    .btn-add-cemetery {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }

    .cleaner-cemeteries-checkbox {
        min-height: 44px;
        padding: 12px 14px;
    }

    .service-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 12px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .service-item input[type="text"] {
        flex: 1 1 100%;
        min-width: 0;
        padding: 10px 12px;
        font-size: 16px;
        min-height: 44px;
    }

    .service-item .service-price-type-wrapper {
        flex: 1 1 auto;
        min-width: 0;
    }

    .service-item .service-price-type-wrapper .custom-select-trigger {
        min-height: 44px;
        padding: 10px 12px;
    }

    .service-price-amount-wrap {
        flex: 1 1 auto;
        min-width: 0;
    }

    .service-item .service-price-amount {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 16px;
    }

    .btn-remove-service {
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    .cleaner-section-services-header {
        margin-bottom: 14px;
        gap: 10px;
    }

    .cleaner-section-services-header .btn-add-service {
        min-height: 44px;
    }

    .cleaner-submit-card {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .cleaner-submit-copy strong {
        font-size: 17px;
    }

    .cleaner-section-submit .btn-save,
    .cleaner-submit-btn {
        width: 100%;
        min-width: 0;
        min-height: 46px;
    }

    .cleaner-cabinet .btn-save {
        width: 100%;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cleaner-cabinet {
        padding: 12px 10px 20px;
    }

    .cleaner-cabinet-header--hero {
        padding: 16px;
        border-radius: 18px;
    }

    .cleaner-cabinet-header h1 {
        font-size: 20px;
    }

    .cleaner-cabinet-header p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .cleaner-tab-btn {
        padding: 10px 10px;
        font-size: 13px;
        border-radius: 10px;
    }

    .cleaner-section {
        padding: 12px 10px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .cleaner-section h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .cleaner-submit-card {
        padding: 14px 12px;
        gap: 12px;
    }

    .cleaner-submit-kicker {
        font-size: 10px;
    }

    .cleaner-submit-copy strong {
        font-size: 16px;
    }

    .cleaner-submit-copy p {
        font-size: 12px;
        line-height: 1.45;
    }

    .cleaner-section-submit .btn-save,
    .cleaner-submit-btn {
        min-height: 44px;
        border-radius: 14px;
        font-size: 13px;
    }

    .service-item .service-price-type-wrapper,
    .service-price-amount-wrap {
        flex: 1 1 100%;
        min-width: 0;
    }

    .cleaner-section-services-header {
        flex-direction: column;
        align-items: stretch;
    }

    .cleaner-section-services-header .btn-add-service {
        width: 100%;
        justify-content: center;
    }

    .cemetery-chip {
        font-size: 12px;
        padding: 6px 8px;
    }

    .orders-list .order-item {
        padding: 12px;
    }

    .orders-list .order-status {
        align-self: flex-start;
    }

    .orders-list .order-info-grid {
        grid-template-columns: 1fr;
    }

    .orders-list .order-actions .btn-order-action {
        flex-basis: 100%;
    }

    .order-status order-status-pending {
        font-size: 10px!important;
    }

    .orders-list .btn-order-chat-icon {
        width: 50%;
        min-width: 0;
    }

    .orders-list .order-client-profile-link::after,
    .orders-list .order-client-profile-link::before,
    .orders-list .btn-order-chat-icon::after,
    .orders-list .btn-order-chat-icon::before {
        display: none;
    }

    .order-details-modal-overlay {
        padding: 0;
        align-items: flex-end;
        background: rgba(15, 23, 42, 0.3);
    }

    .order-details-modal__content {
        width: 100%;
        max-height: min(90vh, 760px);
        border-radius: 28px 28px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
        animation: order-details-sheet-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .order-details-modal__content::before {
        content: "";
        width: 42px;
        height: 5px;
        position: absolute;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: rgba(117, 130, 150, 0.34);
        z-index: 2;
    }

    .order-details-modal__header,
    .order-details-modal__body {
        padding: 16px;
    }

    .order-details-modal__header {
        padding-top: 24px;
        position: sticky;
        top: 0;
        z-index: 1;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(14px);
    }

    .order-details-modal__hero {
        padding: 14px;
        border-radius: 18px;
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .order-details-modal__hero-side {
        grid-column: 1 / -1;
    }

    .order-details-modal__avatar-wrap {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .order-details-modal__hero-copy h4 {
        font-size: 18px;
    }

    .order-details-modal__grid {
        grid-template-columns: 1fr;
    }

    .order-details-modal__services {
        grid-template-columns: 1fr;
    }

    .order-details-modal__detail-card--wide {
        grid-column: auto;
    }

    .order-details-modal__footer {
        justify-content: stretch;
    }

    .order-details-modal__action {
        width: 100%;
    }

    .order-details-modal__body {
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0));
    }

    .order-action-modal-overlay {
        padding: 0;
        align-items: flex-end;
        background: rgba(15, 23, 42, 0.3);
    }

    .order-action-modal,
    .order-action-modal.order-action-modal-compact {
        width: 100%;
        max-height: min(90vh, 760px);
        border-radius: 28px 28px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
        animation: order-details-sheet-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .order-action-modal::before {
        content: "";
        width: 42px;
        height: 5px;
        position: absolute;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: rgba(117, 130, 150, 0.34);
        z-index: 2;
    }

    .order-action-modal-header,
    .order-action-modal-body {
        padding: 16px;
    }

    .order-action-modal-header {
        padding-top: 24px;
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(14px);
    }

    .order-action-modal-titlebox {
        gap: 12px;
    }

    .order-action-modal-icon,
    .order-action-modal-close {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .order-action-modal-heading h3 {
        font-size: 16px;
    }

    .order-action-modal-heading p {
        font-size: 12px;
    }

    .order-action-field {
        padding: 14px 15px;
        border-radius: 18px;
    }

    .order-action-modal-footer {
        gap: 10px;
        flex-direction: column;
        justify-content: stretch;
        align-items: stretch;
        padding-top: 8px;
        padding-bottom: calc(2px + env(safe-area-inset-bottom, 0));
    }

    .btn-order-modal-cancel,
    .btn-order-modal-confirm {
        width: 100%;
    }

    .order-action-modal-body {
        gap: 12px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0))!important;
    }

    .orders-modal-overlay {
        padding: 0;
        align-items: flex-end;
        background: rgba(15, 23, 42, 0.3);
    }

    .orders-modal {
        width: 100%;
        max-height: min(90vh, 760px);
        border-radius: 28px 28px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.18);
        animation: order-details-sheet-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .orders-modal::before {
        content: "";
        width: 42px;
        height: 5px;
        position: absolute;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: rgba(117, 130, 150, 0.34);
        z-index: 2;
    }

    .orders-modal-header,
    .orders-modal-body {
        padding: 16px;
    }

    .orders-modal-header {
        padding-top: 24px;
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(14px);
    }

    .orders-modal-titlebox {
        gap: 12px;
    }

    .orders-modal-icon,
    .orders-modal-close {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .orders-modal-heading h3 {
        font-size: 16px;
    }

    .orders-modal-heading p {
        font-size: 12px;
    }

    .orders-modal-body {
        gap: 12px;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0));
    }

    .orders-modal-state {
        min-height: 160px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .order-modal-item {
        padding: 14px 15px;
        border-radius: 18px;
    }

    .order-modal-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-modal-status {
        white-space: normal;
    }

    .order-item-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .order-item-chat-link,
    .order-item-cancel-btn {
        width: 100%;
    }

    .orders-list .order-note p,
    .orders-list .order-status-details p {
        font-size: 13px;
    }

    .orders-list .btn-chat-link {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

@keyframes order-details-sheet-in {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
