.interactive-globe-container {
    position: relative;
    margin: 0 auto;
    border-radius: 12px;
    overflow: visible;
    background: transparent !important;
}

#globe-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent !important;
}

#globe-canvas canvas {
    display: block;
    cursor: grab;
    background: transparent !important;
}

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

#globe-canvas svg {
    background: transparent !important;
}

.globe-controls {
    display: none;
}

.globe-control-btn {
    display: none;
}

.globe-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

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

.globe-modal-content {
    background: rgba(40, 40, 40, 0.95);
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    animation: slideIn 0.3s ease;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

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

.globe-modal-close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.globe-modal-close:hover,
.globe-modal-close:focus {
    opacity: 1;
}

#modal-country-name.tooltip-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-top: 0;
}

#modal-country-info {
    color: #d0d0d0;
    line-height: 1.6;
}

#modal-country-info p {
    margin: 0 0 12px 0;
    font-size: 15px;
}

#modal-country-info p:last-child {
    margin-bottom: 0;
}

#modal-country-info strong {
    color: #ffffff;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
}

#modal-country-info a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

#modal-country-info a:hover {
    color: #29b6f6;
}

.country-description {
    font-size: 16px !important;
    color: #e0e0e0 !important;
    font-style: normal;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 20px !important;
}

@media (max-width: 1342px) and (min-width: 601px) {
    .interactive-globe-container {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    #globe-canvas {
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    .globe-controls {
        bottom: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .globe-control-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    #reset-view {
        width: 78px;
        font-size: 14px;
    }
    
    .globe-modal-content {
        width: 95%;
        margin: 20% auto;
    }
    
    #modal-country-name {
        font-size: 24px;
        padding: 20px 20px 15px 20px;
    }
    
    #modal-country-info {
        padding: 20px;
    }
    
    #modal-country-info p {
        font-size: 14px;
    }
    
    .country-description {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .interactive-globe-container {
        border-radius: 8px;
    }
    
    .globe-controls {
        flex-direction: column;
        gap: 4px;
    }
    
    .globe-control-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    #reset-view {
        width: 32px;
    }
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.globe-info-tooltip {
    position: fixed;
    background: rgba(40, 40, 40, 0.95);
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    pointer-events: none;
    min-width: 280px;
    max-width: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

.tooltip-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

.tooltip-company {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.tooltip-item {
    font-size: 14px;
    margin-bottom: 8px;
    color: #d0d0d0;
    line-height: 1.5;
}

.tooltip-item strong {
    color: #ffffff;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
}

.tooltip-item:last-child {
    margin-bottom: 0;
}
