/* Podcastrr - Complete Sonarr-style Interface */ * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 13px; color: #c9d1d9; background-color: #0d1117; overflow: hidden; } /* Main Layout */ .app-container { display: flex; height: 100vh; background-color: #0d1117; } /* Sidebar */ .sidebar { width: 180px; background-color: #161b22; border-right: 1px solid #30363d; display: flex; flex-direction: column; flex-shrink: 0; height: 100vh; } .sidebar-header { padding: 12px 16px; border-bottom: 1px solid #30363d; background-color: #21262d; } .sidebar-header h1 { font-size: 16px; font-weight: 600; color: #58a6ff; margin: 0; } .sidebar-nav { flex: 1; padding: 8px 0; } .sidebar-nav ul { list-style: none; margin: 0; padding: 0; } .sidebar-nav li { margin: 0; } .sidebar-nav a { display: flex; align-items: center; padding: 8px 16px; color: #c9d1d9; text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.1s ease; border-left: 3px solid transparent; } .sidebar-nav a:hover { background-color: #21262d; color: #f0f6fc; } .sidebar-nav a.active { background-color: #1f6feb; color: #ffffff; border-left-color: #58a6ff; } /* Main Content Area */ .main-area { flex: 1; display: flex; flex-direction: column; background-color: #0d1117; overflow: hidden; } /* Top Header */ .top-header { height: 48px; background-color: #161b22; border-bottom: 1px solid #30363d; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex-shrink: 0; } .header-search { flex: 1; max-width: 300px; margin-left: 16px; } .header-search input { width: 100%; height: 28px; padding: 0 8px; background-color: #21262d; border: 1px solid #30363d; border-radius: 4px; color: #c9d1d9; font-size: 12px; } .header-search input:focus { outline: none; border-color: #58a6ff; box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3); } .header-search input::placeholder { color: #7d8590; } /* Page Header */ .page-header { height: 56px; background-color: #161b22; border-bottom: 1px solid #30363d; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex-shrink: 0; } .page-title { font-size: 18px; font-weight: 600; color: #f0f6fc; margin: 0; } .page-actions { display: flex; gap: 8px; } /* Toolbar */ .toolbar { height: 40px; background-color: #21262d; border-bottom: 1px solid #30363d; display: flex; align-items: center; padding: 0 16px; gap: 8px; flex-shrink: 0; } .toolbar-btn { height: 28px; padding: 0 12px; background-color: #30363d; border: 1px solid #30363d; border-radius: 4px; color: #c9d1d9; font-size: 12px; font-weight: 500; cursor: pointer; display: flex; align-items: center; text-decoration: none; transition: all 0.1s ease; } .toolbar-btn:hover { background-color: #484f58; border-color: #484f58; color: #f0f6fc; } .toolbar-btn.primary { background-color: #1f6feb; border-color: #1f6feb; color: #ffffff; } .toolbar-btn.primary:hover { background-color: #1a5cd8; border-color: #1a5cd8; } /* Content Area */ .content-area { flex: 1; overflow: auto; background-color: #0d1117; } /* Stats Grid and Cards */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; padding: 16px; } .stat-card { background-color: #161b22; border: 1px solid #30363d; border-radius: 6px; padding: 16px; text-align: center; } .stat-card h3 { font-size: 14px; font-weight: 600; color: #f0f6fc; margin-bottom: 8px; } .stat-value { font-size: 24px; font-weight: 700; color: #58a6ff; margin: 0; } .stat-subtitle { font-size: 11px; color: #7d8590; margin-top: 4px; } /* Data Table */ .data-table { width: 100%; border-collapse: collapse; font-size: 12px; background-color: #0d1117; } .data-table thead { background-color: #161b22; position: sticky; top: 0; z-index: 10; } .data-table th { padding: 8px 16px; text-align: left; font-weight: 600; color: #f0f6fc; border-bottom: 1px solid #30363d; white-space: nowrap; } .data-table td { padding: 8px 16px; border-bottom: 1px solid #21262d; color: #c9d1d9; vertical-align: middle; } .data-table tbody tr:hover { background-color: #161b22; } .data-table tbody tr:nth-child(even) { background-color: rgba(22, 27, 34, 0.5); } .data-table tbody tr:nth-child(even):hover { background-color: #161b22; } /* Table Cell Types */ .cell-title { font-weight: 500; } .cell-title a { color: #58a6ff; text-decoration: none; } .cell-title a:hover { text-decoration: underline; } .cell-secondary { color: #7d8590; font-size: 11px; } .cell-center { text-align: center; } .cell-actions { white-space: nowrap; } /* Status Badges */ .status-badge { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .status-active { background-color: rgba(46, 160, 67, 0.15); color: #3fb950; border: 1px solid rgba(46, 160, 67, 0.4); } .status-inactive { background-color: rgba(248, 81, 73, 0.15); color: #f85149; border: 1px solid rgba(248, 81, 73, 0.4); } .status-pending { background-color: rgba(187, 128, 9, 0.15); color: #d29922; border: 1px solid rgba(187, 128, 9, 0.4); } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 12px; background-color: #21262d; border: 1px solid #30363d; border-radius: 4px; color: #c9d1d9; font-size: 12px; font-weight: 500; text-decoration: none; cursor: pointer; transition: all 0.1s ease; } .btn:hover { background-color: #30363d; border-color: #484f58; color: #f0f6fc; text-decoration: none; } .btn-primary { background-color: #1f6feb; border-color: #1f6feb; color: #ffffff; } .btn-primary:hover { background-color: #1a5cd8; border-color: #1a5cd8; color: #ffffff; } .btn-danger { background-color: #da3633; border-color: #da3633; color: #ffffff; } .btn-danger:hover { background-color: #b62324; border-color: #b62324; color: #ffffff; } .btn-sm { height: 24px; padding: 0 8px; font-size: 11px; } /* Flash Messages */ .flash-messages { background-color: #161b22; border-bottom: 1px solid #30363d; padding: 8px 16px; } .flash-message { padding: 8px 12px; border-radius: 4px; font-size: 12px; font-weight: 500; margin-bottom: 4px; border-left: 3px solid; } .flash-message:last-child { margin-bottom: 0; } .flash-message.success { background-color: rgba(46, 160, 67, 0.15); color: #3fb950; border-left-color: #3fb950; } .flash-message.error { background-color: rgba(248, 81, 73, 0.15); color: #f85149; border-left-color: #f85149; } .flash-message.info { background-color: rgba(88, 166, 255, 0.15); color: #58a6ff; border-left-color: #58a6ff; } /* Empty State */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; text-align: center; color: #7d8590; } .empty-state h3 { font-size: 16px; font-weight: 600; color: #c9d1d9; margin-bottom: 8px; } .empty-state p { font-size: 13px; margin-bottom: 16px; } /* Forms */ .form-container { padding: 16px; background-color: #0d1117; } .form-group { margin-bottom: 16px; } .form-group label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: #f0f6fc; } .form-group input, .form-group select, .form-group textarea { width: 100%; height: 32px; padding: 0 8px; background-color: #21262d; border: 1px solid #30363d; border-radius: 4px; color: #c9d1d9; font-size: 12px; } .form-group textarea { height: 80px; padding: 8px; resize: vertical; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #58a6ff; box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.3); } /* Search Results */ .search-results { padding: 16px; } .search-result-item { display: flex; padding: 12px; border: 1px solid #30363d; border-radius: 6px; margin-bottom: 8px; background-color: #161b22; } .search-result-image { width: 60px; height: 60px; margin-right: 12px; border-radius: 4px; background-color: #21262d; display: flex; align-items: center; justify-content: center; color: #7d8590; font-size: 10px; flex-shrink: 0; } .search-result-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; } .search-result-info { flex: 1; min-width: 0; } .search-result-title { font-size: 14px; font-weight: 600; color: #f0f6fc; margin-bottom: 4px; } .search-result-author { font-size: 12px; color: #7d8590; margin-bottom: 4px; } .search-result-description { font-size: 11px; color: #c9d1d9; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .search-result-actions { display: flex; align-items: center; margin-left: 12px; } /* Responsive */ @media (max-width: 768px) { .app-container { flex-direction: column; } .sidebar { width: 100%; height: auto; flex-direction: row; overflow-x: auto; } .sidebar-nav ul { display: flex; } .sidebar-nav a { white-space: nowrap; padding: 8px 12px; } } /* Season Accordion Styles */ .season-accordion { margin-bottom: 16px; border: 1px solid #30363d; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .season-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background-color: #161b22; cursor: pointer; user-select: none; transition: background-color 0.2s ease; } .season-header:hover { background-color: #1f2937; } .season-header h3 { margin: 0; font-size: 16px; color: #f0f6fc; display: flex; align-items: center; } .episode-count { font-size: 12px; color: #7d8590; margin-left: 8px; font-weight: normal; } .toggle-icon { font-size: 14px; color: #58a6ff; transition: transform 0.2s ease; } .season-content { display: none; background-color: #0d1117; border-top: 1px solid #30363d; } /* Explicit Badge */ .explicit-badge { display: inline-block; width: 16px; height: 16px; line-height: 16px; text-align: center; background-color: #da3633; color: white; font-size: 10px; font-weight: bold; border-radius: 3px; margin-left: 5px; vertical-align: middle; } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #0d1117; } ::-webkit-scrollbar-thumb { background: #30363d; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #484f58; } /* Task Page Styles */ .section { margin-bottom: 24px; padding: 0 16px; } .section-title { font-size: 16px; font-weight: 600; color: #f0f6fc; margin: 16px 0; padding-bottom: 8px; border-bottom: 1px solid #30363d; } .task-list { display: flex; flex-direction: column; gap: 12px; } .task-card { background-color: #161b22; border: 1px solid #30363d; border-radius: 6px; overflow: hidden; } .task-card.task-failed { border-left: 3px solid #f85149; } .task-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background-color: #21262d; border-bottom: 1px solid #30363d; } .task-title { font-size: 14px; font-weight: 600; color: #f0f6fc; margin: 0; } .task-status { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; } .status-running { background-color: rgba(46, 160, 67, 0.15); color: #3fb950; border: 1px solid rgba(46, 160, 67, 0.4); } .status-pending { background-color: rgba(187, 128, 9, 0.15); color: #d29922; border: 1px solid rgba(187, 128, 9, 0.4); } .status-completed { background-color: rgba(46, 160, 67, 0.15); color: #3fb950; border: 1px solid rgba(46, 160, 67, 0.4); } .status-failed { background-color: rgba(248, 81, 73, 0.15); color: #f85149; border: 1px solid rgba(248, 81, 73, 0.4); } .task-details { padding: 12px 16px; } .task-message { font-size: 12px; color: #c9d1d9; margin-bottom: 8px; } .task-error { font-size: 12px; color: #f85149; margin-bottom: 8px; padding: 8px; background-color: rgba(248, 81, 73, 0.1); border-radius: 4px; } .task-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 11px; color: #7d8590; } .progress-bar { height: 4px; background-color: #30363d; border-radius: 2px; overflow: hidden; margin: 8px 0; } .progress-fill { height: 100%; background-color: #3fb950; width: 0; }