/* ============================================
   تهران وان — تقویم شمسی (نسخه نهایی)
   ============================================ */

/* ==================== متغیرها ==================== */
.to-dp {
    --dp-primary: #0E4D3C;
    --dp-primary-dark: #093528;
    --dp-primary-light: #1A6B54;
    --dp-primary-50: #E8F2EE;
    --dp-primary-100: #C9DED6;
    --dp-border: #E4EAE7;
    --dp-border-soft: #F0F0F0;
    --dp-text: #1A1F1D;
    --dp-text-muted: #6B7671;
    --dp-disabled-text: #A8B2AD;
    --dp-disabled-line: #A8B2AD;
    --dp-range: #D8E9E1;
}

/* ==================== Input ==================== */
.to-dp-input {
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E4D3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 12px center !important;
    padding-left: 38px !important;
}

.to-dp-input:focus {
    outline: none !important;
    border-color: #0E4D3C !important;
    box-shadow: 0 0 0 3px rgba(14, 77, 60, 0.08) !important;
}

/* ==================== Picker Base ==================== */
.to-dp {
    position: absolute;
    z-index: 999999;
    width: 340px;
    max-width: calc(100vw - 20px);
    background: #FFFFFF;
    border: 1px solid var(--dp-border);
    border-radius: 18px;
    box-shadow:
        0 20px 60px rgba(14, 77, 60, 0.18),
        0 8px 20px rgba(14, 77, 60, 0.08);
    padding: 0;
    font-family: 'Shabnam', Tahoma, sans-serif;
    direction: rtl;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    box-sizing: border-box;
}

.to-dp.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.to-dp *,
.to-dp *::before,
.to-dp *::after {
    box-sizing: border-box;
}

.to-dp:focus,
.to-dp:focus-within {
    outline: none !important;
}

/* ==================== Header ==================== */
.to-dp__header {
    background: linear-gradient(135deg, var(--dp-primary-dark) 0%, var(--dp-primary) 50%, var(--dp-primary-light) 100%);
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.to-dp__header::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.to-dp__header::after {
    content: '';
    position: absolute;
    bottom: -70px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ==================== Badge ==================== */
.to-dp__role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    align-self: center;
    position: relative;
    z-index: 1;
    animation: to-dp-badge-in 0.3s ease-out;
    min-width: 180px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

@keyframes to-dp-badge-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== Nav Row ==================== */
.to-dp__nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* نوار پایین تقویم — دکمهٔ «پاک کردن تاریخ‌ها» در گوشهٔ پایین-چپ
   (در RTL یعنی انتهای محور افقی) */
.to-dp__footer {
    display: flex;
    justify-content: flex-end;
    padding: 10px 16px 12px;
    border-top: 1px solid #F0F0F0;
    background: #FAFBFA;
}

.to-dp button.to-dp__clear {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 7px 16px !important;
    border: 1px solid #C9DED6 !important;
    border-radius: 99px !important;
    background: #FFFFFF !important;
    color: var(--dp-primary) !important;
    font-family: inherit;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background .15s, border-color .15s;
}
.to-dp button.to-dp__clear:hover {
    background: var(--dp-primary-50) !important;
    border-color: var(--dp-primary) !important;
}

/* ============================================
   ✨ دکمه‌های ناوبری — بدون هیچ بوردری
   ============================================ */
.to-dp__nav {
    width: 44px;
    height: 44px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 26px 26px;
    border: none !important;
    border-radius: 50%;
    font-size: 0 !important;
    color: transparent !important;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.15s ease;
    font-family: inherit;
    padding: 0;
    margin: 0;
    flex-shrink: 0;

    /* ❌ حذف کامل همه outline و border و shadow */
    outline: none !important;
    outline-color: transparent !important;
    outline-style: none !important;
    outline-width: 0 !important;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    text-shadow: none !important;
    box-shadow: none !important;
}

/* ❌ حذف outline در همه حالت‌ها */
.to-dp__nav:hover,
.to-dp__nav:focus,
.to-dp__nav:focus-visible,
.to-dp__nav:focus-within,
.to-dp__nav:active {
    outline: none !important;
    outline-color: transparent !important;
    outline-style: none !important;
    outline-width: 0 !important;
    border: none !important;
    -webkit-focus-ring-color: transparent;
}

/* SVG آیکن — prev (رو به راست در RTL) */
.to-dp__nav--prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* SVG آیکن — next (رو به چپ در RTL) */
.to-dp__nav--next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* ✨ Hover: فقط دایره نیمه‌شفاف روشن، بدون بوردر */
.to-dp__nav:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.08);
}

