/* ===== Overlay ===== */
#msp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
#msp-overlay.msp-open {
    display: flex;
}

/* ===== Popup box ===== */
#msp-popup {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* ===== Slider ===== */
.msp-slider-wrap {
    position: relative;
    overflow: hidden;
    line-height: 0;
}
.msp-slides {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}
.msp-slide {
    flex: 0 0 100%;
    min-width: 100%;
}
.msp-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.msp-slide a {
    display: block;
}

/* ===== Dots ===== */
.msp-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.msp-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.msp-dots span.on {
    background: #fff;
}

/* ===== Footer bar ===== */
.msp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #313031;
    padding: 10px 14px;
    color: #ccc;
    font-size: 13px;
    line-height: 1;
}
.msp-today {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #ccc;
    font-size: 13px;
    user-select: none;
}
.msp-today input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
}
#msp-close-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
#msp-close-btn:hover {
    color: #fff;
}
