﻿/* ============================================
   Property Form (ویرایش اقامتگاه)
   کیف: گرم/ادیتوریل — شن #EAE5DC، سبز #0F5446، مرجانی #F03E58
   ============================================ */

/* ---------- Shell & header ---------- */
.to-tab-panel {
    background: #fff;
    border: 1px solid #EAE5DC;
    border-radius: 16px;
    overflow: hidden;
}
.to-tab-panel__header {
    padding: 18px 22px;
    background: linear-gradient(135deg, #0F5446 0%, #14705D 100%);
    color: #fff;
}
.to-tab-panel__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.to-tab-panel__desc {
    margin: 4px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}

/* ---------- Tabs ---------- */
.to-form-tabs {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #EAE5DC;
    overflow-x: auto;
    scrollbar-width: thin;
}
.to-form-tab {
    padding: 8px 14px;
    background: #F5F2EC;
    border: 1px solid #EAE5DC;
    border-radius: 999px;
    color: #4B5563;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s ease;
}
.to-form-tab:hover {
    color: #0F5446;
    border-color: #C9DCD2;
    background: #EEF5F1;
}
.to-form-tab.is-active {
    background: #0F5446;
    color: #fff;
    border-color: #0F5446;
    box-shadow: 0 2px 8px rgba(15, 84, 70, .25);
}

/* ---------- Body / sections ---------- */
.to-form-body {
    padding: 28px;
}
.to-form-section {
    display: none;
}
.to-form-section.is-active {
    display: block;
    animation: toFadeIn .22s ease;
}
@keyframes toFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Grid & fields ---------- */
.to-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.to-form-grid--compact {
    gap: 14px;
}
.to-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.to-field--full {
    grid-column: 1 / -1;
}
.to-field label {
    font-weight: 600;
    font-size: 13px;
    color: #1F2937;
}
.to-field .required {
    color: #F03E58;
}
.to-field input,
.to-field select,
.to-field textarea {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #EAE5DC;
    border-radius: 12px;
    background: #FBF9F6;
    color: #1F2937;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.to-field textarea {
    height: auto;
    padding: 10px 12px;
    min-height: 96px;
    resize: vertical;
}
.to-field input:hover,
.to-field select:hover,
.to-field textarea:hover {
    border-color: #D6CBB9;
}
.to-field input:focus,
.to-field select:focus,
.to-field textarea:focus {
    outline: 0;
    border-color: #0F5446;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 84, 70, .12);
}
.to-field__hint {
    font-size: 11.5px;
    color: #6B7280;
    line-height: 1.7;
}
.to-notice {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.8;
}
.to-notice--warning {
    background: #FFF4E5;
    border: 1px solid #F5D9A0;
    color: #8A5A00;
}

/* ---------- Pricing note ---------- */
.to-pricing-note {
    background: #E8F2EE;
    padding: 14px 18px;
    border-radius: 12px;
    border-right: 4px solid #0F5446;
    font-size: 13px;
    color: #0B3F35;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ---------- Nights range ---------- */
.to-nights-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* ---------- Allow-extra box ---------- */
.to-allow-extra-box {
    background: #FBF9F6;
    border: 1px solid #EAE5DC;
    border-radius: 14px;
    padding: 16px 18px;
}
.to-allow-extra-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.to-allow-extra-checkbox input,
.to-events-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #0F5446;
    flex-shrink: 0;
    cursor: pointer;
}
.to-allow-extra-checkbox-text,
.to-events-checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.to-allow-extra-checkbox-text strong,
.to-events-checkbox-text strong {
    font-size: 14px;
    color: #1F2937;
}
.to-allow-extra-checkbox-desc,
.to-events-checkbox-desc {
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.7;
}

/* ---------- Events box ---------- */
.to-events-box {
    background: #FBF9F6;
    border: 1px solid #EAE5DC;
    border-radius: 14px;
    padding: 16px 18px;
}
.to-events-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.to-events-fields {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px dashed #EAE5DC;
}
.to-events-warning {
    margin-top: 14px;
    padding: 12px 16px;
    background: #FFF4E5;
    border: 1px solid #F5D9A0;
    border-radius: 12px;
    font-size: 12.5px;
    color: #8A5A00;
    line-height: 1.8;
}
.to-events-warning strong {
    color: #5C4520;
}

/* ---------- Income preview ---------- */
.to-income-preview {
    margin-top: 20px;
    background: #FBF9F6;
    border: 1px solid #EAE5DC;
    border-radius: 14px;
    padding: 18px;
}
.to-income-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.to-income-preview__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-items: center;
    margin-bottom: 12px;
}
.to-income-preview__title {
    font-size: 15px;
    font-weight: 800;
    color: #0F5446;
}
.to-income-preview__nights {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #6B7280;
}
.to-income-preview__nights input {
    width: 36px;
    height: 34px;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
    background: #fff;
    border: 1px solid #EAE5DC;
    border-radius: 9px;
}
.to-income-preview__nights input:focus {
    outline: 0;
    border-color: #0F5446;
    box-shadow: 0 0 0 3px rgba(15, 84, 70, .12);
}
.to-income-preview__guest-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.to-income-guest-counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid #EAE5DC;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.to-income-guest-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #EAE5DC;
    background: #fff;
    color: #1F2937;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s;
}
.to-income-guest-btn:hover {
    background: #F4EFE6;
    border-color: #D6CBB9;
}
.to-income-guest-input {
    width: 32px;
    height: 32px;
    padding: 0;
    box-sizing: border-box;
    border: none;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
    background: #fff;
}
.to-income-guest-input:focus {
    outline: 0;
}
.to-income-guest-range {
    font-size: 12.5px;
    color: #6B7280;
}
.to-income-guest-range strong {
    color: #0F5446;
}
/* نوع واحد رزرو (شبانه/روزانه) — رادیو اجباری */
.to-pricing-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}
.to-pricing-mode__opt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
}
.to-pricing-mode__opt input { width: auto !important; height: auto !important; margin: 0; }

