.fp-datepicker {
    position: fixed;
    z-index: 99999999;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    padding: 12px;
    width: 340px;
    max-width: calc(100vw - 20px);
    direction: rtl;
    font-family: 'YekanBakhFaNum2', 'YekanBakh', Tahoma, sans-serif;
    user-select: none;
    box-sizing: border-box;
}

.fp-dp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.fp-dp-nav-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.15s ease;
}

.fp-dp-nav-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.fp-dp-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.fp-dp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
    text-align: center;
}

.fp-dp-weekday {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    padding: 4px 0;
}

.fp-dp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.fp-dp-day {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px 2px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.fp-dp-day:hover:not(.fp-dp-disabled):not(.fp-dp-empty) {
    background: #eff6ff;
    border-color: #93c5fd;
}

.fp-dp-day.fp-dp-empty {
    cursor: default;
    background: transparent;
}

.fp-dp-day.fp-dp-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f8fafc;
}

.fp-dp-day.fp-dp-today {
    border-color: #3b82f6;
}

.fp-dp-day.fp-dp-selected {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.fp-dp-day-num {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #1e293b;
}

.fp-dp-day.fp-dp-selected .fp-dp-day-num {
    color: #ffffff;
}

.fp-dp-day-price {
    font-size: 9px;
    line-height: 1.1;
    margin-top: 2px;
    color: #0f766e;
    font-weight: 600;
    white-space: nowrap;
}

.fp-dp-day-price.fp-dp-cheapest {
    color: #15803d;
    font-weight: 700;
}

.fp-dp-day.fp-dp-selected .fp-dp-day-price {
    color: #dbeafe;
}

.fp-dp-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #64748b;
}

.fp-dp-today-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    font-family: inherit;
}

.fp-dp-today-btn:hover {
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .fp-datepicker {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
    }
}

