/* General Datepicker Container */
.daterangepicker {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    padding: 15px;
    color: #212D50;
    z-index: 1000;
    position: absolute;
    width: 680px; /* Wide enough for two calendars side by side */
    max-width: 90vw; /* Prevent overflow on smaller screens */
}

/* Calendar Layout */
.drp-calendar {
    border-radius: 8px;
    padding: 12px;
    width: 48%; /* Each calendar takes roughly half the width */
    display: inline-block; /* Side-by-side layout */
    vertical-align: top; /* Align tops of calendars */
}

.drp-calendar.left,
.drp-calendar.right {
    border: 1px solid #D9D9D9;
    margin-bottom: 12px;
    margin-right: 2%; /* Small gap between calendars */
}

.drp-calendar.right {
    margin-right: 0; /* No margin on the rightmost calendar */
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

/* Header */
.calendar-table thead th {
    font-weight: 600;
    color: #212D50;
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.calendar-table .month {
    font-size: 1.1rem;
    color: #212D50;
}

.prev.available,
.next.available {
    cursor: pointer;
    background-color: #f3f3f3;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.prev.available:hover,
.next.available:hover {
    background-color: #d9d9d9;
}

.prev.available span,
.next.available span {
    display: inline-block;
}

.prev.available span:before {
    content: '\f104';
    font-family: 'FontAwesome';
}
.next.available span:before {
    content: '\f105';
    font-family: 'FontAwesome';
}

/* Days of the Week */
.calendar-table thead tr:nth-child(2) th {
    font-weight: 500;
    color: #666;
    font-size: 0.85rem;
    padding: 6px;
}

/* Calendar Days */
.calendar-table td {
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    color: #212D50;
    cursor: pointer;
	border-radius:5px 5px 5px 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-table td.available:hover {
    background-color: #E1BF68;
    color: #212D50;
}

.calendar-table td.in-range {
    background-color: rgba(225, 191, 104, 0.2);
	border-radius:0px;
}

.calendar-table td.active,
.calendar-table td.active.start-date,
.calendar-table td.active.end-date {
    background-color: #E1BF68;
    color: #212D50;
    font-weight: 600;
	border-radius: 5px;
}

.calendar-table td.off,
.calendar-table td.off.ends {
    color: #999;
    cursor: not-allowed;
    background-color: transparent;
}

.calendar-table td.off.ends {
    visibility: hidden;
    pointer-events: none;
}

.calendar-table td.off.disabled {
	text-decoration: line-through;
}

/* Buttons */
.drp-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #D9D9D9;
}

.drp-selected {
    flex-grow: 1;
    font-weight: 500;
    color: #212D50;
    align-self: center;
}

.applyBtn,
.cancelBtn {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.applyBtn {
    background-color: #E1BF68;
    color: #212D50;
    border: none;
}

.applyBtn:hover {
    background-color: #212D50;
    color: #fff;
    transform: translateY(-1px);
}

.applyBtn[disabled] {
    background-color: #D9D9D9;
    cursor: not-allowed;
    color: #666;
}

.cancelBtn {
    background-color: #D9D9D9;
    color: #212D50;
    border: none;
}

.cancelBtn:hover {
    background-color: #212D50;
    color: #fff;
    transform: translateY(-1px);
}

/* Hide Empty Ranges */
.ranges:empty {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .daterangepicker {
        width: 100%;
        padding: 12px;
    }

    .drp-calendar.left,
    .drp-calendar.right {
        display: block; /* Stack calendars vertically */
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .calendar-table td {
        padding: 6px;
        font-size: 0.85rem;
    }
}