.to-discounts .to-field input[type="number"] {
    width: 84px;
    min-width: 0;
}
@media (max-width: 640px) {
    .to-income-preview__controls {
        grid-template-columns: 1fr;
    }
    .to-income-preview__guest-row {
        width: 100%;
    }
}
.to-income-breakdown {
    background: #fff;
    border: 1px solid #EAE5DC;
    border-radius: 12px;
    padding: 6px 14px;
}
.to-income-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: #4B5563;
    border-bottom: 1px dashed #EAE5DC;
}
.to-income-row:last-child {
    border-bottom: 0;
}
.to-income-row--total {
    color: #1F2937;
    font-weight: 800;
}
.to-income-row--commission {
    color: #6B7280;
    font-size: 12.5px;
}
.to-income-row--net {
    border-top: 1px solid #EAE5DC;
    color: #0F5446;
    font-weight: 800;
}
.to-income-preview__footer {
    margin-top: 14px;
    padding: 12px 14px;
    background: #FFFBF5;
    border: 1px solid #F5E6D3;
    border-radius: 12px;
}
.to-income-preview__hint-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #5C4520;
    margin-bottom: 6px;
}
.to-income-preview__hint-list {
    margin: 0;
    padding-right: 18px;
    font-size: 12px;
    color: #8B6A3A;
    line-height: 1.9;
}
.to-income-preview__hint-note {
    margin-top: 8px;
    font-size: 12px;
    color: #8B6A3A;
    line-height: 1.8;
}

/* ---------- Booking type (رزرو آنی / درخواست) ---------- */
.to-booking-type-intro {
    margin-bottom: 18px;
}
.to-booking-type-intro__title {
    font-size: 16px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 6px;
}
.to-booking-type-intro__desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.8;
}
.to-booking-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.to-booking-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid #EAE5DC;
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.to-booking-type-card:hover {
    border-color: #C9DCD2;
    box-shadow: 0 6px 18px rgba(15, 84, 70, .08);
    transform: translateY(-2px);
}
.to-booking-type-card.is-selected {
    border-color: #0F5446;
    background: #F1F8F4;
    box-shadow: 0 0 0 4px rgba(15, 84, 70, .12), 0 8px 24px rgba(15, 84, 70, .1);
}
.to-booking-type-card__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.to-booking-type-card__badge {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #F03E58;
    color: #fff;
    box-shadow: 0 2px 8px rgba(240, 62, 88, .35);
}
.to-booking-type-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.to-booking-type-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.to-booking-type-card__icon--green {
    background: #E8F2EE;
}
.to-booking-type-card__icon--orange {
    background: #FFF4E5;
}
.to-booking-type-card__title {
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    color: #1F2937;
}
.to-booking-type-card__check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #D6CBB9;
    flex-shrink: 0;
    transition: all .18s;
}
.to-booking-type-card.is-selected .to-booking-type-card__check {
    border-color: #0F5446;
    background: #0F5446;
    box-shadow: inset 0 0 0 4px #F1F8F4;
}
.to-booking-type-card__desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 14px;
}
.to-booking-type-card__features {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.to-booking-type-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.6;
}
.to-booking-type-card__features li.is-pro {
    color: #1F2937;
}
.to-booking-type-card__features li.is-con {
    color: #9A6A00;
}
.to-booking-type-card__mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.to-booking-type-card__features li.is-pro .to-booking-type-card__mark {
    background: #E8F2EE;
    color: #0F5446;
}
.to-booking-type-card__features li.is-con .to-booking-type-card__mark {
    background: #FFF4E5;
    color: #9A6A00;
}
.to-booking-type-card__footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #EAE5DC;
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.7;
}
.to-booking-type-card__footer strong {
    color: #0F5446;
}
.to-booking-type-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: #E8F2EE;
    border-radius: 12px;
    font-size: 12.5px;
    color: #0B3F35;
    line-height: 1.8;
}

