#dental-globe-container {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin: 20px 0;
}

#dental-globe-container canvas {
    display: block;
    cursor: grab;
    width: 100% !important;
    height: 100% !important;
}

#dental-globe-container canvas:active {
    cursor: grabbing;
}

.event-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.popup-close:hover {
    color: #333;
}

.popup-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 24px;
}

.popup-content p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.5;
}

.popup-content strong {
    color: #333;
}

.event-link {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.event-link:hover {
    background: #ff5252;
    color: white;
    text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .popup-content {
        margin: 20px;
        padding: 20px;
    }
    
    .popup-content h3 {
        font-size: 20px;
    }
    
    #dental-globe-container {
        height: 300px !important;
    }
}