/* DRS9 Dashboard Admin Styles */ .page { position: relative; display: flex; flex-direction: column; min-height: 100vh; } main { flex: 1; background-color: #f8f9fa; } .top-row { background-color: #fff; border-bottom: 1px solid #dee2e6; padding: 1rem 0; align-items: center; } .sidebar { background-color: #f8f9fa; border-right: 1px solid #dee2e6; min-height: calc(100vh - 60px); } .sidebar .nav-link { color: #495057; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.5rem; } .sidebar .nav-link:hover { color: #0d6efd; background-color: #e9ecef; } .sidebar .nav-link.active { color: #0d6efd; background-color: #e7f1ff; } .sidebar .nav-link i { font-size: 1.1rem; } .nav-item { margin-bottom: 0.25rem; } /* Card Styles */ .card { border: none; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); margin-bottom: 1rem; } .card-header { background-color: #fff; border-bottom: 1px solid #dee2e6; font-weight: 600; } /* Status Badges */ .badge { padding: 0.5em 0.75em; } /* Table Styles */ .table { background-color: #fff; } .table thead th { border-bottom: 2px solid #dee2e6; font-weight: 600; } /* Form Styles */ .form-label { font-weight: 500; } /* Action Buttons */ .btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; } /* Modal Customization */ .modal-header { background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; } /* Stats Cards */ .stat-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 10px; padding: 1.5rem; margin-bottom: 1rem; } .stat-card.success { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); } .stat-card.warning { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); } .stat-card.info { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); } .stat-card h3 { font-size: 2rem; margin-bottom: 0; } .stat-card p { margin-bottom: 0; opacity: 0.9; } /* Loading Spinner */ .spinner-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; } /* Device Status Indicators */ .status-indicator { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; } .status-online { background-color: #28a745; } .status-offline { background-color: #6c757d; } .status-error { background-color: #dc3545; } /* Responsive */ @media (max-width: 768px) { .sidebar { position: fixed; top: 60px; left: -250px; width: 250px; height: calc(100vh - 60px); transition: left 0.3s; z-index: 1000; } .sidebar.show { left: 0; } main { margin-left: 0 !important; } } /* Content Type Icons */ .content-icon { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-right: 1rem; } .content-icon.video { background-color: #e3f2fd; color: #1976d2; } .content-icon.image { background-color: #f3e5f5; color: #7b1fa2; } .content-icon.web { background-color: #e8f5e9; color: #388e3c; } .content-icon.dashboard { background-color: #fff3e0; color: #f57c00; } /* Drag and Drop */ .draggable-item { cursor: move; transition: transform 0.2s, box-shadow 0.2s; } .draggable-item:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .draggable-item.dragging { opacity: 0.5; } .drop-zone { border: 2px dashed #dee2e6; border-radius: 8px; padding: 2rem; text-align: center; transition: border-color 0.2s, background-color 0.2s; } .drop-zone.drag-over { border-color: #0d6efd; background-color: #e7f1ff; } /* Toast Notifications */ .toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; }