/* Modal Box Container */
.Select_Date_Modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.12);
    max-width: 440px;
    margin: auto;
    background: #ffffff;
}

.Select_Date_Modal .modal-body {
    padding: 12px 24px;
}

/* Header Styling */
.date-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    font-size: 16px;
    color: #0f172a;
}

.header-title h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #0f172a;
}

.header-title p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #64748b;
}

.close-btn {
    background: #f8fafc;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: absolute;
    top: 9px;
    right: 8px;
    font-size: 16px;
}



.close-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* DayPicker Customizations */
.range-picker-container {
    display: flex;
    justify-content: center;
    font-family: inherit;
}

.rdp {
    margin: 0 !important;
}

.rdp-day {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 500;
    color: #1e293b;
    font-size: 14px;
}

.rdp-day_middle {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border-radius: 0 !important;
}

.rdp-day_range_start,
.rdp-day_range_end {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

.rdp-day_range_start {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.rdp-day_range_end {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.rdp-day_disabled {
    color: #cbd5e1 !important;
    text-decoration: line-through;
    opacity: 0.6;
}

/* Modal Footer */
.date-modal-footer {
    padding: 16px 24px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.selected-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-text {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.nights-badge {
    background: #e2e8f0;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.action-btns {
    display: flex;
    gap: 12px;
}

.rdp-chevron {
    fill: #db0f0f;
}

.rdp-root {
    --rdp-accent-color: #db0f0f;
    
}

.rdp-range_start .rdp-day_button {
    background-color: #db0f0f;
    border: none;
}


.rdp-range_end .rdp-day_button {
    border: none;
    background-color: #db0f0f;
}

.btn-cancel {
    flex: 1;
    padding: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.btn-apply {
    flex: 1.5;
    padding: 10px;
    border: none;
    background: #0f172a;
    color: #ffffff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-apply:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}