/* Speedtest popup styles */
.speedtest-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1D242B;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    padding: 20px;
    z-index: 1001;
    width: 320px;
    max-width: 90%;
    color: #FAFAFA;
    font-family: Arial, sans-serif;
}

.speedtest-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #C7EEFF;
}

.speedtest-content p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #FAFAFA;
}

.speedtest-popup button {
    background-color: #0077C0;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.speedtest-popup button:hover,
.speedtest-popup button:focus {
    background-color: #005f9e;
    outline: none;
}

#speedtest-result {
    margin-top: 10px;
    font-size: 14px;
    white-space: pre-line;
    color: #FAFAFA;
    min-height: 40px;
    text-align: center;
}

/* Overlay for popup */
.speedtest-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
