@CHARSET "UTF-8";

/* ================================
   LUX PRICE POPUP - VIETCOMBANK STYLE
================================ */

/* ---------- OVERLAY ---------- */
.lux-price-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,56,43,.45);
    z-index: 9998;
    display: none;
}

/* ---------- POPUP BASE ---------- */
.lux-price-popup{
    position: fixed;
    left: 50%;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    color: #00382b;
    z-index: 9999;
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0,92,69,.18);
    display: flex;
    flex-direction: column;
    transition: all .35s ease;
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px){
    .lux-price-popup{
        bottom: -100%;
        transform: translateX(-50%);
        border-radius: 18px 18px 0 0;
        max-height: 85vh;
    }
    .lux-price-popup.active{ bottom: 0; }
    .lux-price-body{ overflow-y: auto; }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 768px){
    .lux-price-popup{
        top: 50%;
        transform: translate(-50%, -50%) scale(.95);
        opacity: 0;
        pointer-events: none;
    }
    .lux-price-popup.active{
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        pointer-events: auto;
    }
}

/* ---------- HEADER ---------- */
.lux-price-header{
    background: linear-gradient(180deg,#ffffff,#f4f9f7);
    border-bottom: 1px solid rgba(0,92,69,.15);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #005c45;
    border-radius: 18px 18px 0 0;
}

.lux-price-close{
    background: none;
    border: none;
    font-size: 22px;
    color: #005c45;
    cursor: pointer;
}

/* ---------- BODY ---------- */
.lux-price-body{
    background: #f7fbf9;
    padding: 16px 18px 12px;
}

/* ---------- SLIDER ---------- */

.lux-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(0,92,69,.15);
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.05);
    transform: translateY(-50%);
}

.lux-progress {
    position: absolute;
    top: 50%;
    height: 6px;
    background: linear-gradient(135deg, #005c45, #004d3a);
    border-radius: 10px;
    transform: translateY(-50%);
    left: 0;
    width: 0;
    pointer-events: none;
}

.lux-double-range input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #005c45;
    box-shadow: 0 4px 12px rgba(0,92,69,.35);
    cursor: pointer;
}

.lux-double-range input::-moz-range-thumb {
    pointer-events: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #005c45;
    cursor: pointer;
}

/* ---------- MIN MAX BOX ---------- */
.lux-price-value{
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.lux-price-value > div{
    background: linear-gradient(180deg,#ffffff,#f4f9f7);
    border: 1px solid rgba(0,92,69,.15);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #005c45;
    box-shadow:
        0 4px 10px rgba(0,92,69,.08),
        inset 0 1px 0 rgba(255,255,255,.8);
}

.lux-price-value input{
    width: 80px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,92,69,.35);
    font-weight: 600;
    color: #00382b;
    outline: none;
    text-align: right;
}

/* ---------- PRESET ---------- */
.lux-price-presets{
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lux-price-presets span{
    padding: 6px 12px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,92,69,.15);
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,92,69,.05);
    color: #005c45;
    transition: .2s;
}

.lux-price-presets span:hover{
    border-color: #005c45;
    color: #005c45;
    transform: translateY(-1px);
}

.lux-price-presets span.active{
    background: #005c45;
    box-shadow: 0 6px 16px rgba(0,92,69,.35);
    color: #ffffff;
}

/* ---------- FOOTER ---------- */
.lux-price-footer{
    padding: 14px 16px;
    background: linear-gradient(0deg,#ffffff,#f4f9f7);
    border-top: 1px solid rgba(0,92,69,.15);
    text-align: center;
    border-radius: 0 0 18px 18px;
}

/* ---------- DESKTOP REFINE ---------- */
@media (min-width: 992px){
    .lux-price-popup{ max-width: 420px; }
    .lux-footer-btn{ height: 36px; }
}