/* ISS Tracker Styles */
.iss-popup-wrapper .maplibregl-popup-content {
    padding: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,255,255,0.3) !important;
    overflow: hidden !important;
    background: rgba(10, 18, 32, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    max-width: none !important;
    min-width: 500px !important;
}

.iss-popup-wrapper .maplibregl-popup-tip {
    border-top-color: rgba(10, 18, 32, 0.75) !important;
    border-bottom-color: rgba(10, 18, 32, 0.75) !important;
}

.iss-popup {
    width: 500px;
    color: white;
    font-family: 'Arial', sans-serif;
}

.iss-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,255,255,0.3);
}

.iss-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #00ffff;
}

.iss-status {
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.iss-stream-container {
    width: 500px;
    height: 281px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iss-stream-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.iss-stream-error {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background: #1a1a1a;
}

.iss-stream-error p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #ff6666;
}

.iss-stream-error a {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border: 1px solid #00ffff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.iss-stream-error a:hover {
    background: #00ffff;
    color: #000;
}

.iss-info {
    padding: 15px 20px;
    background: rgba(0,0,0,0.3);
}

.iss-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.iss-stat:last-child {
    margin-bottom: 0;
}

.iss-label {
    color: #cccccc;
    font-weight: normal;
}

.iss-value {
    color: #00ffff;
    font-weight: bold;
}

.iss-footer {
    padding: 10px 20px;
    text-align: center;
    background: rgba(0,0,0,0.5);
    font-size: 11px;
    color: #999;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .iss-popup-wrapper .maplibregl-popup-content {
        min-width: 350px !important;
    }
    
    .iss-popup {
        width: 350px;
    }
    
    .iss-stream-container {
        width: 350px;
        height: 197px;
    }
    
    .iss-header h3 {
        font-size: 14px;
    }
    
    .iss-stat {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .iss-popup-wrapper .maplibregl-popup-content {
        min-width: 300px !important;
    }
    
    .iss-popup {
        width: 300px;
    }
    
    .iss-stream-container {
        width: 300px;
        height: 169px;
    }
    
    .iss-header {
        padding: 12px 16px;
    }
    
    .iss-header h3 {
        font-size: 13px;
    }
    
    .iss-info {
        padding: 12px 16px;
    }
}
