
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #D4DADC;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

#icono {
    position: fixed;      /* Hace que siempre esté en la misma posición en la pantalla */
    top: 12px;            /* Separación segura desde el borde superior */
    left: 12px;           /* Separación segura desde el borde izquierdo */
    max-width: 110px;     /* Ajusta el logo para que nunca se salga ni en pantallas chicas */
    width: 110px;         /* Puedes ajustar según el tamaño real del logo */
    height: auto;
    z-index: 10000;       /* Encima de otros elementos */
    box-sizing: border-box;
}

/* Versión optimizada para móviles */
@media (max-width: 600px) {
    #icono {
        max-width: 70px;
        width: 70px;
        top: 6px;
        left: 6px;
    }
}

.container {
    width: 80%;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

h1 {
    color: #333;
    text-align: center;
    margin-top: 70px;
}

p {
    color: #666;
    font-size: 18px;
    text-align: center;
}

#ip-publica, #ip-publica2, #proveedor, #ciudad {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    margin-top: 20px;
}

#region, #zona, #continente, #hora-local, #ubicacion, #ubicacion1, #sistema, #marca, #dispositvo {
    font-size: 18px;
    color: #ff0000;
    text-align: center;
    margin-top: 10px;
}

.left-column,
.right-column {
    flex: 1;
}

.left-column {
    margin-right: 20px;
}

.right-column {
    margin-left: 20px;
}

@media only screen and (max-width: 768px) {
    .container {
        display: block;
    }

    .left-column,
    .right-column {
        width: 100%;
        margin: 0;
    }
    #copyright {
        font-size: 14px;
    }
}

#hora-local-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
}

#test {
    text-align: center;
    position: relative;
    font-size: 20px;
    margin: 2%;
}

/* Estilo predeterminado para el copyright */
#copyright {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    z-index: 9999;
    font-size: 16px;
}

#downloadSpeedLabel, #downloadSpeed {
    margin: 2px;
    width: 40%;
    text-align: center;
}

#downloadSpeed {
    height: 30px;
}

svg > g > text {
    font-size: 16px;
}

button {
    background-color: #353538;
    color: whitesmoke;
    font-size: large;
    cursor: pointer;
    border-radius: 5px;
    width: 150px;
    border: none;
    height: 50px;
}

.speed-test-button {
    flex-basis: 10%;
    margin-top: 20px;
}.proveedor-row {
    display: flex;
    align-items: center;
    justify-content: center; /* <-- ESTO LO CENTRA */
    gap: 8px;
    margin-top: 2px;
    width: 100%;
    text-align: center;
}
#proveedor-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    display: none;
}
@media (max-width: 580px) {
    #proveedor-logo { width: 32px; height: 32px; }
}

