/* Encuestas SmartFilms – estilos base */
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin: 0; padding: 1rem; }
.container { max-width: 640px; margin: 0 auto; }
.container.container-wide { max-width: 100%; padding: 0 1rem; }
h1 { margin-top: 0; }
label { display: block; margin: 0.5rem 0; }
input, button { padding: 0.5rem; }
.error { color: #c00; }
.success { color: #0a0; }

/* Vista de respuestas */
.responses-actions { margin-bottom: 1rem; }
.responses-actions a { margin-right: 0.5rem; }
.export-label { margin-right: 0.25rem; color: #555; font-size: 0.9rem; }
.btn-download { display: inline-block; background: #0a0; color: #fff; padding: 0.4rem 0.8rem; border-radius: 6px; text-decoration: none; font-weight: 500; }
.btn-download:hover { opacity: 0.9; }
.responses-count { margin-bottom: 1rem; color: #555; }
.empty-state { padding: 2rem; text-align: center; color: #666; }
.table-wrap { overflow-x: auto; margin-top: 1rem; border: 1px solid #ddd; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.responses-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.responses-table th { background: #f0f0f0; color: #333; font-weight: 600; text-align: left; padding: 0.6rem 0.75rem; border-bottom: 2px solid #ccc; white-space: nowrap; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.responses-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #eee; vertical-align: top; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.responses-table tbody tr:hover { background: #f9f9f9; }
.responses-table .col-id { width: 3rem; }
.responses-table .col-date { width: 8rem; white-space: nowrap; }
.responses-table .col-ip { width: 7rem; font-size: 0.85rem; color: #666; }
.responses-table .row-even { background: #fafafa; }
.responses-table .row-odd { background: #fff; }
.responses-table tbody tr.row-even:hover,
.responses-table tbody tr.row-odd:hover { background: #f0f4ff; }

/* Editor: sección Apariencia */
.apariencia-section { margin: 1.5rem 0; padding: 1rem 1.5rem; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; }
.apariencia-section legend { font-weight: 600; padding: 0 0.5rem; }
.apariencia-section p { margin: 0.75rem 0; }
.apariencia-section p:first-of-type { margin-top: 0; }
.apariencia-section strong { display: block; margin-top: 1rem; }
.thank-section { margin-top: 1rem; }
.thank-section textarea { width: 100%; max-width: 480px; }
