/* ==========================================================================
   PORTAL: KENDO UI DATETIMEPICKER CUSTOM STYLING
   ========================================================================== */

/* Kendo UI DateTimePicker Custom Implementation */
.k-widget.k-datetimepicker {
    display: block;
    width: 100%;
}

.k-widget.k-datepicker {
    display: inline-block;
    width: 170px;
}

.k-widget.k-datepicker .k-input {
    padding-right: 45px !important;
}

.k-picker-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background-color: #fff;
    transition: var(--transition, all 0.2s ease);
    position: relative;
    width: 100%;
    height: 42px;
    box-sizing: border-box;
}

.k-picker-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.k-picker-wrap .k-input {
    width: 100%;
    height: 100%;
    border: none !important;
    outline: none !important;
    padding: 10px 85px 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-main);
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.k-picker-wrap .k-select {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    border-left: 1px solid #e5e7eb;
    background-color: #f9fafb;
    pointer-events: auto;
    z-index: 2;
    height: 100%;
    border-top-right-radius: 11px;
    border-bottom-right-radius: 11px;
}

.k-picker-wrap .k-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    color: #6b7280;
    font-size: 14px;
    box-sizing: border-box;
    cursor: pointer;
    transition: var(--transition, all 0.2s ease);
}

.k-picker-wrap .k-link:hover {
    background-color: #f3f4f6;
    color: var(--primary);
}

.k-picker-wrap .k-link-date {
    border-right: 1px solid #e5e7eb;
}

/* Hide default browser indicator completely */
.k-picker-wrap .k-input::-webkit-calendar-picker-indicator {
    display: none !important;
}

/* ==========================================================================
   KENDO UI DATE & TIME POPUP CONTAINERS (THEME-ADAPTIVE & HIGH-CONTRAST)
   ========================================================================== */

.k-calendar-container, .k-time-container {
    font-family: var(--font-body, 'Be Vietnam Pro', 'Inter', -apple-system, sans-serif) !important;
    animation: fadeInKendo 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box !important;
    border-radius: 16px !important;
    z-index: 1000 !important;
}

@keyframes fadeInKendo {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   1. BASE / DEFAULT LIGHT THEME (Crisp card, clean borders, high contrast)
   -------------------------------------------------------------------------- */
html body .k-calendar-container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 18px !important;
    width: 300px !important;
    min-width: 300px !important;
    box-sizing: border-box !important;
    color: #1e293b !important;
}

