:root {
    --bh-teal: #00a99d;
    --bh-teal-dark: #07877f;
    --bh-teal-soft: #e8faf8;
    --bh-ink: #16202a;
    --bh-muted: #667085;
    --bh-border: #d9e5e7;
    --bh-bg: #f7fbfb;
    --bh-danger: #e5484d;
    --bh-shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
}

.bh-page-wrap {
    background: linear-gradient(135deg, #f8ffff 0%, #f5fbfb 52%, #ffffff 100%);
    color: var(--bh-ink);
    min-height: 100vh;
    padding: 32px 18px;
}

.bh-hero-shell {
    align-items: flex-start;
    display: grid;
    gap: 34px;
    grid-template-columns: 320px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1180px;
}

.bh-flow-panel,
.bh-device-card,
.bh-dashboard-sidebar,
.bh-dashboard-main,
.bh-detail-card,
.bh-confirmation-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--bh-border);
    border-radius: 24px;
    box-shadow: var(--bh-shadow);
}

.bh-flow-panel {
    padding: 24px;
    position: sticky;
    top: 88px;
}

.bh-brand-card,
.bh-mobile-header,
.bh-dashboard-header,
.bh-detail-card header {
    align-items: center;
    display: flex;
    gap: 14px;
}

.bh-company-logo {
    height: 58px;
    max-width: 150px;
    object-fit: contain;
}

.bh-brand-card h1,
.bh-dashboard-header h1,
.bh-detail-card h1 {
    font-size: 26px;
    line-height: 1.1;
    margin: 0 0 6px;
}

.bh-brand-card p,
.bh-dashboard-header p,
.bh-flow-item small,
.bh-request-page p {
    color: var(--bh-muted);
    margin: 0;
}

