/* SnowWorld Admin Dashboard Styles */ :root { --primary-color: #0066cc; --secondary-color: #e6f3ff; --accent-color: #00a8ff; --success-color: #28a745; --warning-color: #ffc107; --danger-color: #dc3545; --dark-color: #2c3e50; --light-color: #f8f9fa; --border-color: #dee2e6; --text-primary: #212529; --text-secondary: #6c757d; --shadow: 0 2px 10px rgba(0, 0, 0, 0.1); --border-radius: 8px; --transition: all 0.3s ease; } * { 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%); min-height: 100vh; color: var(--text-primary); } .container { max-width: 1400px; margin: 0 auto; background: white; min-height: 100vh; box-shadow: var(--shadow); } /* Header Styles */ .header { background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%); color: white; padding: 1rem 2rem; box-shadow: var(--shadow); } .header-content { display: flex; justify-content: space-between; align-items: center; } .logo { display: flex; align-items: center; gap: 1rem; } .logo i { font-size: 2rem; color: #fff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } .logo h1 { font-size: 1.8rem; font-weight: 300; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } .header-actions { display: flex; align-items: center; gap: 1rem; } .status-indicator { display: flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.2); padding: 0.5rem 1rem; border-radius: var(--border-radius); } .status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--success-color); animation: pulse 2s infinite; } .status-dot.disconnected { background: var(--danger-color); animation: none; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } /* Navigation Tabs */ .nav-tabs { display: flex; background: var(--light-color); border-bottom: 1px solid var(--border-color); padding: 0 2rem; } .nav-tab { background: none; border: none; padding: 1rem 1.5rem; cursor: pointer; font-size: 1rem; color: var(--text-secondary); border-bottom: 3px solid transparent; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; } .nav-tab:hover { color: var(--primary-color); background: var(--secondary-color); } .nav-tab.active { color: var(--primary-color); border-bottom-color: var(--primary-color); background: white; } /* Main Content */ .main-content { padding: 2rem; } .tab-content { display: none; } .tab-content.active { display: block; } /* Section Header */ .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); } .section-header h2 { color: var(--dark-color); font-weight: 400; } /* Buttons */ .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: none; border-radius: var(--border-radius); cursor: pointer; font-size: 1rem; transition: var(--transition); text-decoration: none; } .btn-primary { background: var(--primary-color); color: white; } .btn-primary:hover { background: #0052a3; transform: translateY(-1px); } .btn-secondary { background: var(--light-color); color: var(--text-primary); border: 1px solid var(--border-color); } .btn-secondary:hover { background: var(--border-color); } .btn-danger { background: var(--danger-color); color: white; } .btn-danger:hover { background: #c82333; } .btn-small { padding: 0.5rem 1rem; font-size: 0.875rem; } /* Filter Controls */ .filter-controls { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: center; } .form-select, .form-control { padding: 0.5rem 1rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; min-width: 150px; } .form-control:focus, .form-select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2); } textarea.form-control { min-height: 120px; resize: vertical; font-family: inherit; } /* Content Grid */ .content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .content-item { background: white; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border-color); transition: var(--transition); } .content-item:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); } .content-preview { height: 200px; background: var(--light-color); display: flex; align-items: center; justify-content: center; overflow: hidden; } .content-preview img { width: 100%; height: 100%; object-fit: cover; } .content-preview i { color: var(--text-secondary); opacity: 0.6; } .content-preview.video { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .content-preview.video i { color: white; } .content-preview.livestream { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); } .content-preview.livestream i { color: white; } .content-preview.text { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); } .content-preview.text i { color: white; } .text-preview { text-align: center; color: white; padding: 1rem; } .text-preview i { margin-bottom: 0.5rem; } .text-preview p { font-size: 0.875rem; opacity: 0.9; max-width: 200px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .content-info { padding: 1rem; } .content-title { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--dark-color); } .content-meta { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; } .content-meta span { display: flex; align-items: center; gap: 0.25rem; } .content-actions { display: flex; gap: 0.5rem; } /* Empty State */ .empty-state { text-align: center; padding: 3rem; color: var(--text-secondary); } .empty-state i { margin-bottom: 1rem; color: var(--border-color); } /* Modal Styles */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; align-items: center; justify-content: center; } .modal.active { display: flex; } .modal-content { background: white; border-radius: var(--border-radius); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border-color); } .modal-header h3 { margin: 0; color: var(--dark-color); } .close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-secondary); transition: var(--transition); } .close-btn:hover { color: var(--danger-color); } .modal-body { padding: 1.5rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--dark-color); } .file-info { margin-top: 0.5rem; padding: 0.75rem; background: var(--light-color); border-radius: var(--border-radius); font-size: 0.875rem; } .modal-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 2rem; } /* Schedule Styles */ .schedule-container { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; } .zone-selector { background: var(--light-color); padding: 1.5rem; border-radius: var(--border-radius); height: fit-content; } .schedule-timeline { background: white; border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 1.5rem; min-height: 400px; } .schedule-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-left: 4px solid var(--primary-color); background: var(--light-color); border-radius: var(--border-radius); margin-bottom: 1rem; } .schedule-time { font-weight: 500; color: var(--primary-color); min-width: 120px; } .schedule-content h4 { margin: 0 0 0.25rem 0; } .schedule-content p { margin: 0; font-size: 0.875rem; color: var(--text-secondary); } /* Zones Grid */ .zones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; } .zone-card { background: white; border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 2rem; text-align: center; border: 1px solid var(--border-color); transition: var(--transition); } .zone-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); } .zone-icon { margin-bottom: 1rem; } .zone-icon i { color: var(--primary-color); } .zone-name { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--dark-color); } .zone-description { color: var(--text-secondary); font-size: 0.875rem; } /* Analytics */ .analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; } .analytics-card { background: white; border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 1.5rem; border: 1px solid var(--border-color); } .analytics-card h3 { margin-bottom: 1rem; color: var(--dark-color); font-weight: 500; } .stats-container { display: flex; flex-direction: column; gap: 0.75rem; } .stat-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem; background: var(--light-color); border-radius: var(--border-radius); } .stat-label { color: var(--text-secondary); } .stat-value { font-weight: 500; color: var(--dark-color); } /* Toast Notifications */ .toast-container { position: fixed; top: 2rem; right: 2rem; z-index: 2000; display: flex; flex-direction: column; gap: 0.5rem; } .toast { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-radius: var(--border-radius); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); animation: slideIn 0.3s ease; max-width: 400px; } .toast.success { background: var(--success-color); color: white; } .toast.error { background: var(--danger-color); color: white; } .toast.info { background: var(--primary-color); color: white; } .toast.warning { background: var(--warning-color); color: var(--dark-color); } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .toast-close { background: none; border: none; color: inherit; cursor: pointer; font-size: 1.25rem; opacity: 0.7; transition: var(--transition); } .toast-close:hover { opacity: 1; } /* Loading Overlay */ .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 3000; } .loading-content { background: white; padding: 2rem; border-radius: var(--border-radius); text-align: center; } .loading-content p { margin-top: 1rem; color: var(--text-secondary); } /* Responsive Design */ @media (max-width: 768px) { .container { margin: 0; } .header-content { flex-direction: column; gap: 1rem; } .nav-tabs { flex-wrap: wrap; padding: 0 1rem; } .main-content { padding: 1rem; } .filter-controls { flex-direction: column; align-items: stretch; } .schedule-container { grid-template-columns: 1fr; } .content-grid { grid-template-columns: 1fr; } .analytics-grid { grid-template-columns: 1fr; } .modal-content { margin: 1rem; max-width: none; } } /* Loading States */ .loading { opacity: 0.6; pointer-events: none; } .spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: white; animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Winter Theme Enhancements */ .header { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); } .nav-tab.active { border-bottom-color: var(--accent-color); } .btn-primary { background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%); } .content-item { border-top: 3px solid var(--accent-color); } .zone-card { border-top: 3px solid var(--accent-color); } .analytics-card { border-top: 3px solid var(--accent-color); } /* Icon Selector Styles */ .icon-selector { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-top: 0.5rem; } .icon-option { display: flex; align-items: center; justify-content: center; padding: 1rem; border: 2px solid var(--border-color); border-radius: var(--border-radius); cursor: pointer; transition: var(--transition); background: white; } .icon-option:hover { border-color: var(--primary-color); background: var(--secondary-color); transform: scale(1.05); } .icon-option.selected { border-color: var(--primary-color); background: var(--primary-color); color: white; } .icon-option i { font-size: 1.5rem; } @media (max-width: 768px) { .icon-selector { grid-template-columns: repeat(4, 1fr); } }