/* Hoja de Estilos Centralizada - e-NDICC IA v0.9.6.3 */
body { font-family: Arial, sans-serif; padding: 20px; background: #f4f4f9; color: #333; }

.drop-zone { width: 100%; max-width: 600px; height: 200px; border: 2px dashed #007bff; display: flex; align-items: center; justify-content: center; background: #fff; cursor: pointer; margin-bottom: 20px; font-weight: bold; position: relative; }
.drop-zone.dragover { background: #e1eaff; }

/* Controles y Botones */
.controls { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; align-items: center; justify-content: center;}
select, button, input[type="text"], textarea { padding: 10px; font-size: 14px; border-radius: 4px; border: 1px solid #ccc; }
textarea { width: 100%; resize: vertical; }

.hidden-ui { display: none !important; }

.action-buttons { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; justify-content: center;}
#btnAnalizar { background-color: #007bff; color: white; border: none; font-weight: bold; }
#btnAnalizar:disabled { background-color: #aaa; cursor: not-allowed; }
#btnBorrarImg { background-color: #dc3545; color: white; border: none; font-weight: bold; display: none; }
#btnDescargarImg { background-color: #17a2b8; color: white; font-weight: bold; border: none; display: none; }
#btnPDF { background-color: #dc3545; color: white; font-weight: bold; border: none; display: none; }
#btnRefreshPage { display: none; background-color: #6c757d; color: white; border: none; font-weight: bold; cursor: pointer; border-radius: 4px; padding: 10px; }

/* Sliders (Switches) */
.switch-container { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 20px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #28a745; }
input:checked + .slider:before { transform: translateX(20px); }

/* Secciones de Términos y Ejemplos */
.terms-container { margin-top: 10px; margin-bottom: 10px; font-size: 14px; padding-top: 15px; border-top: 1px solid #ddd; text-align: center; }
.ejemplo-container { max-width: 600px; margin: 0 auto 20px auto; background: #e9ecef; padding: 15px; border-radius: 5px; display: none; text-align: left; }
.ejemplo-container label { font-weight: bold; font-size: 13px; display: block; margin-bottom: 5px; }

.links-container { font-size: 13px; margin-bottom: 20px; text-align: center;}
.links-container a { color: #007bff; text-decoration: none; font-weight: bold; margin-right: 15px; }
.links-container a:hover { text-decoration: underline; }

/* Resultados */
#resultados_container { background: #fff; padding: 20px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); display: none; margin-top: 20px; text-align: center;}
table { width: 100%; border-collapse: collapse; margin-top: 15px; margin-bottom: 20px; font-size: 14px; text-align: left;}
th, td { border: 1px solid #ddd; padding: 8px; text-align: left; }
th { background-color: #007bff; color: white; }

.footer-ncs { margin-top: 40px; font-size: 11px; color: #666; border-top: 1px solid #ccc; padding-top: 10px; text-align: left;}