.events-now-playing-widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.events-now-playing-widget.bottom-right {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.current-event .event-title {
    font-size: 14px;
    text-transform: uppercase;
}

.events-now-playing-widget.bottom-left {
    position: fixed;
    bottom: 20px;
    left: 20px;
}

.events-now-playing-widget.top-right {
    position: fixed;
    top: 80px;
    right: 20px;
}

.events-now-playing-widget.sidebar {
    position: relative;
    margin-bottom: 20px;
}

.now-playing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary-color, #71BF45), #5a9934);
    color: white;
}

.now-playing-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.live-indicator {
    color: var(--accent-color, #ff6b6b);
    font-size: 12px;
    animation: pulse 2s infinite;
}

.now-playing-content {
    padding: 8px 16px 16px 16px;
    max-height: 300px;
    overflow-y: auto;
}

.current-event {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.current-event:last-child {
    border-bottom: none;
}

.event-hall {
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 8px;
    text-align: center;
    min-width: 60px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-details {
    flex: 1;
}

.event-time {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}

.event-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 6px;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 12px;
    background-color: var(--accent-color, #ff6b6b);
    color: white;
}

.no-current-events {
    text-align: center;
    padding: 20px;
    color: #666;
}

.no-events-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.no-events-text {
    font-size: 13px;
    font-style: italic;
}

.now-playing-footer {
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.last-updated {
    font-size: 12px;
    color: #555555;
    text-align: center;
}

.minimize-widget {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimize-widget:hover,
.minimize-widget:focus,
.minimize-widget:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.minimize-widget svg {
    width: 16px;
    height: 16px;
}

.event-count-badge {
    display: none;
}

.events-now-playing-widget.hidden {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.now-playing-content::-webkit-scrollbar {
    width: 4px;
}

.now-playing-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.now-playing-content::-webkit-scrollbar-thumb {
    background: var(--primary-color, #71BF45);
    border-radius: 2px;
}

.now-playing-content::-webkit-scrollbar-thumb:hover {
    background: #5a9934;
}

.events-now-playing-widget.minimized {
    width: 64px;
    min-width: 64px;
    max-width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.events-now-playing-widget.minimized:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.events-now-playing-widget.minimized:active {
    transform: scale(0.95);
    transition-duration: 0.1s;
}

.events-now-playing-widget.minimized .now-playing-header .title-text,
.events-now-playing-widget.minimized .minimize-widget,
.events-now-playing-widget.minimized .now-playing-content,
.events-now-playing-widget.minimized .now-playing-footer {
    display: none;
}

.events-now-playing-widget.minimized .now-playing-header {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-color, #71BF45), #5a9934);
}

.events-now-playing-widget.minimized .now-playing-header::after {
    display: none;
}

.events-now-playing-widget.minimized .now-playing-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ring-pulse 2s infinite;
}

.events-now-playing-widget.minimized .live-indicator {
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.events-now-playing-widget.minimized .event-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--accent-color, #ff6b6b);
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.events-now-playing-widget.minimized .event-count-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent-color, #ff6b6b);
    color: white;
    border-radius: 50%;
    min-width: 26px;
    width: 26px;
    height: 26px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.events-now-playing-widget.expanding {
    animation: expandWidget 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.events-now-playing-widget:not(.minimized) .now-playing-header::after {
    display: none;
}

@keyframes ring-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

@keyframes expandWidget {
    0% {
        width: 64px;
        height: 64px;
        border-radius: 50%;
    }
    60% {
        width: 320px;
        height: 64px;
        border-radius: 32px;
    }
    100% {
        width: 300px;
        min-height: auto;
        border-radius: 12px;
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

.view-all-events {
    padding: 12px 0 0 0;
    margin-top: 4px;
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background-color: var(--primary-color, #71BF45);
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

.view-all-btn:hover {
    background-color: var(--secondary-color, #5a9934);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.view-all-btn:active {
    transform: translateY(0);
}

.view-all-btn svg {
    transition: transform 0.2s ease;
}

.view-all-btn:hover svg {
    transform: translateX(2px);
}

.event-hall-block {
    width: 40%;
}

.event-hall-details-block {
    width: 60%;
}

@media (max-width: 767px) {
    .events-now-playing-widget {
        min-width: 280px;
        max-width: calc(100vw - 40px);
    }
    
    .events-now-playing-widget:not([data-mobile-override="true"]) {
        min-width: 280px;
        max-width: calc(100vw - 40px);
    }
    
    .events-now-playing-widget:not([data-mobile-override="true"]).bottom-right,
    .events-now-playing-widget:not([data-mobile-override="true"]).bottom-left {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .events-now-playing-widget:not([data-mobile-override="true"]).top-right {
        top: 70px;
        right: 10px;
        left: 10px;
    }
    
    .events-now-playing-widget.top-right {
        top: 70px;
        right: 10px;
        left: 10px;
    }
    
    .events-now-playing-widget.minimized {
        width: 56px;
        min-width: 56px;
        max-width: 56px;
        height: 56px;
    }
    
    .live-indicator {
        top: 6.5%;
        right: 46%;
    }
    
    .events-now-playing-widget.minimized .now-playing-header {
        width: 56px;
        height: 56px;
    }
    
    .events-now-playing-widget.minimized .now-playing-header::after {
        content: "⏰"; 
        font-size: 20px;
    }
    
    .events-now-playing-widget.minimized .live-indicator {
        left: 46%;
    }
    
    .events-now-playing-widget.minimized .event-count-badge {
        min-width: 24px;
        height: 26px;
        font-size: 11px;
        top: 50%;
        right: 0;
        border-width: 1px;
    }
    
    .view-all-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .events-now-playing-widget .event-title {
        text-align: start;
        font-size: 14px;
        margin-bottom: 4px;
        font-weight: 600;
        line-height: 1.3;
    }
    
    .event-hall {
        font-size: 10px;
    }
}