.to-dp__nav:active {
    background-color: rgba(255, 255, 255, 0.35) !important;
    transform: scale(0.95);
}

.to-dp__title {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* ==================== چیدمان چند ماهه ==================== */
.to-dp__months {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.to-dp__month {
    flex: 1 1 0;
    min-width: 0;
}

.to-dp__month-title {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--dp-text);
    padding: 14px 12px 8px;
    letter-spacing: 0.3px;
}

.to-dp--double {
    width: 700px;
}

/* ==================== Weekdays ==================== */
.to-dp__weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));   /* ← همین تغییر */
    gap: 2px;
    padding: 14px 12px 10px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--dp-border-soft);
}

.to-dp__weekdays > div {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--dp-text-muted);
    padding: 4px 0;
    letter-spacing: 0.5px;
}

.to-dp__weekdays > div:nth-child(7) {
    color: var(--dp-primary);
}

/* ==================== Days Grid ==================== */
.to-dp__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));   /* ← 1fr شد minmax(0, 1fr) */
    gap: 2px;
    padding: 8px 12px 16px;
    background: #FFFFFF;
    overflow: visible;   /* ← اضافه شد */
}


/* ==================== Day Cell ==================== */
.to-dp__day {
    width: 100%;
    height: 40px;
    min-height: 40px;
    border: none !important;
    outline: none !important;
    outline-color: transparent !important;
    outline-style: none !important;
    background: transparent;
    border-radius: 10px;
    color: var(--dp-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
    padding: 0;
    margin: 0;
    line-height: 1;
    position: relative;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    -webkit-focus-ring-color: transparent;
    box-shadow: none;
    text-shadow: none;
}

.to-dp__day:hover:not(.is-disabled):not(.is-empty):not(.is-range-middle):not(.is-range-start):not(.is-range-end):not(.is-selected) {
    background: var(--dp-primary-50);
    color: var(--dp-primary);
    font-weight: 600;
}

.to-dp__day:active:not(.is-disabled):not(.is-empty) {
    transform: scale(0.94);
}

.to-dp__day.is-empty {
    cursor: default;
    pointer-events: none;
    background: transparent !important;
    border: none !important;
}

/* ==================== امروز ==================== */
.to-dp__day.is-today {
    color: var(--dp-primary);
    font-weight: 700;
    background: var(--dp-primary-50);
}

.to-dp__day.is-today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--dp-primary);
    border-radius: 50%;
}

/* ==================== آخر هفته (پنجشنبه/جمعه) ==================== */
.to-dp__day.is-weekend:not(.is-range-start):not(.is-range-end):not(.is-selected) {
    color: var(--dp-primary);
    font-weight: 600;
}

.to-dp__day.is-weekend:hover:not(.is-disabled):not(.is-empty):not(.is-range-start):not(.is-range-end) {
    background: var(--dp-primary-100);
    color: var(--dp-primary-dark);
}

/* ==================== تعطیل رسمی ==================== */
.to-dp__day.is-official-holiday:not(.is-range-start):not(.is-range-end):not(.is-selected) {
    background: #FDE8EB;
    color: #B42318;
    font-weight: 700;
}

.to-dp__day.is-official-holiday:hover:not(.is-disabled):not(.is-empty):not(.is-range-start):not(.is-range-end) {
    background: #FBD5DA;
    color: #8A1C1C;
}

/* ==================== نیمه تعطیل (نوروز) ==================== */
.to-dp__day.is-semi-holiday:not(.is-range-start):not(.is-range-end):not(.is-selected) {
    background: #FFF4E5;
    color: #9A5B00;
    font-weight: 600;
}

.to-dp__day.is-semi-holiday:hover:not(.is-disabled):not(.is-empty):not(.is-range-start):not(.is-range-end) {
    background: #FFE7C7;
    color: #7A4600;
}

