/* === public/css/global.css (NÚCLEO Y LAYOUTS COMPARTIDOS) === */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
    margin: 0; 
    padding: 0;
    background-color: #050505; 
    font-family: 'Segoe UI', sans-serif;
    color: white;
}

/* ==========================================
   MODALES GLOBALES (Ventanas flotantes)
   ========================================== */
/* Las modales se usan tanto en el admin (para cargar CSV) como en la app (posibles avisos) */
.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: 9999;
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.modal-content {
    background: #111; 
    border: 2px solid #333; 
    border-radius: 8px;
    width: 90%; 
    max-width: 650px; 
    max-height: 80vh;
    display: flex; 
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,255,0,0.1);
}

.modal-header {
    padding: 15px 20px; 
    border-bottom: 1px solid #333;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.modal-header h3 { 
    margin: 0; 
    color: #fff; 
}

.btn-close {
    background: transparent; 
    border: none; 
    color: #aaa; 
    font-size: 1.5em;
    cursor: pointer; 
    transition: color 0.2s;
}

.btn-close:hover { 
    color: #fff; 
}

.modal-body { 
    padding: 20px; 
    overflow-y: auto; 
    flex-grow: 1; 
}