.header-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px; border-bottom: 1px solid #ddd; background: white; color: #333; border-radius: 8px 8px 0 0; } .header-container-title { flex-grow: 1; text-align: left; margin-left: 1em; } .header-container-title h2 { margin: 0; font-weight: 500; } .header-actions { display: flex; gap: 10px; align-items: center; } .action-button { display: flex; align-items: center; gap: 5px; padding: 8px 16px; border-radius: 20px; border: 1px solid #ddd; cursor: pointer; font-weight: 500; transition: all 0.3s ease; background: white; color: #333; } .action-button:hover { background: #f8f9fa; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .action-button.secondary { background: #f8f9fa; border-color: #adb5bd; } .action-button.secondary:hover { background: #e9ecef; } .stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin: 20px 0; padding: 0 10px; } .stat-card { background: white; border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; border-left: 4px solid #667eea; } .stat-card.clickable { cursor: pointer; position: relative; overflow: hidden; } .stat-card.clickable::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.5s ease; } .stat-card.clickable:hover::before { left: 100%; } .stat-card.clickable:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } .stat-card.clickable:active { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .stat-card.active-filter { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); border: 2px solid #fff; position: relative; } .stat-card.active-filter::after { content: '✓'; position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, 0.9); color: #28a745; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .stat-total { border-left-color: #667eea; background: #667eea; color: white; } .stat-total .stat-number, .stat-total .stat-label { color: white; } .stat-today { border-left-color: #17a2b8; background: #17a2b8; color: white; } .stat-today .stat-number, .stat-today .stat-label { color: white; } .stat-success { border-left-color: #28a745; background: #28a745; color: white; } .stat-success .stat-number, .stat-success .stat-label { color: white; } .stat-failed { border-left-color: #dc3545; background: #dc3545; color: white; } .stat-failed .stat-number, .stat-failed .stat-label { color: white; } .stat-in-progress { border-left-color: #ffc107; background: #ffc107; color: #212529; } .stat-in-progress .stat-number, .stat-in-progress .stat-label { color: #212529; } .stat-number { font-size: 2rem; font-weight: bold; color: #667eea; margin-bottom: 5px; } .stat-label { font-size: 0.9rem; color: #666; font-weight: 500; } .filters-section { background: #f8f9fa; border-radius: 8px; margin: 20px 0; padding: 20px; border: 1px solid #e9ecef; } .filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .filters-header-actions { display: flex; align-items: center; gap: 15px; } .active-filter-indicator { display: flex; align-items: center; gap: 8px; background: #e3f2fd; color: #1976d2; padding: 8px 12px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; border: 1px solid #bbdefb; } .active-filter-indicator mat-icon { font-size: 18px; width: 18px; height: 18px; } .active-filter-indicator button { margin-left: 4px; } .filters-header h3 { margin: 0; color: #495057; font-weight: 500; } .search-container { display: flex; flex-direction: column; gap: 15px; transition: all 0.3s ease; } .search-container.expanded { gap: 20px; } .filter-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; align-items: end; } .advanced-filters { border-top: 1px solid #dee2e6; padding-top: 15px; margin-top: 10px; } .calendar-button-row { display: flex; gap: 15px; } .lists-container { padding: 16px; } .imagesLists-container { flex: 1; } .card.unidad-card { height: 100%; box-sizing: border-box; } table { width: 100%; } .search-string { flex: 1; padding: 5px; } .search-boolean { flex: 1; padding: 5px; } .search-select { flex: 2; padding: 5px; } .search-date { flex: 1; padding: 5px; } .mat-elevation-z8 { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-radius: 8px; overflow: hidden; } .table-container { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .table-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #f8f9fa; border-bottom: 1px solid #dee2e6; } .table-info { color: #6c757d; font-size: 0.9rem; } .table-actions { display: flex; gap: 10px; } .column-header { display: flex; align-items: center; gap: 5px; } .sort-button { opacity: 0.5; transition: opacity 0.3s ease; } .sort-button:hover { opacity: 1; } .sort-button.active { opacity: 1; color: #667eea; } .command-cell, .client-cell, .date-cell { display: flex; flex-direction: column; gap: 2px; } .command-name, .client-name { font-weight: 500; color: #212529; } .command-id, .client-ip { font-size: 0.8rem; color: #666; font-family: monospace; } .clickable-job-id { cursor: pointer; color: #1976d2 !important; text-decoration: underline; transition: all 0.2s ease; } .clickable-job-id:hover { color: #1565c0 !important; text-decoration: none; background-color: rgba(25, 118, 210, 0.1); padding: 2px 4px; border-radius: 4px; } .clickable-job-id:active { transform: scale(0.98); } .date-time { font-size: 0.85rem; color: #212529; } .date-relative { font-size: 0.7rem; color: #6c757d; font-style: italic; } .progress-container { display: flex; align-items: center; gap: 10px; width: 100%; } .progress-text { font-size: 0.8rem; font-weight: 500; color: #667eea; min-width: 35px; } /* Ajuste para el botón de cancelar en la barra de progreso */ .progress-container .cancel-button { margin-left: auto; flex-shrink: 0; } .paginator-container { display: flex; justify-content: end; margin: 20px 0; padding: 0 10px; } .chip-failed { background-color: #ff6b6b !important; color: white !important; font-weight: 500; } .chip-success { background-color: #51cf66 !important; color: white !important; font-weight: 500; } .chip-pending { background-color: #74c0fc !important; color: white !important; font-weight: 500; } .chip-in-progress { background-color: #ffd43b !important; color: #212529 !important; font-weight: 500; } .chip-cancelled { background-color: #adb5bd !important; color: white !important; font-weight: 500; } .status-progress-flex { display: flex; align-items: center; gap: 8px; } .status-option { display: flex; align-items: center; gap: 8px; } .status-indicator { width: 12px; height: 12px; border-radius: 50%; } .status-indicator.failed { background-color: #dc3545; } .status-indicator.success { background-color: #28a745; } .status-indicator.pending { background-color: #17a2b8; } .status-indicator.in-progress { background-color: #ffc107; } .status-indicator.cancelled { background-color: #6c757d; } .client-option { display: flex; flex-direction: column; gap: 2px; } .client-name { font-weight: 500; } .client-details { font-size: 0.8rem; color: #6c757d; } .action-buttons { display: flex; gap: 5px; justify-content: center; } button.cancel-button { display: flex; align-items: center; justify-content: center; padding: 5px; } .cancel-button { color: #dc3545; background-color: transparent; border: none; padding: 0; transition: all 0.3s ease; } .cancel-button:hover { background-color: rgba(220, 53, 69, 0.1); border-radius: 50%; } .cancel-button mat-icon { color: #dc3545; } .selected-row { background-color: rgba(102, 126, 234, 0.1) !important; } .mat-row:hover { background-color: rgba(102, 126, 234, 0.05); cursor: pointer; } @media (max-width: 768px) { .header-container { flex-direction: column; gap: 15px; text-align: center; background: white; color: #333; } .header-actions { width: 100%; justify-content: center; } .stats-container { grid-template-columns: repeat(2, 1fr); } .filter-row { grid-template-columns: 1fr; } .table-header { flex-direction: column; gap: 10px; text-align: center; } .action-buttons { flex-direction: column; gap: 2px; } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .stats-container, .filters-section, .table-container { animation: fadeIn 0.5s ease-out; } .loading-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; z-index: 1000; }