/* ---------- Amenities ---------- */
.to-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.to-amenity-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #FBF9F6;
    border: 1.5px solid #EAE5DC;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    color: #1F2937;
    transition: all .15s;
}
.to-amenity-checkbox:hover {
    border-color: #C9DCD2;
    background: #F1F8F4;
}
.to-amenity-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #0F5446;
    flex-shrink: 0;
    cursor: pointer;
}
.to-amenity-checkbox:has(input:checked) {
    background: #E8F2EE;
    border-color: #0F5446;
    color: #0F5446;
    font-weight: 600;
}

/* ---------- Map hint ---------- */
.to-map-hint {
    background: #FBF9F6;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.9;
}
.to-map-hint a {
    color: #0F5446;
    font-weight: 600;
}

/* ---------- Capacity summary ---------- */
.to-capacity-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 16px;
    background: #E8F2EE;
    border: 1px solid #CDE2D5;
    border-radius: 12px;
    font-size: 13px;
    color: #0B3F35;
}
.to-capacity-summary strong {
    color: #0F5446;
}

/* ---------- Gallery ---------- */
.to-gallery-intro {
    background: linear-gradient(135deg, #E8F2EE, #fff);
    padding: 20px 24px;
    border-radius: 14px;
    border-right: 4px solid #0F5446;
    margin-bottom: 20px;
}
.to-gallery-intro__title {
    font-size: 15px;
    font-weight: 800;
    color: #0B3F35;
    margin-bottom: 6px;
}
.to-gallery-intro__desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.9;
}
.to-gallery-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: #E8F2EE;
    color: #0F5446;
    border: 2px dashed #9CC7B0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 16px;
}
.to-gallery-add:hover {
    background: #DCEBE3;
    border-color: #0F5446;
}
.to-gallery-hintbar {
    background: #E8F2EE;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 12px;
    color: #0B3F35;
    margin-bottom: 14px;
    line-height: 1.8;
}
.to-gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.to-gallery-item {
    position: relative;
    background: #fff;
    border: 2px solid #EAE5DC;
    border-radius: 14px;
    overflow: hidden;
    transition: all .2s;
}
.to-gallery-item:hover {
    border-color: #9CC7B0;
    box-shadow: 0 4px 12px rgba(15, 84, 70, .08);
}
.to-gallery-item.is-featured {
    border-color: #E8A317;
}
.to-gallery-item.is-empty-alt {
    border-color: #F5D9A0;
}
.to-gallery-item__drag {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, .95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #6B7280;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
    pointer-events: none;
}
.to-gallery-item__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F3F0EA;
}
.to-gallery-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.to-gallery-item__featured-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .95);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    font-family: inherit;
}
.to-gallery-item__featured-btn:hover {
    transform: scale(1.1);
}
.to-gallery-item.is-featured .to-gallery-item__featured-btn {
    background: #E8A317;
}
.to-gallery-item__remove {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: rgba(214, 69, 69, .95);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    font-family: inherit;
    z-index: 2;
}
.to-gallery-item__remove:hover {
    background: #D64545;
    transform: scale(1.1);
}
.to-gallery-item__caption {
    padding: 10px;
    background: #fff;
    border-top: 1px solid #EAE5DC;
}
.to-gallery-item__caption-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 6px;
}
.to-gallery-item__caption-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1.5px solid #EAE5DC;
    border-radius: 10px;
    font-family: inherit;
    font-size: 12px;
    color: #1F2937;
    text-align: right;
    background: #fff;
    transition: all .15s;
}
.to-gallery-item__caption-input:focus {
    outline: none;
    border-color: #0F5446;
    box-shadow: 0 0 0 3px rgba(15, 84, 70, .12);
}
.to-gallery-item.is-empty-alt .to-gallery-item__caption-input {
    background: #FFFBEF;
    border-color: #F5D9A0;
}
.to-gallery-suggestions {
    margin-top: 20px;
    padding: 16px 20px;
    background: #FFFBF5;
    border: 1px solid #F5E6D3;
    border-radius: 14px;
}
.to-gallery-suggestions__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.to-gallery-suggestions__title {
    font-size: 12px;
    color: #8B6A3A;
    line-height: 1.8;
    flex: 1;
    min-width: 200px;
}
.to-gallery-suggestions__current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #E8F2EE;
    border-radius: 999px;
    font-size: 12px;
    color: #0B3F35;
    white-space: nowrap;
}
.to-gallery-suggestions__current strong {
    color: #0F5446;
}
.to-gallery-suggestions__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.to-gallery-chip {
    padding: 7px 14px;
    background: #fff;
    border: 1.5px solid #E8D5B0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    color: #5C4520;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.to-gallery-chip:hover {
    background: #E8F2EE;
    border-color: #0F5446;
    color: #0F5446;
    transform: translateY(-1px);
}
.to-gallery-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 20px;
    padding: 14px 18px;
    background: #FBF9F6;
    border-radius: 12px;
    font-size: 12px;
    color: #6B7280;
}
.to-gallery-tips__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.to-gallery-empty {
    text-align: center;
    padding: 40px 20px;
    background: #FBF9F6;
    border: 2px dashed #EAE5DC;
    border-radius: 14px;
    font-size: 13px;
    color: #6B7280;
    margin-top: 16px;
}

