/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 29 2026 | 01:29:23 */
.zf-app { max-width: 600px; margin: 0 auto;  min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; }
.zf-header {
    position: sticky;
    top: 0;
    padding: 15px;
    background-color: #1e202f;
    z-index: 100;
    box-shadow: 0 0 10px rgb(0 0 0);
}
.zf-header h1 { color: white; margin: 0 0 15px 0; font-size: 20px; text-align: center; }
.zf-search-box { width: 100%; padding: 12px 15px; font-size: 18px; border: none; border-radius: 8px; box-sizing: border-box; text-align: center; }
.zf-filters { display: flex; gap: 5px; padding: 15px; border-bottom: 1px solid #ddd; overflow-x: auto; }
.zf-filter-btn { flex: 1; padding: 10px; border: 1px solid #ddd; background: #f9f9f9; border-radius: 20px; font-size: 13px; font-weight: bold; cursor: pointer; text-align: center; white-space: nowrap; }
.zf-filter-btn.active { background: #2271b1; color: white; border-color: #2271b1; }
.zf-list { list-style: none; margin: 0; padding: 0; }
.zf-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid #ddd;  cursor: pointer; transition: background 0.2s; }
.zf-item.status-used { background: #1b211d; }
.zf-item.status-review { background: #61583e; }
.zf-item.status-unused .zf-dni {
    color: #ffffff;
}

.zf-item-info { flex: 1; }
.zf-dni { font-size: 22px; font-weight: bold; letter-spacing: 1px; }
.zf-meta { font-size: 12px; color: #666; margin-top: 4px; }
.zf-tag { display: inline-block; background: #2271b1; color: white; padding: 2px 8px; border-radius: 10px; font-size: 11px; margin-left: 5px; }
.zf-check-btn { background: #fff; border: 2px solid #ccc; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer;
    color: #000000;
    font-weight: bolder; }
.status-used .zf-check-btn { background: #28a745; border-color: #28a745; }
.status-review .zf-check-btn {
    background: #ffc826;
    border-color: #ffa13a;
}

/* Modal */
.zf-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 99999; display: none; align-items: flex-end; justify-content: center; }
.zf-modal-overlay.active { display: flex; }
.zf-modal { background: #1a1a1a; width: 100%; max-width: 600px; border-radius: 20px 20px 0 0; padding: 20px; box-sizing: border-box; max-height: 90vh; overflow-y: auto; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.zf-modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 15px; }
.zf-modal-title { font-size: 24px; font-weight: bold; margin:0; }
.zf-close { font-size: 28px; background: none; border: none; cursor: pointer; color: #999; }
.zf-detail-row { margin-bottom: 10px; font-size: 15px; }
.zf-actions { display: flex; gap: 10px; margin: 20px 0; }
.zf-btn { flex: 1; padding: 15px; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; color: white; }
.btn-green { background: #28a745; } .btn-gray { background: #6c757d; } .btn-yellow { background: #ffc107; color: #333; }
.zf-group-list { border: 1px solid #eee; border-radius: 8px; margin-top: 15px; }
.zf-group-item { display: flex; justify-content: space-between; padding: 12px; border-bottom: 1px solid #eee; align-items: center; }
.zf-group-item:last-child { border-bottom: none; }
.zf-history-box { font-size: 12px; padding: 10px; border-radius: 8px; margin-top: 20px; }
/* --- NUEVAS CLASES PARA REEMPLAZAR CSS INLINE --- */

/* Utilidades generales */
.zf-hidden { display: none !important; }
.zf-empty-msg { text-align: center; padding: 20px; color: #666; font-style: italic; }
.zf-error { color: #dc3545; font-weight: bold; }

/* Badge Principal del Modal (reemplaza el style="" en el div id="m-status-badge") */
.zf-status-badge { display: inline-block; padding: 5px 10px; border-radius: 5px; color: white; font-weight: bold; margin-bottom: 15px; }
.badge-used { background-color: #28a745; }
.badge-review { background-color: #ffc107; color: #333; }
.badge-unused { background-color: #6c757d; }

/* Lista de Grupos (Mini tags y botones) */
.zf-group-info {
    line-height: 1.4;
    color: white;
    font-size: 1.3em;
}
.zf-status-tag { display: inline-block; font-size: 11px; font-weight: bold; padding: 2px 6px; border-radius: 4px; border: 1px solid; margin-top: 4px; }
.tag-used { color: #28a745; border-color: #28a745; }
.tag-review { color: #d39e00; border-color: #ffc107; } /* Un poco más oscuro que el fondo para que lea bien */
.tag-unused { color: #6c757d; border-color: #6c757d; }

/* Resalta levemente el ticket que estás viendo actualmente dentro del grupo */
.current-viewing {
    background-color: #3e4349;
    border-left: 3px solid #ffffff;
    padding-left: 9px;
}

/* Botones en miniatura del grupo */
.zf-group-actions { display: flex; gap: 5px; }
.zf-mini-btn { border: none; border-radius: 4px; cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: white; transition: transform 0.1s; width: 5em;}
.zf-mini-btn:active { transform: scale(0.9); }

/* Item de historial */
.zf-history-item { padding: 8px 0; border-bottom: 1px dashed #ccc; font-size: 13px; }
.zf-history-item:last-child { border-bottom: none; }