/**
 * Rs Christmas Santa - Public Stylesheet
 */

/* Pop-up Santa positioning */
.rs_pop-up-class-right {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9990;
    transition: all 0.3s ease;
}

.rs_pop-up-class-left {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9990;
    transition: all 0.3s ease;
}

.rs_pop-up-bottom-m-music {
    bottom: 85px !important;
}

.rs_pop-up-bottom-m {
    bottom: 20px;
}

#rs_pop_up {
    position: fixed;
    max-width: 220px;
    display: inline-block;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.rs_pop-up-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: #bc1d2b;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 9995;
    transition: transform 0.2s ease, background 0.2s ease;
}

.rs_pop-up-close:hover {
    transform: scale(1.1);
    background: #96121e;
}

.rs_pop-up-close img {
    width: 12px;
    height: 12px;
    display: block;
}

.rs_pop-up-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Flying Santa animation */
.rs_flying-santa {
    position: fixed;
    left: 20px;
    top: 25%;
    max-width: 240px;
    z-index: 9998;
    animation-duration: 8s;
    animation-iteration-count: infinite;
}

/* Modern Holiday Audio Player */
#rs_audio_div.rs_audio {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 2px #226c5e;
    padding: 10px 18px;
    z-index: 9992;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

#rs_audio_close {
    position: absolute;
    top: -8px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: #bc1d2b;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    z-index: 9996;
}

#rs_audio_close img {
    width: 10px;
    height: 10px;
}

.rs_audio-nav {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

#rs_playButton {
    background-color: #226c5e;
    border: none;
    height: 36px;
    width: 36px;
    min-width: 36px;
    border-radius: 50%;
    cursor: pointer;
    background-image: url(../images/audio/play-32.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    box-shadow: 0 2px 6px rgba(34, 108, 94, 0.4);
    transition: transform 0.15s ease, background-color 0.2s ease;
}

#rs_playButton:hover {
    transform: scale(1.08);
    background-color: #1a5449;
}

#rs_playButton.playing {
    background-image: url(../images/audio/pause-32.png);
    background-color: #bc1d2b;
    box-shadow: 0 2px 6px rgba(188, 29, 43, 0.4);
}

.rs_audio-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#rs_defaultBar {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

#rs_progressBar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #226c5e, #bc1d2b);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.rs_audio-time-wrap {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    font-family: inherit;
}

/* Christmas Countdown Widget & Shortcode */
.rs_count-down-main {
    display: inline-block;
    margin: 15px auto;
    text-align: center;
}

.rs_cr-count-down {
    position: relative;
    margin: 0 auto;
    width: 220px;
    max-width: 100%;
    text-align: center;
}

.rs_cr-count-down img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.rs_cr-count-down-content {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}

.rs_cr-count-down-content p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.rs_cr-count-down-content strong {
    display: block;
    color: #ffeb3b !important;
    font-size: 26px !important;
    padding: 4px 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
}

/* Holiday Greeting / Announcement Bar */
#rs_xmas_announcement_bar {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #bc1d2b 0%, #226c5e 100%);
    color: #ffffff;
    padding: 10px 35px 10px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    box-sizing: border-box;
}

#rs_xmas_announcement_bar.sticky-top {
    position: sticky;
    top: 0;
}

#rs_xmas_announcement_bar a {
    color: #fff9c4;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 700;
}

#rs_xmas_banner_close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 16px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#rs_xmas_banner_close:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Responsive Mobile Rules */
@media only screen and (max-width: 600px) {
    #rs_pop_up {
        max-width: 150px;
    }

    .rs_pop-up-class-right {
        right: 10px;
        bottom: 10px;
    }

    .rs_pop-up-class-left {
        left: 10px;
        bottom: 10px;
    }

    #rs_audio_div.rs_audio {
        width: 94%;
        padding: 8px 12px;
        bottom: 10px;
    }

    .rs_flying-santa {
        max-width: 140px;
        top: 20%;
    }
}