/* ---------- Footer / buttons ---------- */
.to-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 22px;
    background: #FBF9F6;
    border-top: 1px solid #EAE5DC;
}
.to-form-footer__messages {
    flex: 1;
    min-width: 220px;
}
.to-form-message {
    font-size: 13px;
    line-height: 1.7;
}
.to-form-message.is-error {
    color: #D64545;
}
.to-form-message.is-success {
    color: #0F5446;
}
.to-form-footer__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.to-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
    user-select: none;
}
.to-btn:disabled,
.to-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}
.to-btn--sm {
    padding: 9px 16px;
    font-size: 12.5px;
}
.to-btn--lg {
    padding: 14px 30px;
    font-size: 14px;
}
.to-btn--primary {
    background: #F03E58;
    color: #fff;
}
.to-btn--primary:hover {
    background: #C61731;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(240, 62, 88, .25);
}
.to-btn--accent {
    background: #E8A317;
    color: #fff;
}
.to-btn--accent:hover {
    background: #d6940e;
    color: #fff;
    transform: translateY(-1px);
}
.to-btn--outline {
    background: transparent;
    color: #F03E58;
    border: 1.5px solid #F03E58;
}
.to-btn--outline:hover {
    background: #F03E58;
    color: #fff;
}
.to-btn--ghost {
    background: transparent;
    color: #6B7280;
    border: 1.5px solid #E5E7EB;
}
.to-btn--ghost:hover {
    background: #F8F9FF;
    color: #C61731;
    border-color: #FDDBDF;
}

/* ---------- Override سراسری ورودی‌ها (غلبه بر Elementor Kit / reset) ---------- */
.to-property-form .to-field input,
.to-property-form .to-field select,
.to-property-form .to-field textarea {
    border: 1px solid #EAE5DC !important;
    background: #FBF9F6 !important;
    color: #1F2937 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}
.to-property-form .to-field input:hover,
.to-property-form .to-field select:hover,
.to-property-form .to-field textarea:hover {
    border-color: #D6CBB9 !important;
}
.to-property-form .to-field input:focus,
.to-property-form .to-field select:focus,
.to-property-form .to-field textarea:focus {
    outline: 0 !important;
    border-color: #0F5446 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(15, 84, 70, .12) !important;
}
.to-property-form .to-nights-range input {
    font-weight: 400 !important;
}
.to-property-form .to-income-guest-btn {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* ── تضمین مینیمال/خنثی برای شمارندهٔ −/+ درآمد (لایت) ── */
.to-property-form .to-income-guest-counter {
    background: #fff !important;
    border: 1px solid #EAE5DC !important;
}
.to-property-form .to-income-guest-btn,
.to-property-form .to-income-guest-btn:hover {
    background: #fff !important;
    border: 1px solid #EAE5DC !important;
    color: #1F2937 !important;
    box-shadow: none !important;
}
.to-property-form .to-income-guest-input {
    background: #fff !important;
    color: #1F2937 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .to-form-body {
        padding: 20px 16px;
    }
    .to-form-grid,
    .to-nights-range,
    .to-booking-type-grid {
        grid-template-columns: 1fr;
    }
    .to-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .to-form-footer__actions {
        justify-content: flex-end;
    }
}

/* آیکن‌های SVG فرم */
.to-property-form .to-svg-icon { display:inline-block; vertical-align:-3px; flex-shrink:0; }
.to-booking-type-card__icon .to-svg-icon { color:inherit; }
.to-gallery-add__icon .to-svg-icon, .to-gallery-item__featured-btn .to-svg-icon, .to-gallery-item__remove .to-svg-icon { display:block; }
.to-gallery-item__remove .to-svg-icon { color:#fff; }
.to-gallery-item__featured-btn .to-svg-icon { color:var(--to-accent, #E8A317); }
.to-gallery-item.is-featured .to-gallery-item__featured-btn .to-svg-icon { color:#fff; }

/* --- editor neutralization: no bg on icons, site font --- */
.to-property-form .mce-container,
.to-property-form .mce-container *:not(.mce-ico) { font-family: inherit !important; }
/* icon font must stay tinymce so glyphs render */
.to-property-form .mce-ico,
#to-property-form .mce-toolbar .mce-btn .mce-ico,
#to-property-form .mce-toolbar .mce-btn-group .mce-btn .mce-ico {
    font-family: 'tinymce', 'tinymce-small', Arial !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 16px !important;
    line-height: 16px !important;
    text-shadow: none !important;
}
.to-property-form .mce-toolbar .mce-btn,
.to-property-form .mce-toolbar .mce-btn-group .mce-btn,
.to-property-form .wp-editor-container .quicktags-toolbar .button,
.to-property-form .wp-editor-container .quicktags-toolbar .ed_button {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #223339 !important;
}
.to-property-form .mce-toolbar .mce-btn:hover,
.to-property-form .mce-toolbar .mce-btn.mce-active {
    background: transparent !important;
    border-color: transparent !important;
}
.to-property-form .mce-toolbar .mce-btn button { color: inherit !important; }

/* final editor-hard reset: kill any global button bg (green) on inner <button> + icon */
#to-property-form .mce-toolbar .mce-btn,
#to-property-form .mce-toolbar .mce-btn-group .mce-btn,
#to-property-form .wp-editor-container .quicktags-toolbar .button,
#to-property-form .wp-editor-container .quicktags-toolbar .ed_button {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    color: #223339 !important;
}
#to-property-form .mce-toolbar .mce-btn button,
#to-property-form .mce-toolbar .mce-btn-group .mce-btn button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #223339 !important;
}
#to-property-form .mce-toolbar .mce-btn .mce-ico,
#to-property-form .mce-toolbar .mce-btn-group .mce-btn .mce-ico {
    color: #223339 !important;
    text-shadow: none !important;
}
#to-property-form .mce-toolbar .mce-btn:hover,
#to-property-form .mce-toolbar .mce-btn.mce-active,
#to-property-form .mce-toolbar .mce-btn:focus {
    background: transparent !important;
    border-color: transparent !important;
}
#to-property-form .mce-toolbar,
#to-property-form .mce-toolbar-grp,
#to-property-form .mce-menubar,
#to-property-form .mce-panel {
    background: #fff !important;
}