/* ==================== انتخاب‌شده (Single) ==================== */
.to-dp__day.is-selected {
    background: linear-gradient(135deg, var(--dp-primary) 0%, var(--dp-primary-light) 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(14, 77, 60, 0.3);
    transform: scale(1.05);
    z-index: 3;
}

.to-dp__day.is-selected::after {
    display: none !important;
}

/* ============================================
   Range
   ============================================ */

/* Start */
.to-dp__day.is-range-start,
.to-dp__day.is-today.is-range-start {
    background: linear-gradient(135deg, var(--dp-primary-dark) 0%, var(--dp-primary) 100%) !important;
    background-color: var(--dp-primary) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border-radius: 0 10px 10px 0 !important;
    box-shadow: 0 4px 14px rgba(14, 77, 60, 0.4) !important;
    z-index: 5 !important;
    transform: scale(1.05);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.to-dp__day.is-range-start::after,
.to-dp__day.is-range-start.is-today::after {
    display: block !important;
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

/* End */
.to-dp__day.is-range-end,
.to-dp__day.is-today.is-range-end {
    background: linear-gradient(135deg, var(--dp-primary-dark) 0%, var(--dp-primary) 100%) !important;
    background-color: var(--dp-primary) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border-radius: 10px 0 0 10px !important;
    box-shadow: 0 4px 14px rgba(14, 77, 60, 0.4) !important;
    z-index: 5 !important;
    transform: scale(1.05);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.to-dp__day.is-range-end::after,
.to-dp__day.is-range-end.is-today::after {
    display: block !important;
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

/* Start و End یکی */
.to-dp__day.is-range-start.is-range-end {
    border-radius: 10px !important;
}

.to-dp__day.is-range-start.is-range-end::after {
    display: none !important;
}

/* Middle */
.to-dp__day.is-range-middle,
.to-dp__day.is-today.is-range-middle {
    background: var(--dp-range) !important;
    color: var(--dp-primary) !important;
    border-radius: 0;
    font-weight: 500 !important;
}

.to-dp__day.is-range-middle::after {
    display: none !important;
}

.to-dp__day.is-range-middle:hover {
    background: var(--dp-primary-100) !important;
    color: var(--dp-primary-dark) !important;
}

/* ============================================
   روزهای غیرفعال — با خط‌خوردگی
   ============================================ */
.to-dp__day.is-disabled {
    color: var(--dp-disabled-text) !important;
    cursor: not-allowed;
    background: transparent !important;
    border: none !important;
    pointer-events: none;
    font-weight: 400;
    opacity: 1 !important;
    position: relative;
}

.to-dp__day.is-disabled::before {
    display: none !important;
    content: none !important;
}

.to-dp__day.is-disabled::after {
    content: '';
    position: absolute;
    left: 22%;
    right: 22%;
    top: 50%;
    height: 1.5px;
    background: var(--dp-disabled-line);
    transform: translateY(-50%) rotate(-15deg);
    border-radius: 2px;
    opacity: 0.7;
    display: block !important;
}

/* ==================== Responsive ==================== */
@media (max-width: 480px) {
    .to-dp {
        width: calc(100vw - 24px);
        max-width: 340px;
        border-radius: 16px;
    }

    .to-dp--double {
        width: calc(100vw - 24px);
        max-width: 700px;
    }

    .to-dp__header {
        padding: 18px 14px 14px;
        gap: 12px;
    }

    .to-dp__role {
        font-size: 15px;
        padding: 10px 22px;
        min-width: 160px;
    }

    .to-dp__nav {
        width: 40px;
        height: 40px;
        background-size: 22px 22px;
    }

    .to-dp__title {
        font-size: 15px;
    }

    .to-dp__day {
    width: 100%;
    min-width: 0;   /* ← این خط اضافه شد */
    height: 40px;
    min-height: 40px;
    /* بقیه استایل‌ها همون‌طور که بودن */
}

    /* .to-dp__weekdays {
        padding: 12px 10px 8px;
    } */

    /* .to-dp__days {
        padding: 6px 10px 14px;
    } */
}

/* ============================================
   Date Picker — Legend (راهنما)
   ============================================ */

.to-dp__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 14px 16px 16px;
    border-top: 1px solid #F0F0F0;
    background: #FAFBFA;
    justify-content: center;
}

.to-dp__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #6B7671;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.to-dp__legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1.5px solid transparent;
}

/* امروز */
.to-dp__legend-dot--today {
    background: #E8F2EE;
    border-color: #C9DED6;
    position: relative;
}
.to-dp__legend-dot--today::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #0E4D3C;
    border-radius: 50%;
}

/* آخر هفته (پنجشنبه/جمعه) */
.to-dp__legend-dot--weekend {
    background: linear-gradient(135deg, #0E4D3C 50%, #FFFFFF 50%);
    border-color: #0E4D3C;
}

/* تعطیل رسمی */
.to-dp__legend-dot--official {
    background: #B42318;
    border-color: #B42318;
}

/* نیمه تعطیل (نوروز) */
.to-dp__legend-dot--semi {
    background: #FFE7C7;
    border-color: #D98A1C;
}

/* رزرو شده */
.to-dp__legend-dot--disabled {
    background: #FFFFFF;
    border-color: #D5DDD9;
    position: relative;
}
.to-dp__legend-dot--disabled::after {
    content: '';
    position: absolute;
    left: 15%;
    right: 15%;
    top: 50%;
    height: 1.5px;
    background: #C4CCC8;
    transform: translateY(-50%) rotate(-15deg);
    border-radius: 2px;
}

/* انتخاب شما */
.to-dp__legend-dot--selected {
    background: linear-gradient(135deg, #0E4D3C 0%, #1A6B54 100%);
    border-color: #0E4D3C;
}

/* Responsive */
@media (max-width: 480px) {
    .to-dp__legend {
        gap: 6px 10px;
        padding: 12px 12px 14px;
    }

    .to-dp__legend-item {
        font-size: 10.5px;
    }

    .to-dp__legend-dot {
        width: 10px;
        height: 10px;
    }
}

/* دکمه پاک کردن تاریخ‌ها */
.to-dp__footer {
    padding: 8px 14px 12px;
    text-align: center;
}
.to-dp__clear {
    display: inline-block;
    border: 1px solid #E2DACD;
    background: #FAFAF8;
    color: #4B5563;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.to-dp__clear:hover {
    background: #EFF6F3;
    border-color: #0F5446;
    color: #0F5446;
}

/* ============================================
   Elementor Kit Override
   ------------------------------------------------------------
   استایل دکمهٔ سراسری کیت المنتور (Site Settings → Buttons) و
   reset قالب hello-elementor روی سلول‌های تقویم سرریز می‌شود.
   این بلاک آن را برای .to-dp__day خنثی می‌کند.
   حالت‌های is-range-* و رنگ/پس‌زمینهٔ is-selected/is-disabled
   در فایل با !important محافظت شده‌اند؛ حالت‌های بدون !important
   (is-today / font-weight و box-shadow سلکت‌شده / is-disabled)
   صریحاً بازنشانی می‌شوند تا از قلم نیفتند.
   ============================================ */
.to-dp button.to-dp__day {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 40px;
    min-height: 40px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: var(--dp-text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    transition: background .15s ease, color .15s ease, transform .1s ease;
}

/* حفظ حالت‌هایی که !important ندارند (مقادیر مطابق قواعد اصلی فایل) */
.to-dp button.to-dp__day.is-today {
    background: var(--dp-primary-50);
    color: var(--dp-primary);
    font-weight: 700;
}
.to-dp button.to-dp__day.is-selected {
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(14, 77, 60, 0.3);
}
.to-dp button.to-dp__day.is-disabled {
    font-weight: 400;
}
/* ============================================
   موبایل/تبلت: تقویم ثابت و وسط صفحه
   ============================================ */
@media (max-width: 1024px) {
    .to-dp {
        position: fixed;
        inset: 0;
        margin: auto;
        width: min(340px, calc(100vw - 24px));
        height: fit-content;
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

/* ===== Mobile: center picker popup (fix off-canvas on small screens) ===== */
@media (max-width: 1024px) {
    .to-dp {
        position: fixed !important;
        top: 50% !important;
        inset-inline-start: 50% !important;
        transform: translate(-50%, -50%) !important;
        max-width: calc(100vw - 24px);
    }
    .to-dp.is-open {
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* ===== Mobile: force centered picker regardless of inline transform/ancestor ===== */
@media (max-width: 1024px) {
    .to-dp {
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        margin: auto !important;
        transform: none !important;
    }
    .to-dp.is-open {
        transform: none !important;
    }
}

/* Ensure range endpoints always keep their fill (start/end) regardless of other modifier classes */
.to-dp__day.is-range-start,
.to-dp__day.is-range-start.is-today,
.to-dp__day.is-range-start.is-disabled,
.to-dp__day.is-range-start.is-official-holiday,
.to-dp__day.is-range-start.is-weekend {
    background: linear-gradient(135deg, var(--dp-primary-dark) 0%, var(--dp-primary) 100%) !important;
    background-color: var(--dp-primary) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.to-dp__day.is-range-end,
.to-dp__day.is-range-end.is-today,
.to-dp__day.is-range-end.is-disabled,
.to-dp__day.is-range-end.is-official-holiday,
.to-dp__day.is-range-end.is-weekend {
    background: linear-gradient(135deg, var(--dp-primary-dark) 0%, var(--dp-primary) 100%) !important;
    background-color: var(--dp-primary) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.to-dp__day.is-range-start.is-range-end {
    background: linear-gradient(135deg, var(--dp-primary-dark) 0%, var(--dp-primary) 100%) !important;
    background-color: var(--dp-primary) !important;
}
