/* =========================================================
   RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding: 10px !important;
    margin: 0 !important;
    background: #f5f7fa;
    font-family: "Segoe UI", Roboto, sans-serif;
    color: #333;
    line-height: 1.4;
}

/* Invisibles */
.invisible {
    display: none;
}

.inline {
    display: inline;
}

/* =========================================================
   TITULOS
========================================================= */
h1 {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #222;
}

h2 {
    margin: 25px 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 5px 0;
}

h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* =========================================================
   BLOQUES / TARJETAS
========================================================= */
#participantes,
#canciones,
#pagina2,
#pagina3 {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    margin: 25px 0;
}

/* =========================================================
   CAMPOS Y LAYOUT
========================================================= */

/* Contenedor de renglones */
.campo {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 18px 0;
}

/* Cada campo */
.field-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 100px;
}

.field-group label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}

/* Proporciones específicas del formulario */
.field-nombre     { flex-basis: 30%; }
.field-apellido   { flex-basis: 30%; }
.field-fechanac   { flex-basis: 15%; }
.field-dni        { flex-basis: 15%; }

.field-nacionalidad { flex-basis: 20%; }
.field-cuil         { flex-basis: 20%; }
.field-email        { flex-basis: 30%; }
.field-telefono     { flex-basis: 20%; }

.field-domicilio  { flex-basis: 70%; }
.field-piso       { flex-basis: 10%; }
.field-depto      { flex-basis: 10%; }

.field-cp         { flex-basis: 15%; }
.field-provincia  { flex-basis: 37%; }
.field-localidad  { flex-basis: 38%; }

/* =========================================================
   ESTILO DE INPUTS / SELECTS — compactos y rectos
========================================================= */
.field-group input,
.field-group select {
    padding: 6px 10px;
    border: 1px solid #bfc4c9;
    background: #fff;
    border-radius: 0;
    font-size: 14px;
    height: 32px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

/* Foco */
.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: #4d9aff;
    box-shadow: 0 0 0 2px rgba(77,154,255,0.25);
}

/* Inputs en canciones */
#formulario_canciones input[type="text"] {
    width: 70%;
    padding: 6px 8px;
    border: 1px solid #bfc4c9;
    border-radius: 0;
    height: 32px;
}

/* Inputs dentro de tablas */
table input[type="text"] {
    padding: 6px 8px;
    border: 1px solid #bfc4c9;
    border-radius: 0;
    height: 32px;
}

/* Selects uniformes */
select {
    border-radius: 0 !important;
    height: 32px !important;
    padding: 6px 10px !important;
}

/* =========================================================
   TABLAS
========================================================= */
/* =========================================================
   TABLAS — ESTILO MEJORADO Y CENTRADAS
========================================================= */

#tablas {
    display: flex;
    flex-direction: column;
    gap: 35px;              /* separación pareja entre tablas */
    align-items: center;    /* centra horizontalmente */
    width: 100%;
}

.table-container table {
    width: 95%;             /* ancho controlado para que no toque los bordes */
    max-width: 900px;       /* ancho máximo para buena lectura */
    margin: 0 auto;         /* centra */
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 4px;
}

/* Encabezados */
.table-container th {
    background: #f1f3f7;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

/* Celdas */
.table-container td {
    padding: 10px;
    border-bottom: 1px solid #e6e6e6;
}

/* Alternancia */
.table-container tr:nth-child(even) {
    background: #fafafa;
}

/* Hover */
.table-container tr:hover td {
    background-color: #eef4ff;
}










/* =========================================================
   BOTONES
========================================================= */
input[type="button"],
input[type="submit"] {
    background: #2b7cff;
    border: none;
    padding: 12px 25px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.2s;
}

input[type="button"]:hover,
input[type="submit"]:hover {
    background: #1a68e8;
}

input[type="button"]:active,
input[type="submit"]:active {
    background: #1456c4;
}

/* Botón secundario */
#botonAtras {
    background: #e8ecf1;
    color: #333;
    margin-right: 10px;
}

#botonAtras:hover {
    background: #d7dce2;
}


input.boton-copiar {
    background: none !important;
    border: 1px solid #ccc !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
    color: #555 !important;
    border-radius: 0 !important;
    cursor: pointer;

        all: unset;                /* ← elimina absolutamente TODOS los estilos heredados */
    display: inline-block;
    padding: 4px 6px;          /* ← separación interna */
    margin: 6px;               /* ← separación respecto a los bordes de la celda */
    font-size: 12px;
    color: #333;
    background-color: #f2f2f2; /* ← gris muy suave */
    border: 1px solid #ccc;
    border-radius: 3px;        /* pequeño redondeo */
    cursor: pointer;
}

input.boton-copiar:hover {
    background: #eee !important;
}

td .boton-copiar {
    margin: 4px 6px;
}

.titulo-cancion {
    font-size: xx-large;
}

/* =========================================================
   CHECKBOX
========================================================= */
input[type="checkbox"] {
    transform: scale(1.25);
    margin-right: 8px;
}

label {
    font-size: 15px;
        margin-right: 25px;

}





table{
margin: 30px
}










