/**
 * Holiday Popup Styles
 *
 * These styles create a clean, modern, and responsive popup
 * that is fixed to the bottom right of the screen.
 */

/* Main wrapper for positioning and backdrop */
#holiday-popup-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    max-width: 320px;
    width: calc(100% - 40px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* The actual content box of the popup */
.holiday-popup-content {
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 25px;
    position: relative;
    text-align: center;
    border-top: 4px solid #0073aa; /* WordPress blue, change as needed */
}

/* Close button (the '×') */
#holiday-popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #999999;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

#holiday-popup-close:hover,
#holiday-popup-close:focus {
    color: #333333;
    outline: none;
}

/* Popup title */
.holiday-popup-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1d2327;
}

/* Popup message */
.holiday-popup-message {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #50575e;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    #holiday-popup-wrapper {
        bottom: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }

    .holiday-popup-content {
        padding: 20px;
    }
}
