/* «Mi perfil» (perfil.html y en/perfil.html): sobre legal.css */
.perfil-web input[type="email"], .perfil-web input[type="text"], .perfil-web select { padding: 10px 12px; border: 1px solid var(--gray); border-radius: 6px; font-size: 1rem; font-family: inherit; box-sizing: border-box; }
.perfil-web #input-voz-pred { width: 100%; max-width: 420px; }
.fila-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.fila-form input[type="email"], .fila-form input[type="text"] { flex: 1; min-width: 180px; }
#input-codigo { letter-spacing: 6px; font-size: 1.3rem; max-width: 200px; text-align: center; }
.fila-casilla { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; } /* borrar-cuenta.html */
.btn-principal { background: var(--primary); color: white; border: none; padding: 10px 18px; border-radius: 8px; font-weight: bold; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
.btn-principal:hover { background: var(--primary-hover); }
.btn-principal:disabled { opacity: .6; cursor: default; }
.btn-secundario { background: white; color: var(--primary); border: 1px solid var(--gray); padding: 8px 14px; border-radius: 8px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-secundario:hover { border-color: var(--primary); }
.btn-secundario:disabled { opacity: .5; cursor: default; }
.btn-secundario.peligro { color: #b91c1c; }
.btn-secundario.peligro:hover { border-color: #b91c1c; background: #fef2f2; }
.boton-archivo { position: relative; overflow: hidden; display: inline-block; }
.boton-archivo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.orden { display: flex; gap: 6px; align-items: center; margin-left: auto; font-size: 0.9rem; color: #4b5563; }
.mensaje { background: #f0fdfa; border-left: 4px solid var(--primary); padding: 10px 14px; border-radius: 6px; }
.mensaje.error { background: #fef2f2; border-left-color: #b91c1c; color: #7f1d1d; }
.nota { font-size: 0.9rem; color: #6b7280; }
.cabecera-perfil { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.insignia { background: #dbeafe; color: #1e40af; padding: 4px 10px; border-radius: 6px; font-weight: bold; font-size: 0.9rem; }
.uso { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--primary); font-size: 0.95rem; }
.barra { flex: 1; max-width: 320px; height: 10px; background: var(--gray); border-radius: 5px; overflow: hidden; }
.barra span { display: block; height: 100%; width: 0; background: var(--primary-hover); transition: width .3s; }
.barra.llena span { background: #b91c1c; }
.fila { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--gray); border-radius: 8px; margin-bottom: 8px; }
.fila .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fila .info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila .info span, .fila .info code { font-size: 0.85rem; color: #6b7280; }
.fila.nota .info p { margin: 4px 0 0; white-space: pre-wrap; max-height: 140px; overflow: auto; font-size: 0.95rem; }
.vacio { color: #6b7280; font-style: italic; }
.etiqueta { display: block; font-weight: 600; margin: 14px 0 6px; }
@media (max-width: 700px) { .orden { margin-left: 0; } .cabecera-perfil { flex-direction: column; } }
