body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
    margin: 40px;
}

h1 {
    color: #333;
}

p {
    color: #666;
}

/*------- reproductor de video -------*/
#reproductor {
    width: 800px;
    margin: auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

video {
    width: 100%;
    border-radius: 10px;
}

/*------- dragdrop -------*/
#cajasoltar{
    float:left;
    width:500px;
    height:300px;
    margin:20px;
    padding:20px;
    border:3px dashed #666;
    background:#f5f5f5;
}

#cajaimagenes{
    float:left;
    width:500px;
    min-height:300px;
    margin:20px;
    padding:20px;
    border:3px solid #666;
}

#cajaimagenes img{
    width:150px;
    margin:10px;
    cursor:grab;
}
/*------- web storage -------*/
#contenedor-storage {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

#formulario-storage,
#historial-storage {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 30px;
    width: 380px;
    text-align: left;
}

#formulario-storage h2,
#historial-storage h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#formulario-storage label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #444;
    font-weight: bold;
}

#formulario-storage input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

#botones {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#botones button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
}

#btn-grabar {
    background-color: #4a90d9;
    color: white;
}

#btn-grabar:hover {
    background-color: #357ab8;
}

#btn-borrar {
    background-color: #e05c5c;
    color: white;
}

#btn-borrar:hover {
    background-color: #c0392b;
}

#mensaje {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

.mensaje-ok {
    color: #2e7d32;
    font-weight: bold;
}

.mensaje-error {
    color: #c62828;
    font-weight: bold;
}

.vacio {
    color: #999;
    font-style: italic;
    text-align: center;
}

.entrada-historial {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.entrada-numero {
    color: #888;
    font-size: 12px;
}

.entrada-fecha {
    color: #aaa;
    font-size: 11px;
}

.etiqueta {
    color: #555;
    font-weight: bold;
}

/*------- geolocation -------*/
#contenedor-geo {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

#coordenadas,
#mapa-seccion {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 30px;
    text-align: left;
}

#coordenadas {
    width: 300px;
}

#mapa-seccion {
    width: 520px;
}

#coordenadas h2,
#mapa-seccion h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

#datos-geo p {
    font-size: 15px;
    margin: 10px 0;
    color: #444;
}

#estado {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.mapa {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}
