/* Estilo general */
body {
    font-family: Arial, sans-serif;
    background-color: #111;
    color: #eee;
    margin: 0;
    padding: 0;
    min-height: 200vh; /* 👈 este es el ajuste */
}

/* Encabezado */
header {
    background-color: red;
    color: white;
    padding: 25px;
}

/* Formularios */
form {
    margin-top: 5px;
}
input, select {
    padding: 10px;
    margin: 10px auto;
    width: 250px;
    display: block;
    border-radius: 5px;
    border: none;
}

/* Botones estilo neón para enlaces del menú */
.menu a {
    background-color: red;
    color: black;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255,0,0,0.8); /* efecto neón */
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.menu a:hover {
    transform: scale(1.1);
    background-color: darkred;
    color: white;
}
/* Forzar scroll horizontal en tablas largas */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* scroll suave en móviles */
}

.table td, .table th {
    white-space: nowrap; /* evita que el texto se parta y monte */
}
.navbar-toggler {
    margin-right: 1px;
}
button {
    background-color: red;
    color: black;
    font-weight: bold;
    display: block; 
    margin: auto;
    margin-bottom: 1px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255,0,0,0.8);
    transition: transform 0.2s ease;
    cursor: pointer;
}
button:hover {
    transform: scale(1.1);
    background-color: darkred;
    color: white;
}

.btn-download {
    background-color: #e60000; /* rojo intenso */
    color: #fff;
    border: none;
    margin: 0 auto; /* elimina espacio externo */
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* sombrita */
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #cc0000; /* shade más oscuro al pasar el mouse */
    box-shadow: 0 0 12px #3e3a3a, 0 0 20px red;
    transform: translateY(-2px); /* efecto mono de levantarse */
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
table th, table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: center;
}
table th {
    background-color: #222;
    color: red;
}

/* Secciones */
.container {
    width: 90%;
    margin: 30px auto;
}
.form-section {
    margin-top: 40px;
    text-align: center;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
}

/* Caja de planes */ 
.plan-box { 
    margin: 50px auto; 
    padding: 10px; 
    width: 60%; 
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.2); 
    background-color: #f9f9f9; 
    color: black; 
} 
/* Caja de QR */ 
.qr-box { 
    margin: 5px auto; 
    padding: 10px; 
    width: 15%;
    height: auto
    border: 1px solid #ccc; 
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
    background-color: white; 
    color: black; 
} 
/* Countdown */ 
.countdown { 
    font-weight: bold; 
    color: red; 
}
/* Alertas */
.alert {
    margin: 20px auto;
    width: 300px;
    padding: 10px;
    border-radius: 5px;
}
.alert-success {
    background-color: green;
    color: white;
}
.alert-error {
    background-color: darkred;
    color: white;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 5px;
    position: fixed;
    bottom: 0;
    width: 100%;
}
/* Dasboard Cajas de Metricas */
.metric-title {
    font-size: clamp(0.7rem, 1.5vw, 1rem); /* pequeño pero adaptable */
    color: #fff;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: clamp(1rem, 2.5vw, 1.8rem); /* más grande, pero flexible */
    font-weight: bold;
    color: #fff;
}

.metric-card {
    background: #000;
    border: 2px solid #ff0000;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}
.metric-card:hover {
    box-shadow: 0 0 15px #ff0000;
}