/* --- back-to-list button: white bg, dark font --- */
.to-tab-panel__header .to-btn--ghost {
    background: #fff !important;
    color: #223339 !important;
    border-color: #D5E0DE !important;
}
.to-tab-panel__header .to-btn--ghost:hover { background: #F0F7F5 !important; }

/* --- gallery inner tabs (images / video) --- */
.to-gallery-subtabs { display: flex; gap: 8px; margin: 4px 0 16px; flex-wrap: wrap; }
.to-gallery-subtab {
    font: inherit; font-size: 13px; cursor: pointer;
    padding: 6px 14px; border-radius: 999px;
    background: transparent; color: #3E4946;
    border: 1px dashed rgba(14, 77, 60, .32);
    transition: background .15s, border-color .15s, color .15s;
}
.to-gallery-subtab:hover { border-color: rgba(14, 77, 60, .55); }
.to-gallery-subtab.is-active {
    background: #E8F2EE; color: #0E4D3C; font-weight: 700;
    border: 1px solid #0E4D3C;
}
.to-gallery-subpanel[hidden] { display: none; }

/* ── رفع چیدمان دکمه افزودن عکس (آیکن بالا/متن پایین) ── */
.to-property-form .to-gallery-add {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
}
.to-gallery-add__icon {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

/* ── اعلان تب ویدئو ── */
.to-gallery-video__notice {
    background: #E8F2EE;
    border: 1px solid #C4DECF;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12.5px;
    color: #0B3F35;
    line-height: 1.8;
    margin: 0 0 14px;
}

/* ── خنثی‌سازی پس‌زمینه ویرایشگر (تب پایه) ── */
.to-property-form .wp-editor-container,
.to-property-form .mce-panel,
.to-property-form .mce-toolbar-grp,
.to-property-form .mce-statusbar,
.to-property-form #wp-to-content-wrap {
    background: #fff !important;
    border-color: #D5E0DE !important;
    color: #223339 !important;
}
.to-property-form .mce-statusbar {
    border-top: 1px solid #E2E8F0 !important;
    font-family: inherit !important;
}
#to-content_ifr {
    background: #fff !important;
}
.to-property-form .mce-edit-area,
.to-property-form .mce-edit-area iframe {
    background: #fff !important;
}