/* Header */
html body .k-calendar-container .k-cal-header,
html body .k-calendar-container > div:first-child {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body .k-calendar-container .k-cal-title,
html body .k-calendar-container > div:first-child > span {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    text-align: center !important;
    flex: 1 !important;
}

html body .k-calendar-container .k-cal-nav-btn,
html body .k-calendar-container > div:first-child > button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: var(--primary, #c5a880) !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .k-calendar-container .k-cal-nav-btn:hover,
html body .k-calendar-container > div:first-child > button:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: var(--primary-dark, #a88960) !important;
}

/* Weekdays */
html body .k-calendar-container .k-cal-weekdays,
html body .k-calendar-container > div:nth-child(2) {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-bottom: 10px !important;
}

html body .k-calendar-container .k-cal-weekdays div,
html body .k-calendar-container > div:nth-child(2) > div {
    color: #64748b !important;
}

/* Days Grid */
html body .k-calendar-container .k-cal-days,
html body .k-calendar-container > div:nth-child(3) {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 6px !important;
    text-align: center !important;
    font-size: 13px !important;
    color: #1e293b !important;
}

html body .k-calendar-container .k-cal-day,
html body .k-calendar-container > div:nth-child(3) > div {
    cursor: pointer !important;
    position: relative !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .k-calendar-container .k-cal-day-num,
html body .k-calendar-container .k-cal-day > span,
html body .k-calendar-container > div:nth-child(3) > div > span {
    display: inline-block !important;
    width: 26px !important;
    height: 26px !important;
    line-height: 26px !important;
    border-radius: 50% !important;
    text-align: center !important;
    transition: all 0.15s ease !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}

html body .k-calendar-container .k-cal-day:hover:not(.k-selected):not(.k-other-month) .k-cal-day-num,
html body .k-calendar-container > div:nth-child(3) > div:hover:not(.k-other-month) > span:not([style*="background-color: rgb(21, 128, 61)"]):not([style*="background-color: #15803d"]):not(.k-selected-span) {
    background-color: #edf2f7 !important;
    color: #0f172a !important;
}

/* Selected Date */
html body .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body .k-calendar-container .k-selected-span,
html body .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body .k-calendar-container span[style*="background-color: #15803d"],
html body .k-calendar-container span[style*="background: rgb(21, 128, 61)"],
html body .k-calendar-container span[style*="background: #15803d"] {
    background-color: #15803d !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.35) !important;
}

/* Disabled / Other Month Days */
html body .k-calendar-container .k-cal-day.k-other-month,
html body .k-calendar-container div[style*="pointer-events: none"],
html body .k-calendar-container div[style*="pointer-events: none"] * {
    color: #cbd5e1 !important;
    pointer-events: none !important;
    opacity: 0.5 !important;
}

/* Footer / Today Link */
html body .k-calendar-container .k-cal-footer,
html body .k-calendar-container > div:last-child {
    margin-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 10px !important;
    text-align: center !important;
}

html body .k-calendar-container .k-cal-today-btn,
html body .k-calendar-container > div:last-child > span {
    color: #15803d !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    transition: color 0.15s ease !important;
}

html body .k-calendar-container .k-cal-today-btn:hover,
html body .k-calendar-container > div:last-child > span:hover {
    color: #166534 !important;
}

/* Time Container (Light) */
html body .k-time-container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    width: 130px !important;
    padding: 6px 0 !important;
}

html body .k-time-container .k-time-item,
html body .k-time-container > div {
    padding: 8px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    color: #1e293b !important;
}

html body .k-time-container .k-time-item:hover,
html body .k-time-container > div:hover {
    background-color: #f1f5f9 !important;
    color: var(--primary, #c5a880) !important;
}

html body .k-time-container .k-time-item.k-selected {
    background-color: #15803d !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
}

/* --------------------------------------------------------------------------
   2. THEME: ROMANTIC (Deep Luxury Plum/Dark Background, Rose Glow & Bright Text)
   -------------------------------------------------------------------------- */
html body.theme_romantic .k-calendar-container,
html body.theme-romantic .k-calendar-container,
html body[class*="theme_romantic"] .k-calendar-container,
html body[class*="theme-romantic"] .k-calendar-container {
    background: #1e0e1a !important;
    background-color: #1e0e1a !important;
    border: 1px solid rgba(255, 71, 126, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 71, 126, 0.25) !important;
    color: #fff3f5 !important;
}

html body.theme_romantic .k-calendar-container .k-cal-title,
html body.theme_romantic .k-calendar-container > div:first-child > span,
html body.theme-romantic .k-calendar-container .k-cal-title,
html body.theme-romantic .k-calendar-container > div:first-child > span,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-title,
html body[class*="theme_romantic"] .k-calendar-container > div:first-child > span {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

html body.theme_romantic .k-calendar-container .k-cal-nav-btn,
html body.theme_romantic .k-calendar-container > div:first-child > button,
html body.theme-romantic .k-calendar-container .k-cal-nav-btn,
html body.theme-romantic .k-calendar-container > div:first-child > button,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-nav-btn,
html body[class*="theme_romantic"] .k-calendar-container > div:first-child > button {
    color: #ff477e !important;
}

html body.theme_romantic .k-calendar-container .k-cal-nav-btn:hover,
html body.theme_romantic .k-calendar-container > div:first-child > button:hover,
html body.theme-romantic .k-calendar-container .k-cal-nav-btn:hover,
html body.theme-romantic .k-calendar-container > div:first-child > button:hover,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-nav-btn:hover,
html body[class*="theme_romantic"] .k-calendar-container > div:first-child > button:hover {
    background: rgba(255, 71, 126, 0.2) !important;
    color: #ff6b81 !important;
}

html body.theme_romantic .k-calendar-container .k-cal-weekdays,
html body.theme_romantic .k-calendar-container .k-cal-weekdays div,
html body.theme_romantic .k-calendar-container > div:nth-child(2),
html body.theme_romantic .k-calendar-container > div:nth-child(2) > div,
html body.theme-romantic .k-calendar-container .k-cal-weekdays,
html body.theme-romantic .k-calendar-container .k-cal-weekdays div,
html body.theme-romantic .k-calendar-container > div:nth-child(2),
html body.theme-romantic .k-calendar-container > div:nth-child(2) > div,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-weekdays,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-weekdays div,
html body[class*="theme_romantic"] .k-calendar-container > div:nth-child(2),
html body[class*="theme_romantic"] .k-calendar-container > div:nth-child(2) > div {
    color: #ff9fb0 !important;
    font-weight: 700 !important;
}

html body.theme_romantic .k-calendar-container .k-cal-day-num,
html body.theme_romantic .k-calendar-container .k-cal-day > span,
html body.theme_romantic .k-calendar-container > div:nth-child(3) > div > span,
html body.theme-romantic .k-calendar-container .k-cal-day-num,
html body.theme-romantic .k-calendar-container .k-cal-day > span,
html body.theme-romantic .k-calendar-container > div:nth-child(3) > div > span,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-day-num,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-day > span,
html body[class*="theme_romantic"] .k-calendar-container > div:nth-child(3) > div > span {
    color: #fff3f5 !important;
    font-weight: 600 !important;
}

html body.theme_romantic .k-calendar-container .k-cal-day:hover:not(.k-selected):not(.k-other-month) .k-cal-day-num,
html body.theme_romantic .k-calendar-container > div:nth-child(3) > div:hover:not(.k-other-month) > span:not([style*="background-color: rgb(21, 128, 61)"]):not([style*="background-color: #15803d"]):not(.k-selected-span),
html body.theme-romantic .k-calendar-container .k-cal-day:hover:not(.k-selected):not(.k-other-month) .k-cal-day-num,
html body.theme-romantic .k-calendar-container > div:nth-child(3) > div:hover:not(.k-other-month) > span:not([style*="background-color: rgb(21, 128, 61)"]):not([style*="background-color: #15803d"]):not(.k-selected-span),
html body[class*="theme_romantic"] .k-calendar-container .k-cal-day:hover:not(.k-selected):not(.k-other-month) .k-cal-day-num,
html body[class*="theme_romantic"] .k-calendar-container > div:nth-child(3) > div:hover:not(.k-other-month) > span:not([style*="background-color: rgb(21, 128, 61)"]):not([style*="background-color: #15803d"]):not(.k-selected-span) {
    background-color: rgba(255, 71, 126, 0.25) !important;
    color: #ffffff !important;
}

html body.theme_romantic .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body.theme_romantic .k-calendar-container .k-selected-span,
html body.theme_romantic .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body.theme_romantic .k-calendar-container span[style*="background-color: #15803d"],
html body.theme-romantic .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body.theme-romantic .k-calendar-container .k-selected-span,
html body.theme-romantic .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body.theme-romantic .k-calendar-container span[style*="background-color: #15803d"],
html body[class*="theme_romantic"] .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body[class*="theme_romantic"] .k-calendar-container .k-selected-span,
html body[class*="theme_romantic"] .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body[class*="theme_romantic"] .k-calendar-container span[style*="background-color: #15803d"] {
    background: linear-gradient(135deg, #ff477e, #ff6b81) !important;
    background-color: #ff477e !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(255, 71, 126, 0.5) !important;
}

html body.theme_romantic .k-calendar-container .k-cal-day.k-other-month,
html body.theme_romantic .k-calendar-container div[style*="pointer-events: none"],
html body.theme_romantic .k-calendar-container div[style*="pointer-events: none"] *,
html body.theme-romantic .k-calendar-container .k-cal-day.k-other-month,
html body.theme-romantic .k-calendar-container div[style*="pointer-events: none"],
html body.theme-romantic .k-calendar-container div[style*="pointer-events: none"] *,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-day.k-other-month,
html body[class*="theme_romantic"] .k-calendar-container div[style*="pointer-events: none"],
html body[class*="theme_romantic"] .k-calendar-container div[style*="pointer-events: none"] * {
    color: rgba(255, 184, 198, 0.3) !important;
    opacity: 0.4 !important;
}

html body.theme_romantic .k-calendar-container .k-cal-footer,
html body.theme_romantic .k-calendar-container > div:last-child,
html body.theme-romantic .k-calendar-container .k-cal-footer,
html body.theme-romantic .k-calendar-container > div:last-child,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-footer,
html body[class*="theme_romantic"] .k-calendar-container > div:last-child {
    border-top: 1px solid rgba(255, 71, 126, 0.2) !important;
}

html body.theme_romantic .k-calendar-container .k-cal-today-btn,
html body.theme_romantic .k-calendar-container > div:last-child > span,
html body.theme-romantic .k-calendar-container .k-cal-today-btn,
html body.theme-romantic .k-calendar-container > div:last-child > span,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-today-btn,
html body[class*="theme_romantic"] .k-calendar-container > div:last-child > span {
    color: #ff6b81 !important;
    font-weight: 700 !important;
}

html body.theme_romantic .k-calendar-container .k-cal-today-btn:hover,
html body.theme_romantic .k-calendar-container > div:last-child > span:hover,
html body.theme-romantic .k-calendar-container .k-cal-today-btn:hover,
html body.theme-romantic .k-calendar-container > div:last-child > span:hover,
html body[class*="theme_romantic"] .k-calendar-container .k-cal-today-btn:hover,
html body[class*="theme_romantic"] .k-calendar-container > div:last-child > span:hover {
    color: #ff477e !important;
}

html body.theme_romantic .k-time-container,
html body.theme-romantic .k-time-container,
html body[class*="theme_romantic"] .k-time-container,
html body[class*="theme-romantic"] .k-time-container {
    background: #1e0e1a !important;
    background-color: #1e0e1a !important;
    border: 1px solid rgba(255, 71, 126, 0.3) !important;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.65) !important;
}

html body.theme_romantic .k-time-container .k-time-item,
html body.theme_romantic .k-time-container > div,
html body.theme-romantic .k-time-container .k-time-item,
html body.theme-romantic .k-time-container > div,
html body[class*="theme_romantic"] .k-time-container .k-time-item,
html body[class*="theme_romantic"] .k-time-container > div {
    color: #fff3f5 !important;
}

html body.theme_romantic .k-time-container .k-time-item:hover,
html body.theme_romantic .k-time-container > div:hover,
html body.theme-romantic .k-time-container .k-time-item:hover,
html body.theme-romantic .k-time-container > div:hover,
html body[class*="theme_romantic"] .k-time-container .k-time-item:hover,
html body[class*="theme_romantic"] .k-time-container > div:hover {
    background-color: rgba(255, 71, 126, 0.2) !important;
    color: #ff6b81 !important;
}

html body.theme_romantic .k-time-container .k-time-item.k-selected,
html body.theme-romantic .k-time-container .k-time-item.k-selected,
html body[class*="theme_romantic"] .k-time-container .k-time-item.k-selected {
    background: linear-gradient(135deg, #ff477e, #ff6b81) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
}

/* --------------------------------------------------------------------------
   3. THEME: DARK MODE
   -------------------------------------------------------------------------- */
html body.theme_dark .k-calendar-container,
html body.theme-dark .k-calendar-container,
html body[class*="theme_dark"] .k-calendar-container,
html body[class*="theme-dark"] .k-calendar-container {
    background: #18181b !important;
    background-color: #18181b !important;
    border: 1px solid #27272a !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6) !important;
    color: #f4f4f5 !important;
}

html body.theme_dark .k-calendar-container .k-cal-title,
html body.theme_dark .k-calendar-container > div:first-child > span,
html body.theme-dark .k-calendar-container .k-cal-title,
html body.theme-dark .k-calendar-container > div:first-child > span,
html body[class*="theme_dark"] .k-calendar-container .k-cal-title,
html body[class*="theme_dark"] .k-calendar-container > div:first-child > span {
    color: #ffffff !important;
}

html body.theme_dark .k-calendar-container .k-cal-nav-btn,
html body.theme_dark .k-calendar-container > div:first-child > button,
html body.theme-dark .k-calendar-container .k-cal-nav-btn,
html body.theme-dark .k-calendar-container > div:first-child > button,
html body[class*="theme_dark"] .k-calendar-container .k-cal-nav-btn,
html body[class*="theme_dark"] .k-calendar-container > div:first-child > button {
    color: #f59e0b !important;
}

html body.theme_dark .k-calendar-container .k-cal-nav-btn:hover,
html body.theme_dark .k-calendar-container > div:first-child > button:hover,
html body.theme-dark .k-calendar-container .k-cal-nav-btn:hover,
html body.theme-dark .k-calendar-container > div:first-child > button:hover,
html body[class*="theme_dark"] .k-calendar-container .k-cal-nav-btn:hover,
html body[class*="theme_dark"] .k-calendar-container > div:first-child > button:hover {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
}

html body.theme_dark .k-calendar-container .k-cal-weekdays,
html body.theme_dark .k-calendar-container .k-cal-weekdays div,
html body.theme-dark .k-calendar-container .k-cal-weekdays,
html body.theme-dark .k-calendar-container .k-cal-weekdays div,
html body[class*="theme_dark"] .k-calendar-container .k-cal-weekdays,
html body[class*="theme_dark"] .k-calendar-container .k-cal-weekdays div {
    color: #a1a1aa !important;
}

html body.theme_dark .k-calendar-container .k-cal-day-num,
html body.theme_dark .k-calendar-container .k-cal-day > span,
html body.theme-dark .k-calendar-container .k-cal-day-num,
html body.theme-dark .k-calendar-container .k-cal-day > span,
html body[class*="theme_dark"] .k-calendar-container .k-cal-day-num,
html body[class*="theme_dark"] .k-calendar-container .k-cal-day > span {
    color: #f4f4f5 !important;
}

html body.theme_dark .k-calendar-container .k-cal-day:hover:not(.k-selected):not(.k-other-month) .k-cal-day-num,
html body.theme_dark .k-calendar-container > div:nth-child(3) > div:hover:not(.k-other-month) > span:not([style*="background-color: rgb(21, 128, 61)"]):not([style*="background-color: #15803d"]):not(.k-selected-span),
html body.theme-dark .k-calendar-container .k-cal-day:hover:not(.k-selected):not(.k-other-month) .k-cal-day-num,
html body.theme-dark .k-calendar-container > div:nth-child(3) > div:hover:not(.k-other-month) > span:not([style*="background-color: rgb(21, 128, 61)"]):not([style*="background-color: #15803d"]):not(.k-selected-span),
html body[class*="theme_dark"] .k-calendar-container .k-cal-day:hover:not(.k-selected):not(.k-other-month) .k-cal-day-num,
html body[class*="theme_dark"] .k-calendar-container > div:nth-child(3) > div:hover:not(.k-other-month) > span:not([style*="background-color: rgb(21, 128, 61)"]):not([style*="background-color: #15803d"]):not(.k-selected-span) {
    background-color: #27272a !important;
    color: #ffffff !important;
}

html body.theme_dark .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body.theme_dark .k-calendar-container .k-selected-span,
html body.theme_dark .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body.theme_dark .k-calendar-container span[style*="background-color: #15803d"],
html body.theme-dark .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body.theme-dark .k-calendar-container .k-selected-span,
html body.theme-dark .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body.theme-dark .k-calendar-container span[style*="background-color: #15803d"],
html body[class*="theme_dark"] .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body[class*="theme_dark"] .k-calendar-container .k-selected-span,
html body[class*="theme_dark"] .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body[class*="theme_dark"] .k-calendar-container span[style*="background-color: #15803d"] {
    background: #f59e0b !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4) !important;
}

html body.theme_dark .k-calendar-container .k-cal-day.k-other-month,
html body.theme_dark .k-calendar-container div[style*="pointer-events: none"],
html body.theme_dark .k-calendar-container div[style*="pointer-events: none"] *,
html body.theme-dark .k-calendar-container .k-cal-day.k-other-month,
html body.theme-dark .k-calendar-container div[style*="pointer-events: none"],
html body.theme-dark .k-calendar-container div[style*="pointer-events: none"] *,
html body[class*="theme_dark"] .k-calendar-container .k-cal-day.k-other-month,
html body[class*="theme_dark"] .k-calendar-container div[style*="pointer-events: none"],
html body[class*="theme_dark"] .k-calendar-container div[style*="pointer-events: none"] * {
    color: #52525b !important;
}

html body.theme_dark .k-calendar-container .k-cal-footer,
html body.theme_dark .k-calendar-container > div:last-child,
html body.theme-dark .k-calendar-container .k-cal-footer,
html body.theme-dark .k-calendar-container > div:last-child,
html body[class*="theme_dark"] .k-calendar-container .k-cal-footer,
html body[class*="theme_dark"] .k-calendar-container > div:last-child {
    border-top: 1px solid #27272a !important;
}

html body.theme_dark .k-calendar-container .k-cal-today-btn,
html body.theme_dark .k-calendar-container > div:last-child > span,
html body.theme-dark .k-calendar-container .k-cal-today-btn,
html body.theme-dark .k-calendar-container > div:last-child > span,
html body[class*="theme_dark"] .k-calendar-container .k-cal-today-btn,
html body[class*="theme_dark"] .k-calendar-container > div:last-child > span {
    color: #f59e0b !important;
}

html body.theme_dark .k-time-container,
html body.theme-dark .k-time-container,
html body[class*="theme_dark"] .k-time-container,
html body[class*="theme-dark"] .k-time-container {
    background: #18181b !important;
    background-color: #18181b !important;
    border: 1px solid #27272a !important;
    color: #f4f4f5 !important;
}

html body.theme_dark .k-time-container .k-time-item,
html body.theme_dark .k-time-container > div,
html body.theme-dark .k-time-container .k-time-item,
html body.theme-dark .k-time-container > div,
html body[class*="theme_dark"] .k-time-container .k-time-item,
html body[class*="theme_dark"] .k-time-container > div {
    color: #f4f4f5 !important;
}

html body.theme_dark .k-time-container .k-time-item:hover,
html body.theme_dark .k-time-container > div:hover,
html body.theme-dark .k-time-container .k-time-item:hover,
html body.theme-dark .k-time-container > div:hover,
html body[class*="theme_dark"] .k-time-container .k-time-item:hover,
html body[class*="theme_dark"] .k-time-container > div:hover {
    background-color: #27272a !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   4. THEME: INDOCHINE (Warm Parchment / Ivory)
   -------------------------------------------------------------------------- */
html body.theme_indochine .k-calendar-container,
html body.theme-indochine .k-calendar-container,
html body[class*="theme_indochine"] .k-calendar-container,
html body[class*="theme-indochine"] .k-calendar-container {
    background: #fffdf9 !important;
    background-color: #fffdf9 !important;
    border: 1px solid #e7dfd5 !important;
    box-shadow: 0 12px 35px rgba(28, 25, 23, 0.1) !important;
    color: #1c1917 !important;
}

html body.theme_indochine .k-calendar-container .k-cal-nav-btn,
html body.theme_indochine .k-calendar-container > div:first-child > button {
    color: #b45309 !important;
}

html body.theme_indochine .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body.theme_indochine .k-calendar-container .k-selected-span,
html body.theme_indochine .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body.theme_indochine .k-calendar-container span[style*="background-color: #15803d"] {
    background: #b45309 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.35) !important;
}

html body.theme_indochine .k-calendar-container .k-cal-today-btn,
html body.theme_indochine .k-calendar-container > div:last-child > span {
    color: #b45309 !important;
}

/* --------------------------------------------------------------------------
   5. THEME: CHIIC (Modern Crimson)
   -------------------------------------------------------------------------- */
html body.theme_chiic .k-calendar-container,
html body.theme-chiic .k-calendar-container,
html body[class*="theme_chiic"] .k-calendar-container,
html body[class*="theme-chiic"] .k-calendar-container {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #fecdd3 !important;
    box-shadow: 0 12px 35px rgba(214, 0, 28, 0.12) !important;
}

html body.theme_chiic .k-calendar-container .k-cal-nav-btn,
html body.theme_chiic .k-calendar-container > div:first-child > button {
    color: #d6001c !important;
}

html body.theme_chiic .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body.theme_chiic .k-calendar-container .k-selected-span,
html body.theme_chiic .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body.theme_chiic .k-calendar-container span[style*="background-color: #15803d"] {
    background: #d6001c !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(214, 0, 28, 0.35) !important;
}

html body.theme_chiic .k-calendar-container .k-cal-today-btn,
html body.theme_chiic .k-calendar-container > div:last-child > span {
    color: #d6001c !important;
}

/* --------------------------------------------------------------------------
   6. THEME: EMERALD
   -------------------------------------------------------------------------- */
html body.theme_emerald .k-calendar-container,
html body.theme-emerald .k-calendar-container,
html body[class*="theme_emerald"] .k-calendar-container,
html body[class*="theme-emerald"] .k-calendar-container {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #a7f3d0 !important;
    box-shadow: 0 12px 35px rgba(5, 150, 105, 0.12) !important;
}

html body.theme_emerald .k-calendar-container .k-cal-nav-btn,
html body.theme_emerald .k-calendar-container > div:first-child > button {
    color: #059669 !important;
}

html body.theme_emerald .k-calendar-container .k-cal-day.k-selected .k-cal-day-num,
html body.theme_emerald .k-calendar-container .k-selected-span,
html body.theme_emerald .k-calendar-container span[style*="background-color: rgb(21, 128, 61)"],
html body.theme_emerald .k-calendar-container span[style*="background-color: #15803d"] {
    background: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;
}

html body.theme_emerald .k-calendar-container .k-cal-today-btn,
html body.theme_emerald .k-calendar-container > div:last-child > span {
    color: #059669 !important;
}

