/* =========================================
   CALENDAR MODAL OVERLAY
========================================= */
.plbs-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Active state (JS toggle nanti pakai .show) */
.plbs-modal.show {
    display: flex;
}

/* =========================================
   MODAL CONTENT CARD
========================================= */
.plbs-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 420px;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: plbsSlideUp .25s ease;
    position: relative;
}

/* Close button */
.plbs-close {
    position: absolute;
    right: 20px;
    top: 5px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.plbs-close:hover {
    color: #111;
}

/* =========================================
   DATE INPUT STYLING
========================================= */
#plbs_modal_date,
#plbs_slider_date {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    outline: none;
    margin-bottom: 20px;
    background: #fafafa;
    transition: 0.2s ease;
}

#plbs_modal_date:focus,
#plbs_slider_date:focus {
    border-color: #111;
    background: #fff;
}

/* =========================================
   APPLY BUTTON
========================================= */
#plbs_modal_apply,
#plbs_slider_apply {
    width: 100%;
    padding: 14px;
    border-radius: 20px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

#plbs_modal_apply:hover,
#plbs_slider_apply:hover {
    background: #333;
}

/* =========================================
   DATE DROPDOWN BUTTON
========================================= */
.plbs-date-dropdown {
    margin-left: auto;
    padding: 10px 14px;
    background: #f2f2f2;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
}

.plbs-date-dropdown:hover {
    background: #e5e5e5;
}

/* ==============================
   DATE INPUT WITH ICON
============================== */

.plbs-date-input-wrapper {
    position: relative;
    width: 100%;
    margin-top: 15px;
}

.plbs-date-input-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 14px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    font-size: 16px;
    background: #fafafa;
    box-sizing: border-box;
}

.plbs-date-input-wrapper input:focus {
    border-color: #111;
    background: #fff;
}

.plbs-calendar-icon {
    position: absolute;
    right: 15px;
    top: 40%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
    opacity: 0.6;
}

/* =========================================
   ANIMATION
========================================= */
@keyframes plbsSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}