.bh-header-actions {
    align-items: center;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.bh-flow-list {
    display: grid;
    gap: 16px;
    margin-top: 34px;
}

.bh-flow-item {
    align-items: center;
    display: flex;
    gap: 12px;
}

.bh-flow-item span {
    align-items: center;
    background: #eef4f5;
    border-radius: 999px;
    color: var(--bh-muted);
    display: inline-flex;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.bh-flow-item.active span,
.bh-progress span.active,
.bh-booking-tabs span.active {
    background: var(--bh-teal);
    color: #fff;
}

.bh-contact-card {
    background: var(--bh-teal-soft);
    border-radius: 18px;
    display: grid;
    gap: 6px;
    margin-top: 34px;
    padding: 18px;
}

.bh-contact-card a,
.bh-dashboard-sidebar a,
.bh-back-link {
    color: var(--bh-teal-dark);
    text-decoration: none;
}

.bh-phone-stage {
    display: flex;
    justify-content: center;
}

.bh-device-card {
    min-height: 720px;
    overflow: hidden;
    padding: 20px;
    position: relative;
    width: min(100%, 520px);
}

.bh-mobile-header {
    border-bottom: 1px solid var(--bh-border);
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.bh-mobile-header img {
    height: 46px;
}

.bh-dashboard-link {
    color: var(--bh-teal-dark);
    font-weight: 700;
    text-decoration: none;
}

.bh-auth-overlay {
    align-items: center;
    background: rgba(22, 32, 42, 0.54);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: absolute;
    z-index: 5;
}

.bh-auth-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 420px;
    padding: 28px;
    text-align: center;
}

.bh-auth-modal img {
    height: 62px;
    object-fit: contain;
}

.bh-auth-actions,
.bh-actions,
.bh-detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.bh-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    text-decoration: none;
    transition: 0.2s ease;
}

.bh-btn-primary {
    background: var(--bh-teal);
    color: #fff;
}

.bh-btn-primary:hover {
    background: var(--bh-teal-dark);
    color: #fff;
}

.bh-btn-outline {
    background: #fff;
    border-color: var(--bh-border);
    color: var(--bh-teal-dark);
}

.bh-btn-danger {
    background: #fff3f3;
    border-color: #ffc9c9;
    color: var(--bh-danger);
}

.bh-progress {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 22px;
}

.bh-progress span {
    background: #eef4f5;
    border-radius: 999px;
    color: var(--bh-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 6px;
    text-align: center;
}

.bh-step {
    display: none;
}

.bh-step.active {
    display: block;
}

.bh-step h2 {
    font-size: 24px;
    margin: 6px 0 8px;
}

.bh-service-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.bh-service-card {
    border: 1px solid var(--bh-border);
    border-radius: 18px;
    cursor: pointer;
    display: grid;
    gap: 8px;
    min-height: 142px;
    padding: 14px;
    text-align: center;
}

.bh-service-card input,
.bh-time-grid input {
    display: none;
}

.bh-service-card.selected,
.bh-service-card:has(input:checked),
.bh-time-grid label.selected,
.bh-time-grid label:has(input:checked) {
    border-color: var(--bh-teal);
    box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.14);
}

.bh-service-icon {
    align-items: center;
    background: var(--bh-teal-soft);
    border-radius: 16px;
    color: var(--bh-teal-dark);
    display: inline-flex;
    font-size: 24px;
    height: 56px;
    justify-content: center;
    justify-self: center;
    overflow: hidden;
    width: 56px;
}

.bh-product-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bh-service-card small,
.bh-addon-list small,
.bh-industry-list small {
    color: var(--bh-teal-dark);
    font-weight: 700;
}

.bh-option-box,
.bh-addon-list,
.bh-industry-list,
.bh-time-grid,
.bh-file-preview,
.bh-attachment-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.bh-option-box label,
.bh-addon-list label,
.bh-industry-list label,
.bh-time-grid label {
    align-items: center;
    border: 1px solid var(--bh-border);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

.bh-option-box label,
.bh-addon-list label,
.bh-industry-list label {
    gap: 10px;
    justify-content: flex-start;
}

.bh-field-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.bh-field-grid label,
.bh-full-label {
    color: var(--bh-ink);
    display: grid;
    font-weight: 700;
    gap: 7px;
}

.bh-field-grid input,
.bh-full-label input,
.bh-full-label textarea {
    border: 1px solid var(--bh-border);
    border-radius: 12px;
    font: inherit;
    padding: 12px 13px;
}

.bh-full-label {
    margin-top: 14px;
}

.bh-time-grid {
    grid-template-columns: repeat(3, 1fr);
}

.bh-time-grid label {
    justify-content: center;
}

.bh-file-chip,
.bh-attachment-list a {
    background: var(--bh-teal-soft);
    border-radius: 12px;
    color: var(--bh-teal-dark);
    font-weight: 700;
    padding: 10px 12px;
    text-decoration: none;
}

.bh-review-card,
.bh-mini-table {
    border: 1px solid var(--bh-border);
    border-radius: 18px;
    display: grid;
    margin-top: 18px;
    overflow: hidden;
}

.bh-review-card div,
.bh-mini-table div {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 13px 15px;
}

.bh-review-card div + div,
.bh-mini-table div + div {
    border-top: 1px solid var(--bh-border);
}

.bh-review-card span,
.bh-mini-table span,
.bh-detail-list dt {
    color: var(--bh-muted);
}

.bh-review-total {
    background: var(--bh-teal-soft);
}

.bh-alert-success,
.bh-alert-warning {
    border-radius: 14px;
    margin: 16px 0;
    padding: 14px 16px;
}

.bh-alert-success {
    background: #e9fbf1;
    color: #067647;
}

.bh-alert-warning {
    background: #fff7e6;
    color: #8a5a00;
}

.bh-dashboard-shell,
.bh-detail-shell {
    margin: 0 auto;
    max-width: 1120px;
}

.bh-dashboard-shell {
    display: grid;
    gap: 24px;
    grid-template-columns: 250px minmax(0, 1fr);
}

.bh-dashboard-sidebar {
    padding: 22px;
}

.bh-dashboard-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.bh-dashboard-sidebar a {
    border-radius: 12px;
    color: var(--bh-muted);
    font-weight: 700;
    padding: 12px;
}

.bh-dashboard-sidebar a.active,
.bh-dashboard-sidebar a:hover {
    background: var(--bh-teal-soft);
    color: var(--bh-teal-dark);
}

.bh-dashboard-main {
    padding: 26px;
}

.bh-dashboard-header {
    justify-content: space-between;
}

.bh-booking-tabs {
    border-bottom: 1px solid var(--bh-border);
    display: flex;
    gap: 18px;
    margin: 20px 0;
}

.bh-booking-tabs span {
    border-radius: 999px 999px 0 0;
    color: var(--bh-muted);
    font-weight: 700;
    padding: 10px 14px;
}

.bh-booking-list {
    display: grid;
    gap: 14px;
}

.bh-booking-card {
    align-items: center;
    border: 1px solid var(--bh-border);
    border-radius: 18px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px;
}

.bh-booking-card p {
    margin: 6px 0;
}

.bh-booking-meta {
    align-items: flex-end;
    display: grid;
    gap: 10px;
    justify-items: end;
}

.bh-status {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
}

.bh-status-new,
.bh-status-scheduled {
    background: #e7f4ff;
    color: #175cd3;
}

.bh-status-confirmed,
.bh-status-completed {
    background: #e9fbf1;
    color: #067647;
}

.bh-status-cancelled {
    background: #fff3f3;
    color: var(--bh-danger);
}

.bh-empty-state {
    border: 1px dashed var(--bh-border);
    border-radius: 18px;
    padding: 36px;
    text-align: center;
}

.bh-detail-shell {
    display: grid;
    gap: 18px;
}

.bh-detail-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

.bh-detail-card,
.bh-confirmation-card {
    padding: 26px;
}

.bh-detail-list {
    display: grid;
    gap: 12px 18px;
    grid-template-columns: 180px minmax(0, 1fr);
    margin: 24px 0;
}

.bh-detail-list dd,
.bh-detail-list dt {
    margin: 0;
}

.bh-support-line {
    color: var(--bh-muted);
    font-size: 13px;
    margin-top: 18px;
}

@media (max-width: 920px) {
    .bh-hero-shell,
    .bh-dashboard-shell,
    .bh-detail-grid {
        grid-template-columns: 1fr;
    }

    .bh-flow-panel {
        position: static;
    }

    .bh-flow-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .bh-dashboard-header,
    .bh-booking-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .bh-booking-meta {
        align-items: flex-start;
        justify-items: start;
    }
}

@media (max-width: 560px) {
    .bh-page-wrap {
        padding: 14px;
    }

    .bh-flow-panel,
    .bh-device-card,
    .bh-dashboard-main,
    .bh-dashboard-sidebar,
    .bh-detail-card,
    .bh-confirmation-card {
        border-radius: 18px;
        padding: 16px;
    }

    .bh-flow-list,
    .bh-service-grid,
    .bh-field-grid,
    .bh-time-grid,
    .bh-progress {
        grid-template-columns: 1fr;
    }

    .bh-progress {
        display: flex;
        overflow-x: auto;
    }

    .bh-progress span {
        min-width: 86px;
    }

    .bh-auth-actions,
    .bh-actions,
    .bh-detail-actions {
        flex-direction: column;
    }

    .bh-detail-list {
        grid-template-columns: 1fr;
    }

    .bh-review-card div,
    .bh-mini-table div {
        display: grid;
    }
}

/* Mockup-matching refinements: BiigHands booking-flow phone UI */
.bh-request-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(0, 169, 157, 0.09), transparent 26%),
        radial-gradient(circle at 82% 14%, rgba(0, 169, 157, 0.06), transparent 28%),
        linear-gradient(180deg, #f8ffff 0%, #ffffff 100%);
}

.bh-hero-shell {
    gap: 42px;
    grid-template-columns: 300px minmax(360px, 430px);
    justify-content: center;
    max-width: 980px;
}

.bh-flow-panel {
    border-radius: 26px;
    padding: 26px 24px;
}

.bh-brand-card {
    align-items: flex-start;
    display: grid;
    gap: 12px;
    grid-template-columns: 64px 1fr;
}

.bh-brand-card .bh-company-logo {
    height: 62px;
    max-width: 72px;
}

.bh-brand-card h1 {
    font-size: 24px;
    letter-spacing: -0.03em;
}

.bh-flow-list::before {
    color: var(--bh-teal-dark);
    content: 'FLOW OVERVIEW';
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.bh-flow-list {
    gap: 18px;
}

.bh-flow-item {
    align-items: flex-start;
}

.bh-flow-item span {
    flex: 0 0 28px;
    height: 28px;
    width: 28px;
}

.bh-flow-item.done span {
    background: var(--bh-teal);
    color: #fff;
}

.bh-flow-item.done span::after {
    content: '✓';
    font-size: 13px;
}

.bh-flow-item.done span {
    font-size: 0;
}

.bh-flow-item strong {
    display: block;
    font-size: 14px;
    line-height: 1.1;
}

.bh-flow-item small {
    display: block;
    font-size: 11px;
    margin-top: 4px;
}

.bh-contact-card {
    background: linear-gradient(135deg, #e7fbf9, #eafafa);
    border-radius: 20px;
    color: var(--bh-ink);
    padding: 20px;
}

.bh-phone-stage {
    justify-content: flex-start;
}

.bh-device-card {
    border-radius: 24px;
    box-shadow: 0 24px 55px rgba(16, 24, 40, 0.09);
    min-height: 690px;
    padding: 18px;
    width: 390px;
}

.bh-mobile-header {
    margin: -2px -2px 18px;
    padding: 0 0 14px;
}

.bh-mobile-header img {
    height: 44px;
    max-width: 74px;
    object-fit: contain;
}

.bh-dashboard-link {
    color: var(--bh-teal-dark);
    font-size: 13px;
}

.bh-progress {
    gap: 8px;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 20px;
}

.bh-progress span {
    background: #f0f5f6;
    border-radius: 999px;
    font-size: 10px;
    padding: 9px 4px;
}

.bh-progress span.done {
    background: #dff7f5;
    color: var(--bh-teal-dark);
}

.bh-step h2 {
    font-size: 20px;
    letter-spacing: -0.03em;
    margin-top: 4px;
}

.bh-step > p {
    font-size: 13px;
    line-height: 1.45;
}

.bh-service-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bh-service-card {
    background: #fff;
    border-radius: 12px;
    min-height: 126px;
    padding: 12px 10px;
    position: relative;
    transition: 0.18s ease;
}

.bh-service-card:hover,
.bh-service-card.selected,
.bh-service-card:has(input:checked) {
    border-color: var(--bh-teal);
    box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.15), 0 14px 25px rgba(0, 169, 157, 0.08);
}

.bh-service-card.selected::after,
.bh-service-card:has(input:checked)::after {
    align-items: center;
    background: var(--bh-teal);
    border-radius: 999px;
    color: #fff;
    content: '✓';
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    height: 18px;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 18px;
}

.bh-service-icon {
    background: #f4fbfb;
    border-radius: 10px;
    height: 46px;
    width: 46px;
}

.bh-service-card strong {
    font-size: 13px;
    line-height: 1.2;
}

.bh-service-card small {
    font-size: 11px;
}

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

.bh-btn {
    border-radius: 10px;
    min-height: 42px;
}

.bh-btn-primary {
    background: linear-gradient(180deg, #08b7ab, #009c92);
    box-shadow: 0 10px 18px rgba(0, 169, 157, 0.18);
}

.bh-btn-primary.bh-next::after {
    content: '→';
    margin-left: 10px;
}

.bh-options-step.active {
    animation: bhModalIn 0.18s ease-out;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.16);
    margin-top: 8px;
    padding: 16px;
}

.bh-step-modal-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.bh-step-modal-head h2 {
    margin: 0;
}

.bh-modal-close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: var(--bh-ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.bh-option-box label,
.bh-addon-list label,
.bh-industry-list label {
    border-radius: 10px;
    font-size: 13px;
    padding: 11px 12px;
}

.bh-option-box label.selected,
.bh-option-box label:has(input:checked) {
    border-color: var(--bh-teal);
    box-shadow: 0 0 0 2px rgba(0, 169, 157, 0.12);
}

.bh-option-box label small {
    color: var(--bh-teal-dark);
    font-size: 11px;
    font-weight: 800;
    margin-left: auto;
}

.bh-field-grid {
    gap: 10px;
    grid-template-columns: 1fr;
}

.bh-field-grid label,
.bh-full-label {
    font-size: 12px;
}

.bh-field-grid input,
.bh-full-label input,
.bh-full-label textarea {
    border-radius: 8px;
    font-size: 13px;
    padding: 10px 11px;
}

.bh-time-grid {
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.bh-time-grid label {
    border-radius: 8px;
    font-size: 12px;
    padding: 10px 8px;
}

.bh-time-grid label.selected,
.bh-time-grid label:has(input:checked) {
    background: var(--bh-teal);
    border-color: var(--bh-teal);
    color: #fff;
}

.bh-review-card {
    border-radius: 10px;
    font-size: 12px;
}

.bh-review-card div {
    padding: 10px 12px;
}

.bh-review-card strong {
    text-align: right;
}

.bh-form-error {
    background: #fff3f3;
    border: 1px solid #ffc9c9;
    border-radius: 12px;
    color: var(--bh-danger);
    display: none;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 14px;
    padding: 10px 12px;
}

.bh-form-error.show {
    display: block;
}

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

@media (max-width: 920px) {
    .bh-hero-shell {
        gap: 20px;
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .bh-flow-panel {
        display: none;
    }

    .bh-phone-stage {
        justify-content: center;
    }

    .bh-device-card {
        min-height: calc(100vh - 34px);
        width: min(100%, 390px);
    }
}

@media (max-width: 430px) {
    .bh-request-page {
        padding: 10px;
    }

    .bh-device-card {
        border-radius: 20px;
        min-height: calc(100vh - 20px);
        padding: 14px;
        width: 100%;
    }

    .bh-progress {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow: visible;
    }

    .bh-progress span {
        font-size: 0;
        min-width: 0;
        padding: 0;
        position: relative;
        height: 7px;
    }

    .bh-progress span.active,
    .bh-progress span.done {
        background: var(--bh-teal);
    }

    .bh-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bh-service-card {
        min-height: 118px;
        padding: 10px 8px;
    }
}

/* Dashboard mockup refinements */
.bh-dashboard-page {
    background:
        radial-gradient(circle at 18% 12%, rgba(0, 169, 157, 0.08), transparent 30%),
        linear-gradient(180deg, #fbffff 0%, #ffffff 100%);
}

.bh-dashboard-shell {
    align-items: stretch;
    gap: 0;
    grid-template-columns: 210px minmax(0, 1fr);
    max-width: 860px;
}

.bh-dashboard-sidebar {
    border-radius: 18px 0 0 18px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
    padding: 18px 14px;
}

.bh-dashboard-sidebar .bh-company-logo {
    height: 50px;
    max-width: 92px;
}

.bh-dashboard-sidebar nav {
    gap: 6px;
}

.bh-dashboard-sidebar a {
    border-radius: 8px;
    font-size: 13px;
    padding: 10px 11px;
}

.bh-dashboard-main {
    border-left: 0;
    border-radius: 0 18px 18px 0;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
    min-height: 430px;
    padding: 24px;
}

.bh-dashboard-header h1 {
    font-size: 22px;
}

.bh-dashboard-header p {
    font-size: 12px;
}

.bh-dashboard-header .bh-btn {
    font-size: 12px;
    min-height: 38px;
    padding: 8px 12px;
}

.bh-booking-tabs {
    gap: 26px;
    margin: 18px 0;
}

.bh-booking-tabs span {
    background: transparent;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 12px;
    padding: 8px 0;
}

.bh-booking-tabs span.active {
    background: transparent;
    border-color: var(--bh-teal);
    color: var(--bh-teal-dark);
}

.bh-booking-list {
    gap: 12px;
}

.bh-booking-card {
    border-radius: 12px;
    padding: 14px;
}

.bh-booking-card strong {
    font-size: 13px;
}

.bh-booking-card p,
.bh-booking-card small {
    font-size: 12px;
}

.bh-booking-meta .bh-btn {
    font-size: 11px;
    min-height: 32px;
    padding: 6px 10px;
}

.bh-detail-shell {
    max-width: 960px;
}

.bh-detail-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.bh-detail-card,
.bh-confirmation-card {
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.bh-confirmation-card .bh-company-logo {
    height: 54px;
    max-width: 95px;
}

@media (max-width: 760px) {
    .bh-dashboard-shell {
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .bh-dashboard-sidebar,
    .bh-dashboard-main {
        border-radius: 18px;
    }

    .bh-dashboard-sidebar nav {
        display: flex;
        overflow-x: auto;
    }

    .bh-dashboard-sidebar a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .bh-dashboard-header {
        gap: 14px;
    }

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

/* BiigHands v3 polish: dynamic options, quotations, handyman details */
.bh-page-wrap {
    background:
        radial-gradient(circle at 12% 10%, rgba(18, 184, 173, 0.12), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(18, 184, 173, 0.08), transparent 24%),
        linear-gradient(135deg, #f4fffd 0%, #fbfefe 48%, #f7fbfb 100%);
}

.bh-flow-shell,
.bh-dashboard-shell,
.bh-detail-shell,
.bh-hero-shell {
    filter: drop-shadow(0 26px 40px rgba(15, 41, 51, 0.08));
}

.bh-request-card,
.bh-device-card,
.bh-dashboard-main,
.bh-detail-card,
.bh-confirmation-card,
.bh-flow-sidebar,
.bh-flow-panel,
.bh-dashboard-sidebar {
    border: 1px solid rgba(15, 172, 163, 0.13);
    box-shadow: 0 18px 45px rgba(12, 51, 62, 0.08);
}

.bh-step-pill,
.bh-progress span,
.bh-booking-tabs span {
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bh-step-pill.active,
.bh-progress span.active,
.bh-booking-tabs span.active {
    background: linear-gradient(135deg, #08b4a8, #078d86);
    color: #fff;
    box-shadow: 0 10px 24px rgba(8, 180, 168, 0.24);
    transform: translateY(-1px);
}

.bh-service-card,
.bh-option-card,
.bh-addon-card,
.bh-option-box label,
.bh-addon-list label,
.bh-industry-list label {
    position: relative;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #edf2f2;
    box-shadow: 0 8px 22px rgba(17, 44, 52, 0.05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bh-service-card:hover,
.bh-option-card:hover,
.bh-addon-card:hover,
.bh-option-box label:hover,
.bh-addon-list label:hover,
.bh-industry-list label:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 180, 168, .45);
    box-shadow: 0 16px 30px rgba(8, 180, 168, 0.12);
}

.bh-service-card.is-selected,
.bh-service-card.selected,
.bh-service-card:has(input:checked),
.bh-option-card:has(input:checked),
.bh-addon-card:has(input:checked),
.bh-option-box label:has(input:checked),
.bh-addon-list label:has(input:checked),
.bh-industry-list label:has(input:checked) {
    border-color: #08b4a8;
    background: linear-gradient(180deg, rgba(8, 180, 168, 0.08), #fff 44%);
    box-shadow: inset 0 0 0 1px rgba(8, 180, 168, 0.32), 0 16px 34px rgba(8, 180, 168, 0.16);
}

.bh-service-card:has(input:checked)::after,
.bh-option-card:has(input:checked)::after,
.bh-addon-card:has(input:checked)::after,
.bh-option-box label:has(input:checked)::after,
.bh-addon-list label:has(input:checked)::after,
.bh-industry-list label:has(input:checked)::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    background: #08b4a8;
    box-shadow: 0 8px 16px rgba(8, 180, 168, .24);
}

.bh-service-card img,
.bh-service-icon {
    width: 66px;
    height: 66px;
    object-fit: contain;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: #f5fbfa;
    padding: 8px;
}

.bh-option-list,
.bh-addon-list,
.bh-industry-list {
    display: grid;
    gap: 12px;
}

.bh-option-card,
.bh-addon-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
}

.bh-option-card input,
.bh-addon-card input,
.bh-option-box input,
.bh-addon-list input,
.bh-industry-list input {
    accent-color: #08b4a8;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.bh-option-card .bh-option-content,
.bh-addon-card .bh-addon-content {
    flex: 1 1 auto;
}

.bh-option-card strong,
.bh-addon-card strong,
.bh-option-box strong,
.bh-addon-list strong,
.bh-industry-list strong {
    color: #101820;
    font-weight: 800;
}

.bh-option-card small,
.bh-addon-card small,
.bh-inline-note {
    color: #6c7a80;
    display: block;
    margin-top: 3px;
    font-size: 13px;
}

.bh-price-chip,
.bh-option-price,
.bh-addon-price {
    color: #078d86;
    font-weight: 800;
    white-space: nowrap;
}

.bh-alert-warning {
    margin: 18px 0;
    padding: 13px 15px;
    border-radius: 14px;
    background: #fff7e6;
    color: #7a5200;
    border: 1px solid #ffe0a3;
    font-weight: 650;
}

.bh-quotation-status {
    background: #eef8ff;
    color: #0d5d83;
}

.bh-quotation-pending {
    background: #fff7e6;
    color: #946200;
}

.bh-quotation-quoted,
.bh-quotation-sent {
    background: #e8fbf8;
    color: #08756f;
}

.bh-quotation-sale {
    background: #eaf8ed;
    color: #20723b;
}

.bh-quotation-cancel {
    background: #fff0f0;
    color: #b83232;
}

.bh-handyman-card {
    margin: 20px 0;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(8, 180, 168, .10), rgba(255,255,255,.96));
    border: 1px solid rgba(8, 180, 168, .2);
}

.bh-handyman-card h2 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #101820;
}

.bh-handyman-card p {
    margin: 7px 0 0;
    color: #536268;
}

.bh-handyman-card a {
    color: #078d86;
    font-weight: 700;
}

.bh-quotation-list .bh-booking-card {
    border-left: 4px solid #08b4a8;
}

.bh-dashboard-sidebar nav a {
    border-radius: 13px;
    font-weight: 700;
}

.bh-dashboard-sidebar nav a.active {
    background: rgba(8, 180, 168, 0.12);
    color: #078d86;
}

@media (max-width: 768px) {
    .bh-option-card,
    .bh-addon-card {
        align-items: flex-start;
        padding: 13px;
    }

    .bh-service-card img,
    .bh-service-icon {
        width: 54px;
        height: 54px;
    }

    .bh-dashboard-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .bh-dashboard-sidebar nav a {
        text-align: center;
        padding: 10px 8px;
    }

    .bh-booking-card,
    .bh-quotation-card {
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .bh-step-pill,
    .bh-progress span {
        padding: 8px 10px;
        font-size: 12px;
    }

    .bh-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bh-booking-meta {
        align-items: stretch;
        width: 100%;
    }
}

/* BiigHands v4 fixes: hide inactive service panels and compact portal typography */
.bh-dynamic-service-panel {
    display: none;
}

.bh-dynamic-service-panel.active {
    display: block;
}

.bh-dynamic-service-panel > h3 {
    font-size: 14px;
    line-height: 1.25;
    margin: 12px 0 8px;
}

.bh-dynamic-service-panel > h3:first-child {
    display: none;
}

.bh-selected-service-hint {
    font-size: 12px;
    line-height: 1.4;
    margin: 8px 0 12px;
}

.bh-options-step.active {
    padding: 14px;
}

.bh-step-modal-head h2,
.bh-step h2 {
    font-size: 18px;
    line-height: 1.2;
}

.bh-step > p,
.bh-option-box label,
.bh-addon-list label,
.bh-muted-panel,
.bh-review-card,
.bh-detail-list,
.bh-confirmation-card,
.bh-handyman-card,
.bh-attachment-list a {
    font-size: 12px;
}

.bh-option-box label,
.bh-addon-list label {
    border-radius: 10px;
    gap: 8px;
    min-height: 0;
    padding: 9px 10px;
}

.bh-option-box label small,
.bh-addon-list label small {
    font-size: 11px;
}

.bh-dashboard-main {
    padding: 20px;
}

.bh-dashboard-header h1,
.bh-detail-card h1 {
    font-size: 20px;
    line-height: 1.15;
}

.bh-dashboard-header p,
.bh-detail-card header p,
.bh-confirmation-card p,
.bh-inline-note {
    font-size: 12px;
    line-height: 1.4;
}

.bh-booking-card {
    gap: 12px;
    padding: 12px 14px;
}

.bh-booking-card strong {
    font-size: 12.5px;
}

.bh-booking-card p,
.bh-booking-card small,
.bh-booking-tabs span,
.bh-status {
    font-size: 11.5px;
}

.bh-booking-meta {
    gap: 7px;
}

.bh-booking-meta .bh-btn,
.bh-detail-actions .bh-btn,
.bh-detail-actions button {
    font-size: 11px;
    min-height: 31px;
    padding: 6px 10px;
}

.bh-handyman-card {
    margin: 16px 0;
    padding: 14px;
}

.bh-handyman-card h2,
.bh-detail-card h2,
.bh-confirmation-card h2 {
    font-size: 15px;
    line-height: 1.25;
}

.bh-attachment-list a {
    padding: 7px 10px;
}

@media (max-width: 480px) {
    .bh-dashboard-main,
    .bh-options-step.active {
        padding: 14px;
    }

    .bh-dashboard-header h1,
    .bh-detail-card h1,
    .bh-step-modal-head h2,
    .bh-step h2 {
        font-size: 17px;
    }
}

/* BiigHands v5 fixes: selected options/add-ons view and dashboard filters */
.bh-dynamic-service-panel.active {
    display: grid;
    gap: 10px;
}

.bh-dynamic-service-panel > h3:first-child {
    display: block;
}

.bh-selected-service-title {
    background: rgba(8, 180, 168, 0.08);
    border: 1px solid rgba(8, 180, 168, 0.16);
    border-radius: 12px;
    color: #3f4d55;
    font-size: 12px;
    line-height: 1.35;
    padding: 9px 11px;
}

.bh-priced-choice {
    align-items: center;
    display: flex;
    gap: 9px;
    justify-content: space-between;
}

.bh-choice-copy {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
}

.bh-choice-copy strong {
    font-size: 13px;
    line-height: 1.2;
}

.bh-choice-copy small {
    color: #64727a;
    font-size: 11px;
    line-height: 1.25;
    margin-left: 0;
}

.bh-price-chip {
    background: rgba(8, 180, 168, 0.10);
    border-radius: 999px;
    color: #078d86;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 8px;
    white-space: nowrap;
}

.bh-booking-tabs button {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--bh-muted);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 0;
}

.bh-booking-tabs button.active {
    border-color: var(--bh-teal);
    color: var(--bh-teal-dark);
}

.bh-booking-card[hidden] {
    display: none !important;
}

@media (max-width: 576px) {
    .bh-priced-choice {
        align-items: flex-start;
    }
    .bh-price-chip {
        font-size: 10.5px;
        padding: 4px 7px;
    }
    .bh-booking-tabs {
        gap: 18px;
    }
}

/* BiigHands v6 fixes: keep options step heading visible and product panels dynamic */
.bh-options-step.active .bh-step-modal-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.bh-options-step.active .bh-step-modal-head h2 {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
}

.bh-options-step.active .bh-modal-close {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 30px;
}

.bh-options-step.active .bh-selected-service-hint {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    margin: 0 0 12px;
}

.bh-options-step .bh-dynamic-service-panel:not(.active) {
    display: none !important;
}

.bh-options-step .bh-dynamic-service-panel.active {
    display: grid !important;
}

/* BiigHands v8: Handymades Industry section and mobile step/status polish */
.bh-industry-list {
    display: grid;
    gap: 12px;
    margin: 16px 0 20px;
}

.bh-industry-choice .bh-choice-copy small,
.bh-priced-choice .bh-choice-copy small {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: #5f6b6d;
    margin-top: 2px;
}

.bh-dynamic-service-panel.active .bh-industry-list {
    display: grid;
}

@media (max-width: 575px) {
    .bh-progress {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        align-items: stretch;
        width: 100%;
        overflow: visible;
        padding: 8px 0;
    }

    .bh-progress span {
        min-width: 0 !important;
        width: 100%;
        height: auto;
        min-height: 34px;
        padding: 8px 4px !important;
        border-radius: 14px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .bh-progress span::before,
    .bh-progress span::after {
        display: none !important;
        content: none !important;
    }

    .bh-step-modal-card,
    .bh-quote-form .bh-step[data-step="2"] {
        width: 100%;
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
        box-sizing: border-box;
    }

    .bh-step-modal-head h2 {
        font-size: 20px !important;
        line-height: 1.2;
    }

    .bh-selected-service-hint {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .bh-dynamic-service-panel h3 {
        font-size: 16px !important;
        margin-top: 18px;
        margin-bottom: 10px;
    }

    .bh-priced-choice {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        padding: 12px 10px !important;
        align-items: center;
    }

    .bh-price-chip {
        font-size: 11px !important;
        padding: 5px 8px !important;
        white-space: nowrap;
    }
}

/* BiigHands v10 fix: selected option/add-on tick must sit after the price, not overlap it. */
.bh-priced-choice:has(input:checked)::after {
    position: static;
    top: auto;
    right: auto;
    flex: 0 0 22px;
    margin-left: 2px;
    order: 4;
    align-self: center;
}

.bh-priced-choice .bh-price-chip {
    order: 3;
}

.bh-priced-choice .bh-choice-copy {
    order: 2;
}

.bh-priced-choice input {
    order: 1;
}

@media (max-width: 575px) {
    .bh-priced-choice:has(input:checked)::after {
        flex-basis: 22px;
        margin-left: 0;
    }
}

/* BiigHands v11 fix: robust selected tick alignment and full-card tap area for priced choices. */
.bh-option-box label.bh-priced-choice,
.bh-addon-list label.bh-priced-choice {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center !important;
    column-gap: 9px;
    row-gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

.bh-industry-list label.bh-industry-choice {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center !important;
    column-gap: 9px;
    row-gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

.bh-option-box label.bh-priced-choice input,
.bh-addon-list label.bh-priced-choice input,
.bh-industry-list label.bh-industry-choice input {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    cursor: pointer;
}

.bh-option-box label.bh-priced-choice .bh-choice-copy,
.bh-addon-list label.bh-priced-choice .bh-choice-copy,
.bh-industry-list label.bh-industry-choice .bh-choice-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.bh-option-box label.bh-priced-choice .bh-price-chip,
.bh-addon-list label.bh-priced-choice .bh-price-chip {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.bh-option-box label.bh-priced-choice:has(input:checked)::after,
.bh-addon-list label.bh-priced-choice:has(input:checked)::after {
    position: static !important;
    top: auto !important;
    right: auto !important;
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    margin: 0 !important;
    width: 22px;
    height: 22px;
}

.bh-industry-list label.bh-industry-choice:has(input:checked)::after {
    position: static !important;
    top: auto !important;
    right: auto !important;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    margin: 0 !important;
    width: 22px;
    height: 22px;
}

@media (max-width: 575px) {
    .bh-option-box label.bh-priced-choice,
    .bh-addon-list label.bh-priced-choice {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        column-gap: 7px;
        padding-right: 10px !important;
    }

    .bh-industry-list label.bh-industry-choice {
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: 7px;
        padding-right: 10px !important;
    }

    .bh-option-box label.bh-priced-choice .bh-price-chip,
    .bh-addon-list label.bh-priced-choice .bh-price-chip {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Handymade frontend dashboard polish */
.bh-handymade-page {
    background:
        radial-gradient(circle at top left, rgba(0, 169, 157, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(17, 94, 89, 0.16), transparent 32%),
        linear-gradient(135deg, #f8ffff 0%, #f2fbfa 48%, #ffffff 100%);
}

.bh-handymade-shell {
    align-items: start;
}

.bh-handymade-sidebar {
    overflow: hidden;
    position: sticky;
    top: 88px;
}

.bh-handymade-sidebar::before {
    background: linear-gradient(135deg, var(--bh-teal) 0%, #115e59 100%);
    border-radius: 18px;
    content: "";
    display: block;
    height: 8px;
    margin-bottom: 18px;
}

.bh-hm-tech-card {
    background: linear-gradient(135deg, var(--bh-teal-soft) 0%, #ffffff 100%);
    border: 1px solid rgba(0, 169, 157, 0.16);
    border-radius: 18px;
    display: grid;
    gap: 5px;
    margin-top: 18px;
    padding: 14px;
}

.bh-hm-tech-card span,
.bh-hm-eyebrow,
.bh-hm-card-address span,
.bh-hm-stat-card span,
.bh-hm-info-strip span {
    color: var(--bh-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bh-hm-tech-card strong {
    color: var(--bh-ink);
    font-size: 16px;
}

.bh-handymade-main {
    border-color: rgba(0, 169, 157, 0.18);
    overflow: hidden;
    position: relative;
}

.bh-handymade-main::before,
.bh-hm-detail-card::before,
.bh-hm-action-card::before {
    background: linear-gradient(90deg, var(--bh-teal) 0%, #4fd1c5 48%, #115e59 100%);
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.bh-handymade-header {
    background: linear-gradient(135deg, rgba(232, 250, 248, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(0, 169, 157, 0.16);
    border-radius: 22px;
    margin-top: 4px;
    padding: 20px;
}

.bh-hm-header-badge {
    align-items: center;
    background: #fff;
    border: 1px solid var(--bh-border);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
    display: grid;
    justify-items: center;
    min-width: 118px;
    padding: 12px 18px;
}

.bh-hm-header-badge span {
    color: var(--bh-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bh-hm-header-badge strong {
    color: var(--bh-teal-dark);
    font-size: 32px;
    line-height: 1;
}

.bh-hm-stat-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 20px 0;
}

.bh-hm-stat-card {
    background: #fff;
    border: 1px solid var(--bh-border);
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.055);
    display: grid;
    gap: 5px;
    padding: 18px;
    position: relative;
}

.bh-hm-stat-card::after {
    background: var(--bh-teal-soft);
    border-radius: 999px;
    content: "";
    height: 44px;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 44px;
}

.bh-hm-stat-card-blue::after {
    background: #e7f4ff;
}

.bh-hm-stat-card-green::after {
    background: #e9fbf1;
}

.bh-hm-stat-card strong {
    color: var(--bh-ink);
    font-size: 34px;
    line-height: 1;
}

.bh-hm-stat-card small {
    color: var(--bh-muted);
}

.bh-hm-tabs {
    background: #f8ffff;
    border: 1px solid var(--bh-border);
    border-radius: 999px;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    padding: 6px;
}

.bh-hm-tabs button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--bh-muted);
    cursor: pointer;
    font-weight: 800;
    padding: 9px 14px;
    transition: 0.2s ease;
}

.bh-hm-tabs button.active,
.bh-hm-tabs button:hover {
    background: var(--bh-teal);
    color: #fff;
}

.bh-handymade-job-card {
    background: #fff;
    border-color: rgba(0, 169, 157, 0.18);
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.045);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bh-handymade-job-card:hover {
    border-color: rgba(0, 169, 157, 0.45);
    box-shadow: 0 18px 36px rgba(16, 24, 40, 0.08);
    transform: translateY(-1px);
}

.bh-hm-job-left {
    align-items: center;
    display: flex;
    flex: 1 1 260px;
    gap: 14px;
    min-width: 200px;
}

.bh-hm-job-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--bh-teal) 0%, var(--bh-teal-dark) 100%);
    border-radius: 16px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 48px;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    letter-spacing: -0.03em;
    width: 48px;
}

.bh-hm-card-address {
    flex: 1 1 180px;
    min-width: 140px;
}

.bh-hm-card-address p {
    color: var(--bh-ink);
    font-size: 13px;
    line-height: 1.35;
    margin: 4px 0 0;
}

.bh-hm-booking-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
}

.bh-hm-open-btn {
    border-radius: 999px;
    min-height: 38px;
}

.bh-hm-empty-state {
    background: rgba(255, 255, 255, 0.72);
}

.bh-status-pending,
.bh-status-quoted {
    background: #fff7e6;
    color: #8a5a00;
}

.bh-status-in_progress {
    background: #e7f4ff;
    color: #175cd3;
}

.bh-quotation-pending,
.bh-quotation-quoted,
.bh-quotation-sent {
    background: #fff7e6;
    color: #8a5a00;
}

.bh-quotation-sale {
    background: #e9fbf1;
    color: #067647;
}

.bh-quotation-cancel {
    background: #fff3f3;
    color: var(--bh-danger);
}

.bh-hm-detail-shell {
    max-width: 1160px;
}

.bh-hm-detail-grid {
    align-items: start;
}

.bh-hm-detail-card,
.bh-hm-action-card {
    overflow: hidden;
    position: relative;
}

.bh-hm-detail-hero {
    background: linear-gradient(135deg, var(--bh-teal-soft) 0%, #ffffff 100%);
    border: 1px solid rgba(0, 169, 157, 0.16);
    border-radius: 22px;
    margin-bottom: 22px;
    padding: 16px;
}

.bh-hm-info-strip {
    border: 1px solid var(--bh-border);
    border-radius: 18px;
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
    margin: 18px 0 26px;
    overflow: hidden;
}

.bh-hm-info-strip > div {
    background: #fbffff;
    display: grid;
    gap: 8px;
    padding: 16px;
}

.bh-hm-detail-card h2,
.bh-hm-action-card h2 {
    font-size: 20px;
    margin: 24px 0 14px;
}

.bh-hm-detail-list {
    background: #fff;
    border: 1px solid var(--bh-border);
    border-radius: 18px;
    margin-top: 0;
    overflow: hidden;
}

.bh-hm-detail-list dt,
.bh-hm-detail-list dd {
    border-bottom: 1px solid #edf4f5;
    padding: 12px 14px;
}

.bh-hm-detail-list dt:last-of-type,
.bh-hm-detail-list dd:last-of-type {
    border-bottom: 0;
}

.bh-hm-map-btn {
    border-radius: 999px;
    margin-bottom: 8px;
}

.bh-hm-attachment-list {
    display: grid;
    gap: 10px;
}

.bh-hm-action-card {
    position: sticky;
    top: 88px;
}

.bh-hm-action-form,
.bh-hm-contact-card {
    display: grid;
    gap: 10px;
}

.bh-hm-action-form .bh-btn,
.bh-hm-contact-card .bh-btn {
    border-radius: 999px;
    width: 100%;
}

.bh-hm-complete-btn {
    background: #067647;
    color: #fff;
}

.bh-hm-complete-btn:hover {
    background: #075e3a;
    color: #fff;
}

.bh-hm-contact-card {
    background: var(--bh-teal-soft);
    border-radius: 18px;
    margin-top: 22px;
    padding: 16px;
}

.bh-hm-contact-card h3 {
    font-size: 17px;
    margin: 0 0 4px;
}

@media (max-width: 920px) {
    .bh-handymade-sidebar,
    .bh-hm-action-card {
        position: static;
    }

    .bh-hm-stat-grid,
    .bh-hm-info-strip {
        grid-template-columns: 1fr;
    }

    .bh-handymade-job-card {
        flex-direction: column;
    }

    .bh-handymade-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .bh-hm-booking-meta {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .bh-hm-tabs {
        border-radius: 18px;
    }

    .bh-hm-tabs button {
        width: 100%;
    }

    .bh-hm-detail-list {
        grid-template-columns: 1fr;
    }

    .bh-hm-detail-list dt {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .bh-hm-detail-list dd {
        padding-top: 4px;
    }
}

.bh-hm-section-subtitle {
    color: var(--bh-muted);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin: -8px 0 12px;
    text-transform: uppercase;
}

/* Handymade tabs v2: clean desktop pills + mobile horizontal slider */
.bh-handymade-main .bh-hm-tabs {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 169, 157, 0.18);
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 24px rgba(16, 24, 40, 0.045);
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-start;
    margin: 20px 0 18px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.bh-handymade-main .bh-hm-tabs button {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0 !important;
    border-radius: 16px;
    color: #53606c;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 0 18px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    width: auto !important;
}

.bh-handymade-main .bh-hm-tabs button.active {
    background: linear-gradient(135deg, var(--bh-teal) 0%, var(--bh-teal-dark) 100%);
    box-shadow: 0 10px 20px rgba(0, 169, 157, 0.24);
    color: #fff;
}

.bh-handymade-main .bh-hm-tabs button:hover {
    background: var(--bh-teal-soft);
    color: var(--bh-teal-dark);
    transform: translateY(-1px);
}

.bh-handymade-main .bh-hm-tabs button.active:hover {
    background: linear-gradient(135deg, var(--bh-teal) 0%, var(--bh-teal-dark) 100%);
    color: #fff;
}

@media (max-width: 768px) {
    .bh-handymade-main .bh-hm-tabs {
        border-radius: 18px;
        gap: 8px;
        justify-content: flex-start;
        margin-left: -2px;
        margin-right: -2px;
        padding: 8px;
        scroll-padding-left: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .bh-handymade-main .bh-hm-tabs::-webkit-scrollbar {
        display: none;
    }

    .bh-handymade-main .bh-hm-tabs button {
        border-radius: 14px;
        flex: 0 0 auto;
        font-size: 12.5px;
        min-height: 40px;
        min-width: max-content;
        padding: 0 16px;
        scroll-snap-align: start;
        width: auto !important;
    }
}

@media (max-width: 420px) {
    .bh-handymade-main .bh-hm-tabs {
        border-radius: 16px;
        margin-top: 16px;
    }

    .bh-handymade-main .bh-hm-tabs button {
        font-size: 12px;
        min-height: 38px;
        padding: 0 14px;
    }
}

/* BiigHands B2B customer portal additions */
.bh-b2b-label {
    margin: 12px 0 18px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(0, 168, 150, 0.10);
    color: #008f83;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.bh-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: #00a896;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bh-b2b-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 20px;
}

.bh-b2b-quick-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding: 18px 20px;
    border: 1px solid rgba(0, 168, 150, 0.14);
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f5fffd 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    color: #111827;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bh-b2b-quick-card:hover,
.bh-b2b-quick-card.active {
    transform: translateY(-2px);
    border-color: rgba(0, 168, 150, 0.34);
    box-shadow: 0 18px 42px rgba(0, 168, 150, 0.14);
    text-decoration: none;
}

.bh-b2b-quick-card span {
    color: #637083;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bh-b2b-quick-card strong {
    color: #00a896;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.bh-invoice-card,
.bh-asset-card {
    border-left: 5px solid #00a896;
}

.bh-invoice-card .bh-booking-meta,
.bh-asset-card .bh-booking-meta {
    gap: 10px;
}

.bh-status.bh-invoice-state-paid,
.bh-status.bh-invoice-state-in_payment {
    background: #dcfce7;
    color: #166534;
}

.bh-status.bh-invoice-state-not_paid,
.bh-status.bh-invoice-state-partial {
    background: #fef3c7;
    color: #92400e;
}

.bh-status.bh-invoice-state-reversed,
.bh-status.bh-invoice-state-blocked {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 992px) {
    .bh-b2b-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .bh-b2b-label {
        margin: 8px 0 12px;
        font-size: 10px;
    }

    .bh-b2b-quick-grid {
        display: flex;
        gap: 12px;
        margin: 18px -6px 18px;
        padding: 0 6px 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .bh-b2b-quick-grid::-webkit-scrollbar {
        height: 4px;
    }

    .bh-b2b-quick-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 168, 150, 0.28);
        border-radius: 999px;
    }

    .bh-b2b-quick-card {
        flex: 0 0 74%;
        min-height: 78px;
        scroll-snap-align: start;
        padding: 16px;
    }

    .bh-b2b-quick-card strong {
        font-size: 30px;
    }

    .bh-invoice-card,
    .bh-asset-card {
        border-left-width: 0;
        border-top: 5px solid #00a896;
    }
}

/* ============================================================
   BiigHands Filter Grid (Service History / Warranty)
   ============================================================ */
.bh-filter-form {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--bh-border);
    border-radius: 20px;
    margin-bottom: 22px;
    padding: 20px;
}

.bh-filter-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
}

.bh-filter-group label {
    color: var(--bh-ink);
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.bh-filter-group input,
.bh-filter-group select {
    background: #fff;
    border: 1px solid var(--bh-border);
    border-radius: 12px;
    font: inherit;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
}

.bh-filter-actions {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.bh-filter-actions .bh-btn {
    min-height: 42px;
    font-size: 13px;
    padding: 8px 14px;
}

/* ============================================================
   Warranty Detail Section in Booking Detail
   ============================================================ */
.bh-warranty-detail-section {
    border: 1px solid var(--bh-border);
    border-radius: 18px;
    margin-top: 22px;
    padding: 18px;
}

.bh-warranty-detail-section h2 {
    font-size: 20px;
    margin: 0 0 12px;
}

.bh-warranty-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.bh-warranty-badge.bh-warranty-in {
    background: #dcfce7;
    color: #166534;
}

.bh-warranty-badge.bh-warranty-expiring {
    background: #fef3c7;
    color: #92400e;
}

.bh-warranty-badge.bh-warranty-expired {
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================================
   Claim Section in Booking Detail
   ============================================================ */
.bh-claim-section {
    border-top: 2px solid var(--bh-border);
    margin-top: 28px;
    padding-top: 22px;
}

.bh-claim-section h2 {
    font-size: 20px;
    margin: 0 0 14px;
}

.bh-claim-card {
    background: #f9ffff;
    border: 1px solid var(--bh-border);
    border-radius: 16px;
    margin-bottom: 12px;
    padding: 14px;
}

.bh-claim-card strong {
    display: block;
    margin-bottom: 4px;
}

.bh-claim-card p {
    margin: 8px 0;
}

.bh-claim-card small {
    color: var(--bh-muted);
}

.bh-claim-card .bh-attachment-list {
    margin-top: 10px;
}

.bh-claim-card .bh-attachment-list a {
    font-size: 13px;
}

.bh-claim-form-wrap {
    background: #f5fffd;
    border: 1px solid rgba(0, 169, 157, 0.18);
    border-radius: 18px;
    margin-top: 18px;
    padding: 18px;
}

.bh-claim-form-wrap h3 {
    font-size: 18px;
    margin: 0 0 6px;
}

.bh-claim-form-wrap p {
    color: var(--bh-muted);
    margin: 0 0 16px;
}

.bh-claim-form-wrap .bh-full-label {
    margin-top: 12px;
}

.bh-claim-form-wrap textarea {
    border: 1px solid var(--bh-border);
    border-radius: 12px;
    font: inherit;
    padding: 12px 13px;
    width: 100%;
    box-sizing: border-box;
}

.bh-claim-form-wrap .bh-btn {
    margin-top: 16px;
}

.bh-status.bh-claim-state-submitted {
    background: #dbeafe;
    color: #1e40af;
}

.bh-status.bh-claim-state-in_review {
    background: #fef3c7;
    color: #92400e;
}

.bh-status.bh-claim-state-approved {
    background: #dcfce7;
    color: #166534;
}

.bh-status.bh-claim-state-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================================
   Alert Messages
   ============================================================ */
.bh-alert-success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    color: #166534;
    margin-bottom: 18px;
    padding: 14px;
    font-weight: 700;
}

.bh-alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 14px;
    color: #991b1b;
    margin-bottom: 18px;
    padding: 14px;
    font-weight: 700;
}

/* Responsive filter grid */
@media (max-width: 992px) {
    .bh-filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .bh-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bh-filter-actions {
        grid-column: span 2;
        flex-direction: column;
    }

    .bh-filter-actions .bh-btn {
        width: 100%;
    }
}

/* ============================================================
   HANDYMAN ADVANCED FEATURES
   ============================================================ */

/* Timeline View / Today's Jobs */
.bh-hm-today-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}
.bh-hm-today-section h2 {
    font-size: 18px;
    margin: 0 0 12px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bh-hm-today-section h2::before {
    content: "\1F4C5";
    font-size: 20px;
}
.bh-hm-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bh-hm-timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.bh-hm-timeline-item:hover {
    border-color: #00a99d;
    box-shadow: 0 2px 8px rgba(0,169,157,.1);
}
.bh-hm-timeline-time {
    font-size: 13px;
    font-weight: 800;
    color: #374151;
    min-width: 80px;
    white-space: nowrap;
}
.bh-hm-timeline-job {
    flex: 1;
    font-size: 14px;
    color: #1f2937;
}
.bh-hm-timeline-job small {
    color: #6b7280;
    font-size: 12px;
    display: block;
}
.bh-hm-timeline-status {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* Earnings Summary */
.bh-hm-earnings-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: #f0fdf9;
    border-radius: 12px;
    border: 1px solid #d1fae5;
    margin-bottom: 24px;
}
.bh-hm-earnings-item {
    flex: 1;
    min-width: 140px;
}
.bh-hm-earnings-item span {
    font-size: 12px;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.bh-hm-earnings-item strong {
    font-size: 22px;
    color: #067647;
}
.bh-hm-earnings-item strong.bh-earnings-commission {
    color: #175cd3;
}

/* Photo Grid */
.bh-photo-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.bh-photo-section {
    flex: 1;
    min-width: 200px;
}
.bh-photo-section h3 {
    font-size: 14px;
    margin: 0 0 8px;
    color: #374151;
}
.bh-photo-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.bh-photo-thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all .2s;
}
.bh-photo-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Materials Table */
.bh-materials-section {
    margin: 20px 0;
}
.bh-materials-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.bh-materials-table th {
    background: #f9fafb;
    padding: 8px 12px;
    text-align: left;
    font-weight: 700;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}
.bh-materials-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f3f4f6;
}
.bh-materials-table tr:hover td {
    background: #f9fafb;
}

/* Signature Pad */
.bh-signature-section {
    margin: 16px 0;
}
.bh-signature-image {
    max-width: 300px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
}
.bh-signature-form-wrap {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    margin: 20px 0;
}
.bh-signature-pad {
    margin: 16px 0;
}
.bh-signature-actions {
    margin-top: 8px;
}

/* Checklist */
.bh-checklist-section {
    margin: 20px 0;
}
.bh-checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 6px;
    background: #fff;
    transition: all .2s;
}
.bh-checklist-item:hover {
    border-color: #d1d5db;
}
.bh-checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00a99d;
}
.bh-checklist-done {
    background: #f0fdf9;
    border-color: #d1fae5;
    text-decoration: line-through;
    color: #6b7280;
}
.bh-checklist-task {
    flex: 1;
    font-size: 14px;
}
.bh-checklist-mandatory {
    font-size: 11px;
    color: #ef4444;
    font-weight: 700;
}

/* Issue Report Form */
.bh-issue-form {
    background: #fef2f2;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #fecaca;
    margin: 20px 0;
}
.bh-issue-form h3 {
    color: #dc2626;
    margin: 0 0 12px;
    font-size: 16px;
}
.bh-issue-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #374151;
}
.bh-issue-form select,
.bh-issue-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Quick Action Buttons - Call, WhatsApp, Email, Map */
.bh-hm-quick-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}
.bh-hm-quick-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
}
.bh-hm-quick-actions a:hover {
    transform: translateY(-1px);
}
.bh-hm-action-call {
    background: #e8f5e9;
    color: #2e7d32;
}
.bh-hm-action-call:hover {
    background: #c8e6c9;
}
.bh-hm-action-whatsapp {
    background: #e0f7e4;
    color: #075e54;
}
.bh-hm-action-whatsapp:hover {
    background: #b9f6ca;
}
.bh-hm-action-email {
    background: #e3f2fd;
    color: #1565c0;
}
.bh-hm-action-email:hover {
    background: #bbdefb;
}
.bh-hm-action-map {
    background: #fce4ec;
    color: #c62828;
}
.bh-hm-action-map:hover {
    background: #f8bbd0;
}

/* Job Detail Sections */
.bh-hm-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}
.bh-hm-section h2 {
    font-size: 16px;
    margin: 0 0 16px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bh-hm-section h2 .bh-section-icon {
    font-size: 18px;
}
.bh-hm-section h3 {
    font-size: 14px;
    margin: 0 0 10px;
    color: #374151;
}

/* Technician Notes (not visible to customer) */
.bh-notes-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

/* Status Action Buttons */
.bh-hm-status-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.bh-hm-status-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bh-hm-status-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.bh-hm-btn-onway {
    background: #f59e0b;
    color: #fff;
}
.bh-hm-btn-start {
    background: #175cd3;
    color: #fff;
}
.bh-hm-btn-complete {
    background: #067647;
    color: #fff;
}
.bh-hm-btn-issue {
    background: #dc2626;
    color: #fff;
}

/* Status Badges in Timeline */
.bh-hm-status-confirmed { background: #d1fae5; color: #065f46; }
.bh-hm-status-on_way { background: #fef3c7; color: #92400e; }
.bh-hm-status-in_progress { background: #dbeafe; color: #1e40af; }
.bh-hm-status-completed { background: #d1fae5; color: #065f46; }
.bh-hm-status-cancelled { background: #fee2e2; color: #991b1b; }

/* Photo Upload Zone */
.bh-photo-upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
    background: #f9fafb;
}
.bh-photo-upload-zone:hover {
    border-color: #00a99d;
    background: #f0fdf9;
}
.bh-photo-upload-zone input[type="file"] {
    display: none;
}
.bh-photo-upload-zone .bh-upload-label {
    display: block;
    font-size: 14px;
    color: #6b7280;
}
.bh-photo-upload-zone .bh-upload-label strong {
    color: #00a99d;
}

/* Material Entry Form Rows */
.bh-material-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}
.bh-material-row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
}
.bh-material-row input.bh-mat-qty {
    flex: 0 0 80px;
}
.bh-material-row input.bh-mat-cost {
    flex: 0 0 100px;
}
.bh-material-row .bh-mat-remove {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}
.bh-material-row .bh-mat-remove:hover {
    background: #fecaca;
}
.bh-add-row-btn {
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    transition: all .2s;
}
.bh-add-row-btn:hover {
    border-color: #00a99d;
    color: #00a99d;
}

/* Filter Form */
.bh-filter-form {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
}
.bh-filter-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.bh-filter-group {
    flex: 1;
    min-width: 150px;
}
.bh-filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.bh-filter-group input,
.bh-filter-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}
.bh-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Empty State Refinements */
.bh-empty-state {
    text-align: center;
    padding: 60px 20px;
}
.bh-empty-state h2 {
    font-size: 20px;
    color: #374151;
    margin: 0 0 8px;
}
.bh-empty-state p {
    color: #6b7280;
    margin: 0 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .bh-photo-grid {
        flex-direction: column;
    }
    .bh-photo-thumb {
        width: 90px;
        height: 68px;
    }
    .bh-hm-status-actions {
        flex-direction: column;
    }
    .bh-hm-status-btn {
        width: 100%;
        justify-content: center;
    }
    .bh-hm-quick-actions {
        flex-direction: column;
    }
    .bh-hm-quick-actions a {
        justify-content: center;
    }
    .bh-filter-grid {
        flex-direction: column;
    }
    .bh-hm-earnings-bar {
        flex-direction: column;
    }
}
/* ============================================
   MODERN HANDYMAN DASHBOARD UI - v2
   ============================================ */

/* --- Section Cards --- */
.bh-hm-section-box {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease;
}
.bh-hm-section-box:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.bh-hm-section-box h2 {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bh-hm-section-box h2 i {
    color: #00a99d;
    font-size: 18px;
}
.bh-section-desc {
    font-size: 13px;
    color: #667085;
    margin: 0 0 16px 0;
    line-height: 1.4;
}
.bh-hm-section-status {
    border-left: 4px solid #00a99d;
}
.bh-hm-section-photos {
    border-left: 4px solid #6366f1;
}
.bh-hm-section-notes {
    border-left: 4px solid #f59e0b;
}
.bh-hm-section-materials {
    border-left: 4px solid #0ea5e9;
}
.bh-hm-section-checklist {
    border-left: 4px solid #10b981;
}
.bh-hm-section-issue {
    border-left: 4px solid #ef4444;
}
.bh-hm-section-complete {
    border-left: 4px solid #067647;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}
.bh-hm-section-contact {
    border-left: 4px solid #8b5cf6;
}

/* --- Status Buttons --- */
.bh-hm-status-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bh-btn-lg {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    transition: all 0.15s ease;
}
.bh-btn-lg i {
    margin-right: 8px;
}
.bh-btn-accent {
    background: linear-gradient(135deg, #00a99d, #059669);
    color: #fff;
    border: none;
}
.bh-btn-accent:hover {
    background: linear-gradient(135deg, #059669, #00a99d);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,169,157,0.3);
}
.bh-btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    border: none;
}
.bh-btn-success:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5,150,105,0.3);
}
.bh-btn-block {
    display: block;
    width: 100%;
}

/* --- Contact Grid --- */
.bh-hm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.bh-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
}
.bh-contact-btn i {
    font-size: 14px;
}

/* --- Form Groups --- */
.bh-form-group {
    margin-bottom: 14px;
}
.bh-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 6px;
}
.bh-form-group input,
.bh-form-group textarea,
.bh-form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    color: #101828;
    background: #fff;
    transition: all 0.15s ease;
    box-sizing: border-box;
    font-family: inherit;
}
.bh-form-group input:focus,
.bh-form-group textarea:focus,
.bh-form-group select:focus {
    outline: none;
    border-color: #00a99d;
    box-shadow: 0 0 0 3px rgba(0,169,157,0.12);
}
.bh-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* --- Radio Group --- */
.bh-radio-group {
    display: flex;
    gap: 12px;
}
.bh-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #344054;
    transition: all 0.15s ease;
    background: #fff;
}
.bh-radio-label:hover {
    border-color: #00a99d;
    background: #f0fdfa;
}
.bh-radio-label input:checked + span {
    color: #00a99d;
}
.bh-radio-label input {
    display: none;
}
.bh-radio-label input:checked ~ span {
    font-weight: 600;
}

/* --- File Upload --- */
.bh-file-upload {
    position: relative;
}
.bh-file-upload input[type=""file""] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.bh-file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed #d0d5dd;
    border-radius: 10px;
    background: #fafbfc;
    color: #667085;
    font-size: 13px;
    gap: 8px;
    transition: all 0.15s ease;
}
.bh-file-upload-label i {
    font-size: 28px;
    color: #98a2b3;
}
.bh-file-upload:hover .bh-file-upload-label {
    border-color: #00a99d;
    background: #f0fdfa;
}

/* --- Materials Table --- */
.bh-materials-table {
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}
.bh-mat-header {
    display: grid;
    grid-template-columns: 1fr 80px 100px;
    gap: 8px;
    padding: 10px 12px;
    background: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid #e8ecf0;
}
.bh-mat-row {
    display: grid;
    grid-template-columns: 1fr 80px 100px;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.bh-mat-row:last-child {
    border-bottom: none;
}
.bh-mat-row input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.bh-mat-row input:focus {
    outline: none;
    border-color: #00a99d;
    box-shadow: 0 0 0 2px rgba(0,169,157,0.1);
}

/* --- Modern Checklist --- */
.bh-checklist-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.bh-check-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.bh-check-item-modern:hover {
    border-color: #d0d5dd;
    background: #f3f4f6;
}
.bh-check-item-modern.bh-check-done {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.bh-check-item-modern.bh-check-done .bh-check-name {
    text-decoration: line-through;
    color: #6b7280;
}
.bh-check-box {
    position: relative;
    flex-shrink: 0;
}
.bh-check-box input {
    position: absolute;
    opacity: 0;
}
.bh-check-mark {
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    transition: all 0.15s ease;
}
.bh-check-item-modern:hover .bh-check-mark {
    border-color: #00a99d;
}
.bh-check-done .bh-check-mark {
    background: #00a99d;
    border-color: #00a99d;
    position: relative;
}
.bh-check-done .bh-check-mark::after {
    content: '?';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
.bh-check-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bh-check-name {
    font-size: 14px;
    font-weight: 500;
    color: #101828;
}
.bh-check-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    background: #fef3c7;
    color: #b45309;
    border-radius: 10px;
    width: fit-content;
}
.bh-check-done-by {
    font-size: 11px;
    color: #059669;
    font-weight: 500;
}

/* --- Improved Materials Display Table --- */
.bh-hm-materials-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.bh-hm-materials-table thead th {
    background: #f9fafb;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    border-bottom: 1px solid #e8ecf0;
}
.bh-hm-materials-table tbody td {
    padding: 12px 14px;
    font-size: 14px;
    color: #344054;
    border-bottom: 1px solid #f3f4f6;
}
.bh-hm-materials-table tbody tr:last-child td {
    border-bottom: none;
}
.bh-hm-materials-table tbody tr:hover {
    background: #f9fafb;
}

/* --- Signature Card on Handyman Dashboard --- */
.bh-hm-approval-card {
    background: #f9fafb;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 16px;
    margin-top: 8px;
}
.bh-hm-approval-card img {
    margin-top: 12px;
}

/* --- Photo Grid Improvements --- */
.bh-hm-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 12px 0;
}
.bh-hm-photo-grid div {
    background: #f9fafb;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 12px;
}
.bh-hm-photo-grid h4 {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.bh-hm-photo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}
.bh-hm-photo-list a {
    display: block;
}
.bh-hm-photo-list img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: opacity 0.15s ease;
}
.bh-hm-photo-list img:hover {
    opacity: 0.8;
}

/* ============================================
   CUSTOMER DASHBOARD IMPROVEMENTS
   ============================================ */

/* Better Signature Display */
.bh-signature-section {
    background: #f9fafb;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 20px;
    margin: 12px 0;
}
.bh-signature-section p {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #344054;
}
.bh-signature-image {
    max-width: 300px;
    max-height: 150px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    display: block;
    margin-top: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Better Photo Grid on Customer Dashboard */
.bh-photo-grid {
    background: #f9fafb;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 16px;
    margin: 12px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.bh-photo-section h3 {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.bh-photo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

/* Timeline improvements */
.bh-timeline-strip {
    background: #f9fafb;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 16px;
    margin: 12px 0;
}

/* Signature form */
.bh-signature-form-wrap {
    background: #f9fafb;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 20px;
    margin: 12px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bh-hm-contact-grid {
        grid-template-columns: 1fr;
    }
    .bh-hm-photo-grid {
        grid-template-columns: 1fr;
    }
    .bh-photo-grid {
        grid-template-columns: 1fr;
    }
    .bh-mat-header,
    .bh-mat-row {
        grid-template-columns: 1fr 60px 80px;
    }
    .bh-hm-section-box {
        padding: 14px;
    }
    .bh-hm-status-btns .bh-btn-lg {
        padding: 10px 14px;
        font-size: 14px;
    }
}
