html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* === מעטפת כללית כהה לכל הדשבורד (גם רשימה וגם הוספה/עריכה) === */
        .my-properties-container { background:#f4f4f4; color:#1b1c1c; border-radius:0; padding:30px 22px; direction:rtl; box-sizing:border-box; opacity:1}
        .my-properties-container h1 { color:#f4f4f4; text-align:center; margin-top:0; }
        .dashboard-tabs { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:26px; }
        .dashboard-tabs button { background:#1b1c1c; color:#f4f4f4; border-radius:50px; padding:10px 22px; font-size:14px; cursor:pointer; transition: background .15s, color .15s; }
        .dashboard-tabs button.active { background:#B7B275; color:#1b1c1c; font-weight:bold; }

        .bp-empty-state { text-align:center; background:#232424; border:1px dashed #f4f4f4; border-radius:24px; padding:35px 20px; }
        .bp-empty-state p { margin-top:0; color:#cfcfcf; }

        /* === כרטיסי דירה ברשימה "הדירות שלי" === */
        .bp-property-list { display:flex; flex-direction:column; gap:16px; width:70%; height:100%; margin: auto;}
        .bp-property-card { display:flex; gap:18px; background:#232424; border:1px solid #3a3b3b; border-radius:24px; padding:16px; align-items:stretch; flex-wrap:wrap; }
        .bp-property-thumb { width:150px; height:150px; flex:0 0 150px; border-radius:18px; overflow:hidden; background:#1b1c1c; display:flex; align-items:center; justify-content:center; }
        .bp-property-thumb img { width:100%; height:100%; object-fit:cover; }
        .bp-property-thumb .no-image { color:#6f6f6f; font-size:12px; text-align:center; padding:10px; }
        .bp-property-body { flex:1 1 220px; min-width:0; display:flex; flex-direction:column; }
        .bp-property-top { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
        .bp-property-top h3 { margin:0; font-size:18px; color:#f4f4f4; }
        .bp-status-badge { border-radius:50px; padding:4px 12px; font-size:11px; font-weight:bold; white-space:nowrap; }
        .bp-status-badge.badge-hidden { background:#B7B275; color:#1b1c1c; }
        .bp-status-badge.badge-active { background:#7fae86; color:#1b1c1c; }
        .bp-property-desc { color:#cfcfcf; font-size:13px; margin:0 0 10px; }
        .bp-property-meta { display:flex; gap:14px; flex-wrap:wrap; font-size:12px; color:#e6e6e6; margin-bottom:12px; }
        .bp-property-meta span strong { color:#f4f4f4; }
        .bp-property-price { font-weight:bold; color:#B7B275; }
        .bp-property-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; }
        .bp-property-actions button { border-radius:50px; padding:8px 18px; font-size:13px; cursor:pointer; border:1px solid #F4F4F4!important; background:transparent; color:#F4F4F4; }
        .bp-property-actions button.primary { background:#B7B275; color:#1b1c1c; font-weight:bold; border:none; }

        /* === טופס הוספה/עריכה === */
        .content-body{ width: 80%; margin:auto;}
        .bp-add-wrap { background:transparent; color:#1b1c1c; padding:0; direction:rtl; margin-top: 10px; }
        .bp-add-wrap h2, .bp-add-wrap h3 { color:#1b1c1c; text-align:center; }
.bp-top-grid { display:grid; grid-template-columns: 6fr 4fr; gap:20px; margin-bottom:30px; align-items:start; }
.bp-images-wrap { display:flex; flex-direction:column; gap:12px; }
.bp-image-main { width:90%; aspect-ratio:0.89; border:2px dashed #1b1c1c; border-radius:24px; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#F4F4F4; box-sizing:border-box; }
.bp-image-slots { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; width:90%; }
.bp-image-slot { position:relative; aspect-ratio:1; border:2px dashed #1b1c1c; border-radius:16px; overflow:hidden; background:#F4F4F4; box-sizing:border-box; }

        .bp-card-dark { background:#F4F4F4;  border-radius:50px; padding:26px 22px; box-sizing:border-box; display:flex; flex-direction:column; min-height:960px;}
.bp-phone-label { padding-top:18px; }
.bp-contact-label { display:block; font-size:13px; color:#1b1c1c; text-align:center; margin-bottom:6px; }
        .bp-email-label {  margin-top:30px;}
        .bp-section-label { display:block; font-size:25px; margin:18px 0 8px; color:#1b1c1c; text-align:center; }

        /* כותרת - נראית כמו כותרת אמיתית, לא כמו תיבת קלט רגילה */
        .bp-title-input {
            width:100%; background:transparent; border: none!important;
            color:#1b1c1c; font-size:28px; font-weight:bold; text-align:center;
            padding:6px 4px 12px; box-sizing:border-box; font-family:inherit;
        }
        .bp-title-input::placeholder { color:gray!important; font-weight:bold; font-size:22px; }
        .bp-title-input:focus { outline:none; }
        .bp-char-counter { text-align:left; font-size:11px; color:#8f8f8f; margin:4px 2px 16px; }
        .bp-char-counter.limit { color:#B7B275; font-weight:bold; }

        /* תיאור - נראה כמו דף עם קווים */
        .bp-desc-textarea {
            width:100%; box-sizing:border-box; background:transparent; color:#1b1c1c;
            border:none;
            padding:14px 14px 10px; font-size:13px; line-height:26px; resize:vertical; min-height:96px;
            background-image: repeating-linear-gradient(to bottom, transparent, transparent 25px,#1b1c1c 25px, rgba(244,244,244,0.35) 26px);
            background-position: 0 7px; font-family:inherit;
        }
        .bp-desc-textarea::placeholder { color:gray!important; line-height:1.5; }
        .bp-desc-textarea:focus { outline:none;  }


    .bp-holiday-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:15px; margin-bottom:16px; }

.bp-holiday-item {
    display:flex; align-items:stretch;
    border-radius: 35px 0 0 35px;
    border: 2px solid #B7B275;
    overflow: hidden;
    background: #fff;
}

.bp-holiday-label {
    width: 110px;
    flex-shrink: 0;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    text-align: center;
    overflow: hidden;
}
.bp-holiday-label span {
    font-size: 17px;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
}
.is-offered .bp-holiday-label { background: #B7B275; }

.bp-holiday-checkbox-wrap { display:flex; align-items:center; flex-shrink:0; }
.bp-holiday-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    outline: none;
    margin: 0;
}
.bp-holiday-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 12px;
    border: solid #1a1a1a;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.bp-holiday-price {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 4px;
    min-width: 0;
}
.bp-holiday-price input {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    font-size: 17px;
    font-weight: bold;
    width: 100%;
    min-width: 0;
    text-align: center;
    color: #111;
    outline: none !important;
    padding: 0;
    -moz-appearance: textfield;
}
.bp-holiday-price input::-webkit-outer-spin-button,
.bp-holiday-price input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.bp-holiday-price input::placeholder { color: #333; letter-spacing: 2px; }
.bp-holiday-price span { font-size: 17px; font-weight: bold; color: #111; flex-shrink: 0; }

@media (max-width: 480px) {
    .bp-holiday-grid { grid-template-columns: 1fr; }
    .bp-holiday-price input { font-size: 14px; }
    .bp-holiday-price span { font-size: 15px; }
    .bp-holiday-price { padding: 0 6px; gap: 2px; }
}
        /* טלפון - כפילה לבנה בולטת, לא כהה כמו שאר השדות */
        .bp-phone-input, .bp-email-contact-input {
            width:100%; box-sizing:border-box; background:#1b1c1c; color:#F4F4F4;
            border:none; border-radius:50px!important; padding:8px 20px; font-weight:bold;
            text-align:center; letter-spacing:1px; font-family:inherit;
        }
        .bp-phone-input { font-size: clamp(14px, 8cqw, 43px); }
        .bp-email-contact-input { font-size: clamp(12px, 6cqw, 22px)!important }

        .bp-phone-input::placeholder { color:#9a9a9a; font-weight:bold; }
        .bp-phone-input:focus { outline:2px solid #B7B275; }
        .bp-email-contact-input::placeholder { color:#9a9a9a; font-weight:bold; }
        .bp-email-contact-input:focus { outline:2px solid #B7B275; }
        
        .bp-image-main img { width:100%; height:100%; object-fit:cover; }
        .bp-image-main .placeholder { color:#9a9a9a; text-align:center; padding:20px; font-size:14px; line-height:1.6; }
        .bp-image-slot .slot-empty { width:100%; height:100%; display:flex; align-items:center; justify-content:center; cursor:pointer; position:relative; }
        .bp-image-slot .slot-empty input[type=file] { position:absolute; inset:0; opacity:0; cursor:pointer; }
        .bp-image-slot .slot-plus { font-size:26px; color:#9a9a9a; pointer-events:none; }
        .bp-image-slot .slot-filled { width:100%; height:100%; position:relative; }
        .bp-image-slot .slot-filled img { width:100%; height:100%; object-fit:cover; cursor:pointer; display:block; }
        .bp-image-slot .slot-remove { position:absolute; top:4px; left:4px; background:#B7B275; color:#1b1c1c; border:none; border-radius:50%; width:20px; height:20px; font-size:12px; cursor:pointer; z-index:2; line-height:1; }
        .bp-image-slot .slot-label { position:absolute; bottom:2px; right:4px; font-size:9px; background:#F4F4F4; color:#1b1c1c; padding:1px 6px; border-radius:6px; pointer-events:none; }
        .bp-section-title { font-size:20px; margin:28px 0 14px; }
        .bp-image-note { display:block; margin-top:14px; text-align:center; color:#1b1c1c; font-size:13px; line-height:1.6; }


        
        .bp-amenities-row { display:flex; gap:22px; flex-wrap:wrap; justify-content:center; margin-bottom:26px; direction:ltr; }
        .bp-amenity-item { background:none; border:none; color:#f4f4f4; display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; font-size:12px; padding:4px; transition: color .15s; direction:rtl; }
        .bp-amenity-item svg { height:32px; width:auto; max-width:40px; color:#f4f4f4; }
        .bp-amenity-icon-circle { display:flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; border:2px solid transparent; box-sizing:border-box; transition: border-color .15s; }
        .bp-amenity-item.active .bp-amenity-icon-circle { border-color:#B7B275; }
        .bp-amenity-item,
        .bp-amenity-item:hover,
        .bp-amenity-item:focus,
        .bp-amenity-item:focus-visible {
            outline: none !important;
            box-shadow: none !important;
            background: none !important;
            background-color: transparent !important;
            border: none !important;
            color: #1b1c1c !important;
        }
        .bp-amenity-item svg,
        .bp-amenity-item:hover svg,
        .bp-amenity-item:focus svg {
            color: #1b1c1c !important;
        }
        .bp-amenity-item.active,
        .bp-amenity-item.active:hover,
        .bp-amenity-item.active:focus {
            color: #B7B275 !important;
        }
        .bp-amenity-item.active svg,
        .bp-amenity-item.active:hover svg {
            color: #B7B275 !important;
        }

        /* === תבנית חץ + הרחבה + תגית ערך, לשדות מספריים/מיקום === */
        .bp-field-icon-wrap { position:relative; display:inline-block; cursor:pointer; }
        .bp-field-badge { position:absolute; top:-6px; left:-8px; background:#B7B275; color:#1b1c1c; font-size:10px; font-weight:bold; border-radius:50%; min-width:17px; height:17px; padding:0 3px; display:flex; align-items:center; justify-content:center; }
        .bp-address-value { display:block; margin-top:6px; font-size:13px; font-weight:bold; color:#1b1c1c; text-align:center; }
        .bp-field-row { display:flex; align-items:center; justify-content:center; gap:1px; margin-top:4px; }
        .bp-field-arrow {
            background:none; border:none!important; color:#1b1c1c!important; cursor:pointer;
            width: 17px; height: 17px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            font-size:13px; padding:0; line-height:1; transition: transform .15s;
        }
        .bp-field-arrow,
        .bp-field-arrow:hover,
        .bp-field-arrow:focus,
        .bp-field-arrow:focus-visible {
            outline:none !important; box-shadow:none !important; background:none !important; color:#1b1c1c !important;
        }
        .bp-field-arrow.open { transform: rotate(180deg); }
        .bp-field-expand { margin-top:8px; width:100%; }
        .bp-field-expand input {
            width:100%; box-sizing:border-box; background:#F4F41B1C; color:#1b1c1c; border:1px solid #1b1c1c!important;
            border-radius:50px !important; padding:6px 12px!important; text-align:center; font-size:14px; font-weight:bold;
        }
        .bp-amenity-qty-item { display:flex; flex-direction:column; align-items:center; gap:6px; color:#1b1c1c; direction:rtl; }
        .bp-amenity-qty-item svg { height:42px; width:auto;  color:#1b1c1c; }
        .bp-date-range-field { flex: 0 1 100px; min-width: 90px; }
        .bp-date-range-field.is-open { flex: 0 1 170px; min-width: 150px; }
        .bp-details-grid .field.bp-date-range-field { flex: 0 1 100px; min-width: 90px; }
        .bp-details-grid .field.bp-date-range-field.is-open { flex: 0 1 170px; min-width: 150px; }
        .bp-date-range-box { display:flex; align-items:center; background:#F4F4F4; border:1px solid #1b1c1c; border-radius:50px; padding:6px 14px; gap:8px; width:fit-content}
        .bp-date-half { flex:1; display:flex; align-items:center; gap:6px; min-width:0; background:none; border:none; cursor:pointer; color:#1b1c1c!important; font-family:inherit; padding:2px; }
        .bp-date-half,
        .bp-date-half:focus,
        .bp-date-half:focus-visible {
            outline:none !important; box-shadow:none !important; background:none !important;
        }
        .bp-date-half:hover { background:#B7B275 !important; }
        .bp-date-half:hover .bp-date-half-label { color:#1b1c1c !important; }
        .bp-date-half-label { font-size:12px; color:#1b1c1c; white-space:nowrap; }
        .bp-date-half span:last-child { font-size:12px; color:#1b1c1c; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .bp-date-divider { width:1px; height:20px; background:#4a4a4a; flex-shrink:0; }

        .bp-hebrew-calendar {
            position:absolute; top:calc(100% + 8px); right:0; width:290px; max-width:calc(100vw - 40px); z-index:50;
            background:#F4F4F4; border:1px solid #1b1c1c; border-radius:16px; padding:14px; box-sizing:border-box;
            box-shadow:0 10px 30px rgba(0,0,0,0.4);
        }
        .cal-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; font-size:13px; font-weight:bold; color:#1b1c1c; }
        .cal-header button { background:none; border:none; color:#1b1c1c; font-size:16px; cursor:pointer; padding:2px 8px; }
        .cal-header button,
        .cal-header button:hover,
        .cal-header button:focus,
        .cal-header button:focus-visible {
            outline: none !important;
            box-shadow: none !important;
            background: none !important;
            color: #1b1c1c !important;
        }        
        .cal-mode-tabs { display:flex; gap:6px; margin-bottom:10px; }
        .bp-hebrew-calendar .cal-mode-tabs button { flex:1; background: #1b1c1c, !important; color:#f4f4f4!important; border-radius:50px; padding:5px; font-size:11px; cursor:pointer; }
        .bp-hebrew-calendar .cal-mode-tabs button.active { background:#B7B275; border-color:#B7B275; color:#1b1c1c; font-weight:bold; }
        .bp-hebrew-calendar .cal-mode-tabs button,
        .bp-hebrew-calendar .cal-mode-tabs button:hover,
        .bp-hebrew-calendar .cal-mode-tabs button:focus,
        .bp-hebrew-calendar .cal-mode-tabs button:focus-visible {
            outline:none !important; box-shadow:none !important;
            background:#1b1c1c !important; border-color:rgba(244,244,244,0.35) !important; color:#f4f4f4 !important;
        }
        .bp-hebrew-calendar .cal-mode-tabs button.active,
        .bp-hebrew-calendar .cal-mode-tabs button.active:hover,
        .bp-hebrew-calendar .cal-mode-tabs button.active:focus {
            background:#B7B275 !important; border-color:#B7B275 !important; color:#1b1c1c !important;
        }
        .cal-grid { display:flex; flex-direction:column; gap:4px; }
        .cal-week { display:flex !important; gap:4px; width:100%; }
        .cal-day {
            flex:1 1 0 !important; aspect-ratio:1; background:#1b1c1c !important; border:1px solid rgba(244,244,244,0.2) !important;
            color:#f4f4f4 !important; border-radius:8px; font-size:11px; cursor:pointer;
            display:flex !important; align-items:center; justify-content:center; min-width:0; box-shadow:none !important; outline:none !important;
        }
        .cal-day.empty { visibility:hidden !important; pointer-events:none; cursor:default; }
        .cal-day.endpoint { background:#B7B275 !important; border-color:#B7B275 !important; color:#1b1c1c !important; font-weight:bold; }
        .cal-day.in-range { background:rgba(183,178,117,0.3) !important; border-color:rgba(183,178,117,0.4) !important; color:#f4f4f4 !important; }
        .cal-close { width:100%; margin-top:12px; background:#1b1c1c; color:#F4F4F4; border-radius:50px; padding:6px; font-size:12px; cursor:pointer; }
        .bp-details-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-bottom:26px; direction:rtl; }
        .bp-details-grid .field { flex:0 1 100px; min-width:90px; direction:rtl; display:flex; flex-direction:column; align-items:center; }
        .bp-details-grid .field-icon { display:block; margin-bottom:6px; height:67px; width:auto; max-width:30px; color:#f4f4f4; }
        .bp-details-grid .field-icon svg { height:100%; width:auto; display:block; color:#1b1c1c; }
        .bp-details-grid .field label { display:block; font-size:13px; margin-bottom:6px; color:#1b1c1c; text-align:center; }
        .bp-details-grid .field input { width:100%; background:rgba(244, 244, 27, 0.11); border:1px solid #1b1c1c; color:#1b1c1c; border-radius:50px; padding:8px 10px; text-align:center; font-size:13px; box-sizing:border-box; }
        .bp-details-grid .field.field-disabled { opacity:0.55; }
        .bp-details-grid .field.field-disabled input { cursor:not-allowed; }
        .bp-details-grid .field .soon-badge { font-size:9px; background:#1b1c1c; color:#F4F4F4; border-radius:20px; padding:1px 6px; margin-right:4px; font-weight:bold; }
        .bp-form-note { text-align:center; font-size:12px; color:#8f8f8f; margin-top:-16px; margin-bottom:0; }
        .bp-details-container { background:#F4F4F4; border:1px solid #1b1c1c; border-radius:50px; padding:26px 22px; box-sizing:border-box; }
        .bp-details-container .bp-amenities-row { margin-bottom:0; }
        .bp-section-divider { height:1px; background:#1b1c1c; margin:24px 0; }
        .bp-buttons-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:22px; }
        .bp-btn { border-radius:50px; padding:14px 34px; font-size:15px; font-weight:bold; cursor:pointer; border:1px solid #f4f4f4; }
        .bp-btn-save { background: #b7b275 !important; color: #1b1c1c !important; border:none!important; border-radius:50px!important; font-size: 43px!important; padding: 0px 50px !important;    height: fit-content;}
        .bp-btn-outline { background:#1b1c1c!important; color:#F4F4F4!important; border-radius:50px!important;font-size: 43px!important; padding: 0px 50px !important;   height: fit-content;}
        .bp-btn-save:hover, .bp-btn-save:focus, .bp-btn-save:focus-visible {
            outline:none !important; box-shadow:none !important; background:#B7B275 !important; border-color:#B7B275 !important; color:#1b1c1c !important;
        }
        .bp-btn-outline:hover, .bp-btn-outline:focus, .bp-btn-outline:focus-visible {
            outline:none !important; box-shadow:none !important; background:transparent !important; border-color:#B7B275 !important; color:#B7B275 !important;
        }
        .bp-btn:disabled { opacity:.6; cursor:not-allowed; }
        .bp-status-note { text-align:center; font-size:13px; color:#1b1c1c; margin-bottom:10px; }

        /* === ריספונסיביות === */
        @media (min-width: 781px) and (max-width: 1024px) {
            .bp-top-grid { grid-template-columns: 1fr; }
            .bp-card-dark { width: 100%; }

            .bp-details-container { border: none; padding: 10px; }
            .bp-section-divider { display: none; }
            .bp-details-container .bp-section-title { display: none; }
            .bp-amenities-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
            .bp-amenity-item svg, .bp-amenity-qty-item svg { height: 40px; }
            .bp-amenity-icon-circle { width: 38px; height: 38px; }
            .bp-holiday-grid { gap: 8px 6px; }
            .bp-holiday-label { padding: 10px 6px; font-size: 12px; }
            .bp-holiday-price input { font-size: 15px; }
            .bp-holiday-price { padding: 0 4px; }
        }
        @media (max-width: 780px) {
            .my-properties-container { padding:20px 14px;  }
            .bp-property-card { flex-direction:column; }
            .bp-property-thumb { width:100%; height:180px; flex-basis:auto; }
            .bp-image-slots { grid-template-columns:repeat(2,1fr); gap:8px; }
            .bp-amenities-row { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; justify-items:center; }
            .bp-top-grid { grid-template-columns: 1fr; }
            .bp-card-dark { width:100%; max-width:100%; }
            .bp-holiday-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 480px) {
            .my-properties-container { padding:20px 0px;  }
            .bp-details-grid .field { flex:1 1 20%!important; min-width:0!important; }
            .bp-date-range-field { flex:1 1 100%; }
            .bp-buttons-row .bp-btn { flex:1 1 100%; }
            .dashboard-tabs button { flex:1 1 auto; padding:10px 12px; font-size:13px; }
            .bp-section-label { font-size:13px; }
            .bp-title-input::placeholder { font-size: 15px; }
            .bp-title-input { font-size: 20px; }
            .bp-btn-save, .bp-btn-outline { font-size: 20px !important;    padding: 0 0 !important; }
            .bp-details-container { border: none; padding: 10px; }
            .bp-section-divider { display: none; }
            .bp-details-container .bp-section-title { display: none; }
            .bp-details-grid svg { height: 40px!important; }
            .bp-amenities-row { grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 14px; }
            .bp-amenity-item svg, .bp-amenity-qty-item svg { height: 40px; }
            .bp-amenity-icon-circle { width: 38px; height: 38px; }
        }