.waldorf-side-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: #fffdf5;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 999999;
    font-family: sans-serif;
    color: #4a4a4a;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #e76f51; /* More colorful border */
}
.waldorf-side-popup.show {
    transform: translateX(0);
}

/* --- REFINED CLOSE "X" BUTTON --- */
.waldorf-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    color: #777;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    z-index: 10;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.waldorf-popup-close:hover {
    color: #ffffff;
    background: #e76f51;
    transform: scale(1.1);
}

.waldorf-popup-content {
    padding: 22px 18px 18px 18px; /* Extra top clearance so close button never touches content */
}
.waldorf-popup-header h2 {
    color: #2a9d8f; /* Colorful heading */
    font-size: 12px;
    margin: 0 0 5px 0;
    line-height: 1.2;
    padding-right: 20px; /* Safe distance from close button */
}
.waldorf-popup-header .subtitle {
    font-size: 14px;
    color: #e76f51;
    font-style: italic;
    margin: 0 0 15px 0;
    line-height: 1.4;
}
.waldorf-popup-body .schedule {
    background: #e9c46a; /* Colorful badge */
    color: #333;
    padding: 5px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    margin: 0 0 10px 0;
}
.waldorf-popup-body .age {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    color: #264653;
}
.waldorf-register-section {
    text-align: center;
    margin-top: 15px;
    border-top: 2px dashed #f4a261;
    padding-top: 15px;
}
.waldorf-btn {
    background: #e76f51;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    box-shadow: 0 4px 6px rgba(231, 111, 81, 0.3);
}
.waldorf-btn:hover {
    background: #d65a31;
    transform: translateY(-2px);
}
.waldorf-fee-info {
    background: #e9f5f1; /* Light greenish tint */
    padding: 15px;
    border-radius: 8px;
    animation: fadeIn 0.5s;
    border: 1px solid #2a9d8f;
}
.waldorf-fee-info .fee-text {
    font-size: 18px;
    color: #264653;
    margin: 0 0 12px 0;
}
.waldorf-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366; /* WhatsApp Green */
    color: white !important;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}
.waldorf-whatsapp-link:hover {
    background: #128C7E; /* Darker WhatsApp Green */
    transform: scale(1.05);
}
.wa-icon {
    margin-right: 8px;
    font-size: 18px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 400px) {
    .waldorf-side-popup {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }
}