/* --- video block --- */
.to-gallery-video { margin-top: 4px; }
.to-gallery-video > label { display: block; font-weight: 600; margin-bottom: 6px; color: #223339; }
.to-gallery-video__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.to-gallery-video__row input { flex: 1 1 260px; min-width: 0; }
.to-gallery-video__row .to-btn { display: inline-flex; align-items: center; gap: 6px; }
.to-gallery-video__preview { position: relative; margin-top: 12px; }
.to-gallery-video__preview[hidden] { display: none; }
.to-gallery-video__preview video {
    width: 100%; max-height: 420px; object-fit: cover;
    background: #000; border-radius: 12px; display: block;
}
.to-gallery-video__clear {
    position: absolute; top: 8px; inset-inline-start: 8px;
    width: 30px; height: 30px; border-radius: 999px;
    border: 0; background: rgba(0,0,0,.55); color: #fff;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.to-gallery-video__clear:hover { background: rgba(185,28,28,.85); }
.to-gallery-video__hint { margin-top: 8px; font-size: 12px; color: #6B7671; }

/* --- form tabs: very subtle bg, smaller font (hard override vs Elementor kit) --- */
#to-property-form .to-form-tab {
    padding: 5px 11px;
    background: #F7F5F0 !important;
    border: 1px solid #ECE7DF !important;
    color: #3E4946 !important;
    font-size: 12px !important;
    box-shadow: none !important;
}
#to-property-form .to-form-tab:hover {
    color: #0F5446 !important;
    border-color: #C9DCD2 !important;
    background: #EEF5F1 !important;
}
#to-property-form .to-form-tab.is-active {
    background: #E8F2EE !important;
    color: #0E4D3C !important;
    border: 1px solid #0E4D3C !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

/* --- labels slightly smaller inside all tabs --- */
.to-property-form .to-field label {
    font-size: 12.5px;
}

/* --- money inputs: thousands separator + Persian words --- */
.to-property-form .to-money-input {
    font-variant-numeric: tabular-nums;
    letter-spacing: .3px;
}
.to-property-form .to-price-words {
    display: block;
    font-size: 12px;
    line-height: 1.6;
    color: #0E4D3C;
    font-weight: 600;
    min-height: 18px;
}

/* --- submit icon --- */
.to-btn--lg .to-btn__ico { display: inline-flex; vertical-align: -3px; margin-inline-end: 7px; }
.to-btn--primary .to-btn__ico svg { display: block; }

/* --- video panel copy + aparat box --- */
.to-gallery-video__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.to-gallery-video__title { font-weight: 700; color: #223339; font-size: 14px; }
.to-gallery-video__badge {
    font-size: 11px; font-weight: 700; color: #3B82F6;
    background: #EFF6FF; border: 1px solid #BFD8F8;
    padding: 2px 8px; border-radius: 999px;
}
.to-gallery-video__desc { font-size: 13px; color: #6B7671; margin: 0 0 12px; line-height: 1.8; }
.to-gallery-video__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.to-gallery-video__row input { flex: 1 1 260px; min-width: 0; }
.to-gallery-video__aparat {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    margin-top: 10px; padding: 10px 12px;
    background: #F5F8FF; border: 1px dashed #B9D2F5; border-radius: 10px;
}
.to-gallery-video__aparat input { flex: 1 1 200px; min-width: 0; }
.to-gallery-video__preview { position: relative; margin-top: 12px; }
.to-gallery-video__preview[hidden] { display: none; }
.to-gallery-video__preview video,
.to-gallery-video__preview iframe {
    width: 100%; max-height: 420px; border: 0;
    background: #000; border-radius: 12px; display: block;
}
.to-gallery-video__preview iframe { height: 360px; }
.to-gallery-video__clear {
    position: absolute; top: 8px; inset-inline-start: 8px;
    width: 30px; height: 30px; border-radius: 999px;
    border: 0; background: rgba(0,0,0,.55); color: #fff;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s; z-index: 2;
}
.to-gallery-video__clear:hover { background: rgba(185,28,28,.85); }

.to-gallery-video__list{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.to-video-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#F7F9F8;border:1px solid #E4EAE7;border-radius:12px;padding:10px 12px}
.to-video-row__text{flex:1 1 180px;min-width:0;font-size:12.5px;color:#223339;direction:ltr;text-align:left;overflow-wrap:anywhere}
.to-video-row__preview{flex:0 1 220px;min-width:0}
.to-video-row__preview iframe,.to-video-row__preview video{width:100%;max-height:110px;border:0;border-radius:8px;background:#000}
.to-video-row__remove{flex:0 0 auto;width:30px;height:30px;border-radius:999px;border:1px solid #F6CACA;background:#FDE8E8;color:#B91C1C;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.to-video-row__remove:hover{background:#F6CACA}

.to-video-row__poster{flex:1 1 200px;min-width:0;font-size:12.5px;padding:6px 10px;border:1px solid var(--to-line,#D5E0DE);border-radius:8px;background:#fff;color:#223339}

/* ── ویرایشگر (متن/کد) شفاف و هم‌فونت با سایت ───────────── */
.to-property-form .mce-container .mce-btn,
.to-property-form .mce-toolbar .mce-btn {
    background: transparent !important;
    box-shadow: none !important;
    border-color: transparent !important;
}
.to-property-form .mce-ico { color: #223339 !important; }
.to-property-form .mce-btn:hover,
.to-property-form .mce-btn:focus { background: transparent !important; }
.to-property-form .wp-editor-container .mce-statusbar { background: #f8fafa !important; }
.to-property-form .wp-editor-container .mce-statusbar .mce-path-item { color: #6b7671 !important; }

/* فرم ویرایش: تقویم بسته شدن */
.to-prop-cal-table { width:100%; border-collapse:collapse; margin:4px 0 16px; font-size:13px; }
.to-prop-cal-table th { background:#F7F9F8; color:#334E48; text-align:right; padding:8px 10px; border-bottom:1px solid #E4EAE7; }
.to-prop-cal-table td { padding:8px 10px; border-bottom:1px solid #EDF2F7; }
.to-prop-cal-add { background:#F7F9F8; border:1px solid #E4EAE7; border-radius:12px; padding:14px; }
.to-prop-cal-add__row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.to-prop-cal-add__row input[type="text"], .to-prop-cal-add__row select { padding:6px 10px; border:1px solid #C9DED6; border-radius:8px; font:inherit; }
.to-prop-cal-add__row #to-prop-cal-from, .to-prop-cal-add__row #to-prop-cal-to { width:130px; }
.to-prop-cal-add__row #to-prop-cal-note { flex:1 1 160px; min-width:120px; }
.to-prop-cal-msg { margin-top:8px; font-size:12.5px; }
.to-prop-cal-msg.is-success { color:#0D7A5F; }
.to-prop-cal-msg.is-error { color:#B91C1C; }
/* fix: icon glyphs must be dark & visible, incl hover */
#to-property-form .mce-ico,
#to-property-form .mce-btn button .mce-ico {
  color: #223339 !important;
}
#to-property-form .mce-btn:hover .mce-ico,
#to-property-form .mce-btn:focus .mce-ico,
#to-property-form .mce-btn.mce-active .mce-ico {
  color: #0E4D3C !important;
}
#to-property-form .mce-btn.mce-disabled .mce-ico {
  color: #9aa7a2 !important;
}

/* --- save button scale-down --- */
#to-property-form .to-btn[type="submit"],
#to-property-form .to-btn--primary {
  padding: 10px 22px !important;
  font-size: 13.5px !important;
  min-height: 42px !important;
  border-radius: 10px !important;
  width: auto !important;
}

/* --- editor buttons: no background, dark icons --- */
#to-property-form .mce-toolbar .mce-btn,
#to-property-form .mce-toolbar .mce-btn-group .mce-btn {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}
#to-property-form .mce-toolbar .mce-btn:hover,
#to-property-form .mce-toolbar .mce-btn.mce-active {
  background: transparent !important;
  border-color: transparent !important;
}
#to-property-form .mce-ico,
#to-property-form .mce-toolbar .mce-btn button .mce-ico {
  color: #0B3F35 !important;
}

/* --- force save button back to compact inline-flex --- */
#to-property-form #to-property-submit {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  height: 42px !important;
  gap: 8px !important;
}
#to-property-form #to-property-submit .to-btn__ico {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
}
#to-property-form #to-property-submit {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
}
#to-property-form #to-property-submit .to-btn__ico svg.to-svg-icon {
  width: 16px !important;
  height: 16px !important;
}
#to-property-form .mce-toolbar .mce-btn .mce-ico,
#to-property-form .mce-toolbar .mce-btn-group .mce-btn .mce-ico {
  color: #0A2E26 !important;
}
#to-property-form .mce-toolbar .mce-btn:hover .mce-ico {
  color: #0B3F35 !important;
}

/* ── پیش‌نمایش سیاست لغو ── */
.to-cp-preview {
    background: #F7FAF9;
    border: 1px dashed #BFDCD2;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #223339;
}
.to-cp-preview strong { color: #0E4D3C; }
.to-cp-preview .to-cp-desc { margin-top: 4px; }
.to-cp-preview .to-cp-rules { margin: 6px 0 0; padding-inline-start: 18px; }
.to-cp-preview .to-cp-rules li { font-size: 12.5px; }

/* rules presets (host panel + admin) */
.to-rules-presets { margin-top: 8px; }
.to-rules-presets__title { display: block; font-size: 12.5px; color: #6b7671; margin-bottom: 6px; }
.to-rules-presets__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 12px; }
.to-rules-preset { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.to-rules-preset input { margin-top: 2px; }

/* ---------- Amenities: uniform 13px font-size ---------- */
.to-amenity-checkbox,
.to-amenity-checkbox span,
.to-amenity-checkbox label,
.to-amenity-checkbox .to-amenity-name {
    font-size: 13px !important;
}


.to-rules-preset input[type='checkbox'] {
    appearance: auto;
    -webkit-appearance: auto;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    margin: 0 !important;
    accent-color: #0F5446;
    flex: none;
}
.to-rules-preset {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ============================================================
   Host property form (#to-property-form) — buttons:
   no green fill, red outline (all tabs)
   ============================================================ */
#to-property-form .to-btn,
#to-property-form .to-form-tab,
#to-property-form .to-gallery-subtab,
#to-property-form .to-gallery-add,
#to-property-form .to-gallery-chip,
#to-property-form .to-gallery-item__featured-btn,
#to-property-form .to-gallery-item__remove,
#to-property-form .to-video-row__remove,
#to-property-form .to-map-pick-btn,
#to-property-form .to-income-guest-btn,
#to-property-form [data-cal-block],
#to-property-form [data-cal-unblock] {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid #E11D48 !important;
  box-shadow: none !important;
  color: #E11D48 !important;
}

#to-property-form .to-btn:hover,
#to-property-form .to-btn:focus-visible,
#to-property-form .to-form-tab:hover,
#to-property-form .to-gallery-subtab:hover,
#to-property-form .to-gallery-add:hover,
#to-property-form .to-gallery-chip:hover,
#to-property-form .to-gallery-item__featured-btn:hover,
#to-property-form .to-gallery-item__remove:hover,
#to-property-form .to-video-row__remove:hover,
#to-property-form .to-map-pick-btn:hover,
#to-property-form .to-income-guest-btn:hover,
#to-property-form [data-cal-block]:hover,
#to-property-form [data-cal-unblock]:hover {
  background: rgba(225, 29, 72, .08) !important;
  border-color: #BE123C !important;
  color: #BE123C !important;
}

#to-property-form .to-form-tab.is-active,
#to-property-form .to-gallery-subtab.is-active {
  background: rgba(225, 29, 72, .10) !important;
  border-color: #E11D48 !important;
  color: #BE123C !important;
}

#to-property-form .to-btn:disabled {
  background: transparent !important;
  border-color: rgba(225, 29, 72, .45) !important;
  color: rgba(225, 29, 72, .6) !important;
  opacity: 1;
}

html.to-dark #to-property-form .to-btn,
html.to-dark #to-property-form .to-form-tab,
html.to-dark #to-property-form .to-gallery-subtab,
html.to-dark #to-property-form .to-gallery-add,
html.to-dark #to-property-form .to-gallery-chip,
html.to-dark #to-property-form .to-gallery-item__featured-btn,
html.to-dark #to-property-form .to-gallery-item__remove,
html.to-dark #to-property-form .to-video-row__remove,
html.to-dark #to-property-form .to-map-pick-btn,
html.to-dark #to-property-form .to-income-guest-btn,
html.to-dark #to-property-form [data-cal-block],
html.to-dark #to-property-form [data-cal-unblock] {
  background: transparent !important;
  border-color: #FB7185 !important;
  color: #FB7185 !important;
}

html.to-dark #to-property-form .to-btn:hover,
html.to-dark #to-property-form .to-form-tab:hover,
html.to-dark #to-property-form .to-gallery-subtab:hover,
html.to-dark #to-property-form .to-gallery-add:hover,
html.to-dark #to-property-form .to-gallery-chip:hover,
html.to-dark #to-property-form .to-gallery-item__featured-btn:hover,
html.to-dark #to-property-form .to-gallery-item__remove:hover,
html.to-dark #to-property-form .to-video-row__remove:hover,
html.to-dark #to-property-form .to-map-pick-btn:hover,
html.to-dark #to-property-form .to-income-guest-btn:hover {
  background: rgba(251, 113, 133, .14) !important;
  color: #FDA4AF !important;
  border-color: #FDA4AF !important;
}

html.to-dark #to-property-form .to-form-tab.is-active,
html.to-dark #to-property-form .to-gallery-subtab.is-active {
  background: rgba(251, 113, 133, .16) !important;
  color: #FDA4AF !important;
}

/* ============================================================
   Rich-text editor (TinyMCE) — toolbar + icon colours per theme
   ============================================================ */
.to-property-form .mce-panel,
.to-property-form .mce-toolbar-grp,
.to-property-form .mce-container-body,
.to-property-form .mce-statusbar {
  background: #ffffff !important;
  border-color: #e3ebe9 !important;
}

.to-property-form .mce-toolbar .mce-btn {
  background: transparent !important;
  border-color: transparent !important;
}

.to-property-form .mce-toolbar .mce-btn i,
.to-property-form .mce-toolbar .mce-btn .mce-txt,
.to-property-form .mce-statusbar .mce-path,
.to-property-form .mce-statusbar .mce-path-item {
  color: #223339 !important;
}

.to-property-form .mce-toolbar .mce-btn:hover {
  background: rgba(15, 84, 70, .08) !important;
}

.to-property-form .mce-toolbar .mce-btn:hover i,
.to-property-form .mce-toolbar .mce-btn.mce-active i {
  color: #0F5446 !important;
}

.to-property-form .mce-toolbar .mce-btn.mce-active {
  background: rgba(15, 84, 70, .12) !important;
}

html.to-dark .to-property-form .mce-panel,
html.to-dark .to-property-form .mce-toolbar-grp,
html.to-dark .to-property-form .mce-container-body,
html.to-dark .to-property-form .mce-statusbar,
html.to-dark .to-property-form .mce-edit-area {
  background: #111c19 !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

html.to-dark .to-property-form .mce-toolbar .mce-btn i,
html.to-dark .to-property-form .mce-toolbar .mce-btn .mce-txt,
html.to-dark .to-property-form .mce-statusbar .mce-path,
html.to-dark .to-property-form .mce-statusbar .mce-path-item {
  color: #cfe6e1 !important;
}

html.to-dark .to-property-form .mce-toolbar .mce-btn:hover {
  background: rgba(255, 255, 255, .08) !important;
}

html.to-dark .to-property-form .mce-toolbar .mce-btn.mce-active {
  background: rgba(47, 191, 155, .24) !important;
}

html.to-dark .to-property-form .mce-toolbar .mce-btn.mce-active i,
html.to-dark .to-property-form .mce-toolbar .mce-btn:hover i {
  color: #ffffff !important;
}
