Spaces:
Paused
Paused
| /* Reset and Base Styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: #333; | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| } | |
| /* App Container */ | |
| .app-container { | |
| display: flex; | |
| min-height: 100vh; | |
| background: rgba(255, 255, 255, 0.95); | |
| backdrop-filter: blur(10px); | |
| margin: 10px; | |
| border-radius: 15px; | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); | |
| overflow: hidden; | |
| } | |
| /* Header */ | |
| .header { | |
| position: fixed; | |
| top: 10px; | |
| left: 270px; | |
| right: 10px; | |
| height: 70px; | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| border-radius: 15px 15px 0 0; | |
| z-index: 1000; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .header-content { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| height: 100%; | |
| padding: 0 30px; | |
| color: white; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| } | |
| .logo i { | |
| font-size: 2rem; | |
| color: #fff; | |
| } | |
| .logo h1 { | |
| font-size: 1.8rem; | |
| font-weight: 600; | |
| margin: 0; | |
| } | |
| .header-status { | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| } | |
| .status-indicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 8px 16px; | |
| background: rgba(255, 255, 255, 0.2); | |
| border-radius: 25px; | |
| transition: all 0.3s ease; | |
| } | |
| .status-indicator.online i { | |
| color: #4ade80; | |
| } | |
| .status-indicator.offline i { | |
| color: #ef4444; | |
| } | |
| .refresh-btn { | |
| padding: 10px; | |
| background: rgba(255, 255, 255, 0.2); | |
| border-radius: 50%; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| } | |
| .refresh-btn:hover { | |
| background: rgba(255, 255, 255, 0.3); | |
| transform: rotate(180deg); | |
| } | |
| /* Sidebar */ | |
| .sidebar { | |
| width: 260px; | |
| background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%); | |
| border-radius: 15px 0 0 15px; | |
| padding: 90px 0 20px 0; | |
| position: fixed; | |
| height: calc(100vh - 20px); | |
| overflow-y: auto; | |
| } | |
| .nav-menu { | |
| padding: 0 20px; | |
| } | |
| .nav-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| padding: 15px 20px; | |
| margin: 5px 0; | |
| color: #a0aec0; | |
| cursor: pointer; | |
| border-radius: 10px; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| } | |
| .nav-item:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: #fff; | |
| transform: translateX(5px); | |
| } | |
| .nav-item.active { | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| color: #fff; | |
| box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3); | |
| } | |
| .nav-item i { | |
| font-size: 1.2rem; | |
| width: 20px; | |
| text-align: center; | |
| } | |
| /* Main Content */ | |
| .main-content { | |
| flex: 1; | |
| margin-left: 260px; | |
| padding: 90px 30px 30px 30px; | |
| background: #f8fafc; | |
| min-height: calc(100vh - 20px); | |
| border-radius: 0 15px 15px 0; | |
| } | |
| .content-section { | |
| display: none; | |
| animation: fadeIn 0.5s ease-in-out; | |
| } | |
| .content-section.active { | |
| display: block; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .section-header { | |
| margin-bottom: 30px; | |
| } | |
| .section-header h2 { | |
| font-size: 2rem; | |
| color: #2d3748; | |
| margin-bottom: 8px; | |
| } | |
| .section-header p { | |
| color: #718096; | |
| font-size: 1.1rem; | |
| } | |
| /* Stats Grid */ | |
| .stats-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 20px; | |
| margin-bottom: 40px; | |
| } | |
| .stat-card { | |
| background: linear-gradient(135deg, #fff 0%, #f8fafc 100%); | |
| padding: 25px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| transition: all 0.3s ease; | |
| } | |
| .stat-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); | |
| } | |
| .stat-icon { | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 15px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| color: white; | |
| font-size: 1.5rem; | |
| } | |
| .stat-content h3 { | |
| font-size: 2rem; | |
| font-weight: 700; | |
| color: #2d3748; | |
| margin-bottom: 5px; | |
| } | |
| .stat-content p { | |
| color: #718096; | |
| font-size: 0.9rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| /* Component Status */ | |
| .component-status { | |
| background: white; | |
| padding: 25px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| margin-bottom: 30px; | |
| } | |
| .component-status h3 { | |
| color: #2d3748; | |
| margin-bottom: 20px; | |
| font-size: 1.3rem; | |
| } | |
| .component-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 15px; | |
| } | |
| .component-item { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 15px; | |
| background: #f8fafc; | |
| border-radius: 10px; | |
| border-left: 4px solid #e2e8f0; | |
| } | |
| .component-item.online { | |
| border-left-color: #4ade80; | |
| } | |
| .component-item.offline { | |
| border-left-color: #ef4444; | |
| } | |
| .component-name { | |
| font-weight: 600; | |
| color: #2d3748; | |
| } | |
| .component-status-badge { | |
| padding: 4px 12px; | |
| border-radius: 20px; | |
| font-size: 0.8rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| } | |
| .component-status-badge.online { | |
| background: #dcfce7; | |
| color: #166534; | |
| } | |
| .component-status-badge.offline { | |
| background: #fee2e2; | |
| color: #991b1b; | |
| } | |
| /* Charts Container */ | |
| .charts-container { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); | |
| gap: 20px; | |
| margin-top: 30px; | |
| } | |
| .chart-card { | |
| background: white; | |
| padding: 25px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| } | |
| .chart-card h3 { | |
| color: #2d3748; | |
| margin-bottom: 20px; | |
| font-size: 1.2rem; | |
| } | |
| /* Tables */ | |
| .table-container { | |
| background: white; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| overflow: hidden; | |
| margin-bottom: 20px; | |
| } | |
| .table-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 20px 25px; | |
| background: #f8fafc; | |
| border-bottom: 1px solid #e2e8f0; | |
| } | |
| .table-header h3 { | |
| color: #2d3748; | |
| font-size: 1.2rem; | |
| } | |
| .table-wrapper { | |
| overflow-x: auto; | |
| } | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| thead { | |
| background: #f8fafc; | |
| } | |
| th, td { | |
| padding: 15px; | |
| text-align: left; | |
| border-bottom: 1px solid #e2e8f0; | |
| } | |
| th { | |
| font-weight: 600; | |
| color: #4a5568; | |
| text-transform: uppercase; | |
| font-size: 0.8rem; | |
| letter-spacing: 0.5px; | |
| } | |
| td { | |
| color: #2d3748; | |
| } | |
| tbody tr:hover { | |
| background: #f8fafc; | |
| } | |
| /* Buttons */ | |
| .btn { | |
| padding: 10px 20px; | |
| border: none; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| font-weight: 600; | |
| text-decoration: none; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| transition: all 0.3s ease; | |
| font-size: 0.9rem; | |
| } | |
| .btn-primary { | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| color: white; | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3); | |
| } | |
| .btn-secondary { | |
| background: #e2e8f0; | |
| color: #4a5568; | |
| } | |
| .btn-secondary:hover { | |
| background: #cbd5e0; | |
| transform: translateY(-2px); | |
| } | |
| .btn-danger { | |
| background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%); | |
| color: white; | |
| } | |
| .btn-danger:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); | |
| } | |
| .btn-success { | |
| background: linear-gradient(135deg, #51cf66 0%, #40c057 100%); | |
| color: white; | |
| } | |
| .btn-success:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 15px rgba(81, 207, 102, 0.3); | |
| } | |
| /* Status Badges */ | |
| .status-badge { | |
| padding: 4px 12px; | |
| border-radius: 20px; | |
| font-size: 0.8rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| } | |
| .status-active { | |
| background: #dcfce7; | |
| color: #166534; | |
| } | |
| .status-inactive { | |
| background: #fee2e2; | |
| color: #991b1b; | |
| } | |
| .status-pending { | |
| background: #fef3c7; | |
| color: #92400e; | |
| } | |
| /* NAT Stats */ | |
| .nat-stats { | |
| background: white; | |
| padding: 25px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| margin-bottom: 30px; | |
| } | |
| .stat-row { | |
| display: flex; | |
| justify-content: space-around; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 20px; | |
| } | |
| .stat-item { | |
| text-align: center; | |
| } | |
| .stat-label { | |
| display: block; | |
| color: #718096; | |
| font-size: 0.9rem; | |
| margin-bottom: 5px; | |
| } | |
| .stat-value { | |
| display: block; | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: #2d3748; | |
| } | |
| /* Firewall Controls */ | |
| .firewall-controls { | |
| display: flex; | |
| gap: 15px; | |
| margin-bottom: 20px; | |
| } | |
| /* Router Tabs */ | |
| .router-tabs { | |
| background: white; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| overflow: hidden; | |
| } | |
| .tab-buttons { | |
| display: flex; | |
| background: #f8fafc; | |
| border-bottom: 1px solid #e2e8f0; | |
| } | |
| .tab-btn { | |
| flex: 1; | |
| padding: 15px 20px; | |
| border: none; | |
| background: transparent; | |
| cursor: pointer; | |
| font-weight: 600; | |
| color: #718096; | |
| transition: all 0.3s ease; | |
| } | |
| .tab-btn.active { | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| color: white; | |
| } | |
| .tab-btn:hover:not(.active) { | |
| background: #e2e8f0; | |
| color: #2d3748; | |
| } | |
| .tab-content { | |
| padding: 25px; | |
| } | |
| .tab-pane { | |
| display: none; | |
| } | |
| .tab-pane.active { | |
| display: block; | |
| } | |
| /* Bridge Info */ | |
| .bridge-info { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 20px; | |
| margin-bottom: 30px; | |
| } | |
| .info-card { | |
| background: white; | |
| padding: 20px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| text-align: center; | |
| } | |
| .info-card h4 { | |
| color: #2d3748; | |
| margin-bottom: 10px; | |
| font-size: 1.1rem; | |
| } | |
| .info-card p { | |
| color: #718096; | |
| margin: 5px 0; | |
| } | |
| /* Session Summary */ | |
| .session-summary { | |
| background: white; | |
| padding: 25px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| margin-bottom: 30px; | |
| } | |
| /* Table Controls */ | |
| .table-controls { | |
| display: flex; | |
| gap: 15px; | |
| align-items: center; | |
| } | |
| .table-controls select { | |
| padding: 8px 12px; | |
| border: 1px solid #e2e8f0; | |
| border-radius: 6px; | |
| background: white; | |
| color: #2d3748; | |
| } | |
| /* Log Controls */ | |
| .log-controls { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 20px; | |
| flex-wrap: wrap; | |
| gap: 15px; | |
| } | |
| .log-filters { | |
| display: flex; | |
| gap: 15px; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| } | |
| .log-filters select, | |
| .log-filters input { | |
| padding: 8px 12px; | |
| border: 1px solid #e2e8f0; | |
| border-radius: 6px; | |
| background: white; | |
| color: #2d3748; | |
| } | |
| .log-filters input { | |
| min-width: 200px; | |
| } | |
| .log-actions { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| /* Log Container */ | |
| .log-container { | |
| background: white; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| max-height: 600px; | |
| overflow-y: auto; | |
| } | |
| .log-entry { | |
| padding: 15px 20px; | |
| border-bottom: 1px solid #e2e8f0; | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 15px; | |
| } | |
| .log-entry:last-child { | |
| border-bottom: none; | |
| } | |
| .log-entry:hover { | |
| background: #f8fafc; | |
| } | |
| .log-level { | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| font-size: 0.7rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| min-width: 60px; | |
| text-align: center; | |
| } | |
| .log-level.DEBUG { | |
| background: #e2e8f0; | |
| color: #4a5568; | |
| } | |
| .log-level.INFO { | |
| background: #bee3f8; | |
| color: #2b6cb0; | |
| } | |
| .log-level.WARNING { | |
| background: #fef3c7; | |
| color: #92400e; | |
| } | |
| .log-level.ERROR { | |
| background: #fed7d7; | |
| color: #c53030; | |
| } | |
| .log-level.CRITICAL { | |
| background: #fed7d7; | |
| color: #742a2a; | |
| } | |
| .log-content { | |
| flex: 1; | |
| } | |
| .log-timestamp { | |
| color: #718096; | |
| font-size: 0.8rem; | |
| margin-bottom: 5px; | |
| } | |
| .log-message { | |
| color: #2d3748; | |
| line-height: 1.5; | |
| } | |
| .log-metadata { | |
| color: #718096; | |
| font-size: 0.8rem; | |
| margin-top: 5px; | |
| } | |
| /* Configuration */ | |
| .config-container { | |
| display: grid; | |
| gap: 30px; | |
| margin-bottom: 30px; | |
| } | |
| .config-section { | |
| background: white; | |
| padding: 25px; | |
| border-radius: 15px; | |
| box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); | |
| } | |
| .config-section h3 { | |
| color: #2d3748; | |
| margin-bottom: 20px; | |
| font-size: 1.2rem; | |
| } | |
| .config-form { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 20px; | |
| } | |
| .form-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 5px; | |
| } | |
| .form-group label { | |
| color: #4a5568; | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| } | |
| .form-group input, | |
| .form-group select { | |
| padding: 10px 12px; | |
| border: 1px solid #e2e8f0; | |
| border-radius: 6px; | |
| background: white; | |
| color: #2d3748; | |
| transition: border-color 0.3s ease; | |
| } | |
| .form-group input:focus, | |
| .form-group select:focus { | |
| outline: none; | |
| border-color: #4facfe; | |
| box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1); | |
| } | |
| .config-actions { | |
| display: flex; | |
| gap: 15px; | |
| justify-content: center; | |
| } | |
| /* Modals */ | |
| .modal { | |
| display: none; | |
| position: fixed; | |
| z-index: 2000; | |
| left: 0; | |
| top: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0, 0, 0, 0.5); | |
| backdrop-filter: blur(5px); | |
| } | |
| .modal-content { | |
| background: white; | |
| margin: 5% auto; | |
| padding: 0; | |
| border-radius: 15px; | |
| width: 90%; | |
| max-width: 600px; | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); | |
| animation: modalSlideIn 0.3s ease-out; | |
| } | |
| @keyframes modalSlideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(-50px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .modal-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 20px 25px; | |
| border-bottom: 1px solid #e2e8f0; | |
| background: #f8fafc; | |
| border-radius: 15px 15px 0 0; | |
| } | |
| .modal-header h3 { | |
| color: #2d3748; | |
| margin: 0; | |
| } | |
| .close { | |
| color: #718096; | |
| font-size: 28px; | |
| font-weight: bold; | |
| cursor: pointer; | |
| transition: color 0.3s ease; | |
| } | |
| .close:hover { | |
| color: #2d3748; | |
| } | |
| .modal-body { | |
| padding: 25px; | |
| } | |
| .modal-footer { | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: 15px; | |
| padding: 20px 25px; | |
| border-top: 1px solid #e2e8f0; | |
| background: #f8fafc; | |
| border-radius: 0 0 15px 15px; | |
| } | |
| /* Loading Overlay */ | |
| .loading-overlay { | |
| display: none; | |
| position: fixed; | |
| z-index: 3000; | |
| left: 0; | |
| top: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(255, 255, 255, 0.9); | |
| backdrop-filter: blur(5px); | |
| } | |
| .loading-spinner { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| text-align: center; | |
| color: #4facfe; | |
| } | |
| .loading-spinner i { | |
| font-size: 3rem; | |
| margin-bottom: 20px; | |
| } | |
| .loading-spinner p { | |
| font-size: 1.2rem; | |
| font-weight: 600; | |
| } | |
| /* Toast Notifications */ | |
| .toast-container { | |
| position: fixed; | |
| top: 100px; | |
| right: 30px; | |
| z-index: 2500; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .toast { | |
| padding: 15px 20px; | |
| border-radius: 10px; | |
| color: white; | |
| font-weight: 600; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |
| animation: toastSlideIn 0.3s ease-out; | |
| max-width: 350px; | |
| } | |
| @keyframes toastSlideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateX(100%); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateX(0); | |
| } | |
| } | |
| .toast.success { | |
| background: linear-gradient(135deg, #51cf66 0%, #40c057 100%); | |
| } | |
| .toast.error { | |
| background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%); | |
| } | |
| .toast.warning { | |
| background: linear-gradient(135deg, #ffd43b 0%, #fab005 100%); | |
| } | |
| .toast.info { | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 1200px) { | |
| .stats-grid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| .charts-container { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .app-container { | |
| margin: 5px; | |
| border-radius: 10px; | |
| } | |
| .sidebar { | |
| width: 100%; | |
| height: auto; | |
| position: relative; | |
| border-radius: 10px 10px 0 0; | |
| padding: 20px 0; | |
| } | |
| .header { | |
| position: relative; | |
| left: 0; | |
| right: 0; | |
| top: 0; | |
| border-radius: 0; | |
| } | |
| .main-content { | |
| margin-left: 0; | |
| padding: 20px; | |
| border-radius: 0 0 10px 10px; | |
| } | |
| .stats-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .header-content { | |
| padding: 0 20px; | |
| } | |
| .logo h1 { | |
| font-size: 1.4rem; | |
| } | |
| .section-header h2 { | |
| font-size: 1.5rem; | |
| } | |
| .log-controls { | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| .log-filters { | |
| justify-content: stretch; | |
| } | |
| .log-filters input { | |
| min-width: auto; | |
| flex: 1; | |
| } | |
| .modal-content { | |
| width: 95%; | |
| margin: 10% auto; | |
| } | |
| .config-form { | |
| grid-template-columns: 1fr; | |
| } | |
| .stat-row { | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| .table-wrapper { | |
| font-size: 0.9rem; | |
| } | |
| th, td { | |
| padding: 10px 8px; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .header-content { | |
| padding: 0 15px; | |
| } | |
| .logo h1 { | |
| display: none; | |
| } | |
| .main-content { | |
| padding: 15px; | |
| } | |
| .section-header h2 { | |
| font-size: 1.3rem; | |
| } | |
| .stat-card { | |
| padding: 20px; | |
| } | |
| .stat-icon { | |
| width: 50px; | |
| height: 50px; | |
| font-size: 1.2rem; | |
| } | |
| .stat-content h3 { | |
| font-size: 1.5rem; | |
| } | |
| .btn { | |
| padding: 8px 16px; | |
| font-size: 0.8rem; | |
| } | |
| th, td { | |
| padding: 8px 6px; | |
| font-size: 0.8rem; | |
| } | |
| } | |
| /* Scrollbar Styling */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); | |
| } | |
| /* Animation Classes */ | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-in-out; | |
| } | |
| .slide-up { | |
| animation: slideUp 0.3s ease-out; | |
| } | |
| @keyframes slideUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { | |
| box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7); | |
| } | |
| 70% { | |
| box-shadow: 0 0 0 10px rgba(79, 172, 254, 0); | |
| } | |
| 100% { | |
| box-shadow: 0 0 0 0 rgba(79, 172, 254, 0); | |
| } | |
| } | |