/* La base — que se vea bien en celular desde el principio */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #222;
    padding: 16px;
    max-width: 500px;
    margin: 0 auto;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
}

h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    margin-top: 20px;
}


/*  Formularios — que los inputs se vean grandes y fáciles de tocar  */
section {
    background: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

button {
    background-color: #2563eb;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #1e40af;
}

/*  La lista de clientes y el botón de borrar */
#lista-clientes div {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

#lista-clientes div:last-child {
    border-bottom: none;
}

.btn-borrar {
    background-color: #dc2626;
    width: auto;
    padding: 6px 12px;
    font-size: 0.85rem;
    margin-top: 6px;
}

.btn-borrar:hover {
    background-color: #991b1b;
}

/* ESTA PARTE ES DEL BOTON, SI DEJO ALGO O NO, SI DEJO ALGO APARECE:  CUANTO DEJO  */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 15px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}