Files
Huntarr.io/frontend/static/css/media-hunt.css
2026-02-18 18:36:04 -05:00

1402 lines
38 KiB
CSS

/**
* Media Hunt - standalone styles for discover + collection (movie/tv mode).
* Card, grid, filter, and control styles for #mediaHuntSection.
*/
/* ── Match Discover page: dark blue background (no grey) ───────────── */
#mediaHuntSection {
background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
}
/* Beta notice bubble */
.media-hunt-beta-notice {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
padding: 10px 14px;
margin-bottom: 16px;
background: rgba(245, 158, 11, 0.12);
border: 1px solid rgba(245, 158, 11, 0.35);
border-radius: 10px;
font-size: 13px;
color: rgba(255, 255, 255, 0.92);
}
.media-hunt-beta-notice i.fa-flask {
color: #f59e0b;
font-size: 1.1em;
flex-shrink: 0;
}
.media-hunt-beta-notice span {
flex: 1;
min-width: 0;
}
.media-hunt-beta-notice a {
color: #fbbf24;
text-decoration: none;
font-weight: 600;
white-space: nowrap;
}
.media-hunt-beta-notice a:hover {
text-decoration: underline;
}
/* No extra grey around covers - cards fixed width, don't stretch */
#media-hunt-media-grid,
#media-hunt-search-results-grid,
#media-hunt-collection-grid {
justify-items: start;
align-items: start; /* Prevent cards from stretching to fill row height */
}
/* Collection grid: no forced min-height (inherits from .media-grid 400px which causes card stretching) */
#media-hunt-collection-grid {
min-height: auto;
}
/* Media Hunt Collection: no-instances empty state — full-width expanding box (like Index Master Pool ih-group-box) */
#media-hunt-collection-grid:has(.media-hunt-collection-no-instances) {
display: block;
}
.media-hunt-collection-no-instances {
text-align: center;
padding: 64px 24px;
width: 100%;
box-sizing: border-box;
background: rgba(15, 23, 42, 0.4);
border: 1px solid rgba(148, 163, 184, 0.08);
border-radius: 12px;
margin: 0 0 20px 0;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.media-hunt-collection-no-instances i.fa-cube {
font-size: 3rem;
color: #334155;
margin-bottom: 16px;
display: block;
}
.media-hunt-collection-no-instances .no-instances-title {
font-size: 1.2rem;
font-weight: 600;
color: #f1f5f9;
margin: 0 0 8px 0;
}
.media-hunt-collection-no-instances .no-instances-desc {
font-size: 0.95rem;
color: #94a3b8;
line-height: 1.6;
margin: 0 auto 24px auto;
max-width: 400px;
}
.media-hunt-collection-no-instances .no-instances-action-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(99, 102, 241, 0.2);
border: 1px solid rgba(99, 102, 241, 0.4);
color: #818cf8;
padding: 10px 20px;
border-radius: 8px;
text-decoration: none;
font-weight: 500;
transition: background 0.2s, border-color 0.2s;
}
.media-hunt-collection-no-instances .no-instances-action-btn:hover {
background: rgba(99, 102, 241, 0.3);
border-color: rgba(99, 102, 241, 0.5);
}
/* ── Requestarr-style Search Bar ───────────────────────────────── */
.requestarr-search-container {
position: relative;
width: 100%;
margin: 0 20px 20px 20px;
padding: 0;
}
.requestarr-search-container i {
position: absolute;
left: 20px;
top: 50%;
transform: translateY(-50%);
color: #475569;
font-size: 18px;
z-index: 1;
pointer-events: none;
}
.requestarr-search-container input {
width: 100%;
padding: 16px 55px 16px 55px;
background: rgba(30, 41, 59, 0.8);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
color: #e2e8f0;
font-size: 16px;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
.requestarr-search-container input:focus {
outline: none;
border-color: rgba(99, 102, 241, 0.5);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
background: rgba(30, 41, 59, 0.9);
}
.requestarr-search-container input::placeholder {
color: #475569;
}
.requestarr-search-container .clear-search-btn {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
color: #475569;
font-size: 16px;
cursor: pointer;
padding: 8px;
z-index: 2;
transition: color 0.2s;
}
.requestarr-search-container .clear-search-btn:hover {
color: #e2e8f0;
}
/* ── TMDB Search Results in Collection ───────────────────────────── */
.media-collection-tmdb-results {
margin: 0 20px 20px 20px;
padding: 20px;
background: rgba(15, 23, 42, 0.4);
border: 1px solid rgba(148, 163, 184, 0.1);
border-radius: 8px;
}
.tmdb-results-title {
font-size: 16px;
font-weight: 600;
color: #f1f5f9;
margin: 0 0 16px 0;
display: flex;
align-items: center;
gap: 8px;
}
.tmdb-results-title i {
color: #818cf8;
}
/* ── Table View ──────────────────────────────────────────────────── */
.media-table-container {
padding: 0 20px 40px 20px;
}
.media-table {
width: 100%;
border-collapse: collapse;
background: rgba(15, 23, 42, 0.3);
border-radius: 8px;
overflow: hidden;
}
.media-table thead {
background: rgba(15, 23, 42, 0.6);
}
.media-table th {
padding: 12px 16px;
text-align: left;
font-size: 12px;
font-weight: 600;
color: rgba(148, 163, 184, 0.8);
text-transform: uppercase;
letter-spacing: 0.5px;
border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.media-table tbody tr {
border-bottom: 1px solid rgba(148, 163, 184, 0.05);
transition: background 0.15s;
}
.media-table tbody tr:hover {
background: rgba(99, 102, 241, 0.08);
}
.media-table td {
padding: 12px 16px;
font-size: 13px;
color: #e2e8f0;
}
.media-table td.loading-cell {
text-align: center;
padding: 40px;
color: rgba(148, 163, 184, 0.6);
}
.media-table .table-poster {
width: 40px;
height: 60px;
object-fit: cover;
border-radius: 4px;
}
.media-table .table-title {
font-weight: 500;
color: #f1f5f9;
}
.media-table .table-status {
display: inline-block;
padding: 4px 10px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
}
.media-table .table-status.available {
background: rgba(34, 197, 94, 0.12);
color: #4ade80;
}
.media-table .table-status.requested {
background: rgba(251, 191, 36, 0.12);
color: #fbbf24;
}
.media-table .table-actions {
display: flex;
gap: 8px;
}
.media-table .table-action-btn {
padding: 6px 10px;
background: rgba(99, 102, 241, 0.15);
border: 1px solid rgba(99, 102, 241, 0.3);
border-radius: 4px;
color: #a5b4fc;
font-size: 11px;
cursor: pointer;
transition: all 0.15s;
}
.media-table .table-action-btn:hover {
background: rgba(99, 102, 241, 0.25);
border-color: rgba(99, 102, 241, 0.5);
}
.media-table .table-action-btn.danger {
background: rgba(239, 68, 68, 0.15);
border-color: rgba(239, 68, 68, 0.3);
color: #f87171;
}
.media-table .table-action-btn.danger:hover {
background: rgba(239, 68, 68, 0.25);
border-color: rgba(239, 68, 68, 0.5);
}
/* ── Overview View ───────────────────────────────────────────────── */
.media-overview-container {
padding: 0 20px 40px 20px;
}
.media-overview-item {
display: flex;
gap: 16px;
padding: 16px;
margin-bottom: 12px;
background: rgba(15, 23, 42, 0.3);
border: 1px solid rgba(148, 163, 184, 0.08);
border-radius: 8px;
transition: all 0.15s;
cursor: pointer;
}
.media-overview-item:hover {
background: rgba(15, 23, 42, 0.5);
border-color: rgba(148, 163, 184, 0.15);
}
.media-overview-poster {
flex-shrink: 0;
width: 80px;
height: 120px;
border-radius: 6px;
overflow: hidden;
}
.media-overview-poster img {
width: 100%;
height: 100%;
object-fit: cover;
}
.media-overview-details {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.media-overview-title {
font-size: 16px;
font-weight: 600;
color: #f1f5f9;
}
.media-overview-year {
color: rgba(148, 163, 184, 0.7);
font-size: 14px;
}
.media-overview-meta {
display: flex;
gap: 12px;
flex-wrap: wrap;
font-size: 13px;
}
.media-overview-meta-item {
display: flex;
align-items: center;
gap: 6px;
color: rgba(148, 163, 184, 0.8);
}
.media-overview-meta-item i {
font-size: 11px;
}
.media-overview-status {
display: inline-block;
padding: 4px 10px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
}
.media-overview-status.available {
background: rgba(34, 197, 94, 0.12);
color: #4ade80;
}
.media-overview-status.requested {
background: rgba(251, 191, 36, 0.12);
color: #fbbf24;
}
.media-overview-actions {
display: flex;
gap: 8px;
margin-top: auto;
}
.media-overview-action-btn {
padding: 6px 12px;
background: rgba(99, 102, 241, 0.15);
border: 1px solid rgba(99, 102, 241, 0.3);
border-radius: 4px;
color: #a5b4fc;
font-size: 12px;
cursor: pointer;
transition: all 0.15s;
}
.media-overview-action-btn:hover {
background: rgba(99, 102, 241, 0.25);
border-color: rgba(99, 102, 241, 0.5);
}
.media-overview-action-btn.danger {
background: rgba(239, 68, 68, 0.15);
border-color: rgba(239, 68, 68, 0.3);
color: #f87171;
}
.media-overview-action-btn.danger:hover {
background: rgba(239, 68, 68, 0.25);
border-color: rgba(239, 68, 68, 0.5);
}
#media-hunt-media-grid .media-card,
#media-hunt-search-results-grid .media-card,
#media-hunt-collection-grid .media-card {
width: 150px;
}
@media (max-width: 768px) {
#media-hunt-media-grid .media-card,
#media-hunt-search-results-grid .media-card,
#media-hunt-collection-grid .media-card {
width: 120px;
}
}
/* Movie Collection view - requested movies and status; match Discover width */
.media-hunt-collection-view {
padding: 0 0 20px 0;
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
}
#media-hunt-collection-view .content-section-title,
#media-hunt-collection-view .instance-management-description {
text-align: left;
}
#media-hunt-collection-view .instance-management-description {
margin-bottom: 32px !important;
}
#media-hunt-collection-view .media-grid,
#media-hunt-collection-view .media-table-container,
#media-hunt-collection-view .media-overview-container {
padding-left: 0 !important;
padding-right: 0 !important;
}
/* ── Movie Collection: match Requestarr Movies card styling ──── */
/* Collection cards: consistent blue-tinted design */
#media-hunt-collection-grid .media-card {
background: rgba(30, 41, 59, 0.5);
border: 1px solid rgba(148, 163, 184, 0.08);
border-radius: 10px;
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
position: relative;
cursor: pointer;
}
#media-hunt-collection-grid .media-card:hover {
transform: translateY(-4px);
border-color: rgba(99, 102, 241, 0.35);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
#media-hunt-collection-grid .media-card-poster {
width: 150px;
height: 225px;
position: relative;
overflow: hidden;
border-radius: 10px;
background: #0f172a;
}
#media-hunt-collection-grid .media-card-poster img {
width: 100%;
height: 100%;
object-fit: cover;
}
#media-hunt-collection-grid .media-card-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 15px;
opacity: 0;
transition: opacity 0.3s;
z-index: 5;
pointer-events: none;
}
#media-hunt-collection-grid .media-card:hover .media-card-overlay {
opacity: 1;
pointer-events: auto;
}
#media-hunt-collection-grid .media-card-overlay-title {
font-size: 15px;
font-weight: 600;
color: #fff;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
#media-hunt-collection-grid .media-card-overlay-year {
font-size: 12px;
color: rgba(255,255,255,0.7);
}
#media-hunt-collection-grid .media-card-status-badge {
position: absolute;
top: 8px;
right: 8px;
border-radius: 50%;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
#media-hunt-collection-grid .media-card-status-badge i { color: #fff; font-size: 12px; }
#media-hunt-collection-grid .media-card-status-badge.complete {
background: #22c55e;
border: 2px solid #16a34a;
}
#media-hunt-collection-grid .media-card-status-badge.partial {
background: #f97316;
border: 2px solid #ea580c;
}
#media-hunt-collection-grid .media-card-status-badge.importable {
background: #d97706;
border: 2px solid #b45309;
}
#media-hunt-collection-grid .media-card-info {
padding: 8px 10px 10px;
}
#media-hunt-collection-grid .media-card-title {
font-size: 12.5px;
font-weight: 600;
color: #e2e8f0;
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#media-hunt-collection-grid .media-card-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
color: #64748b;
gap: 6px;
}
#media-hunt-collection-grid .media-card-year { color: #64748b; flex-shrink: 0; }
#media-hunt-collection-grid .media-card-rating { display: flex; align-items: center; gap: 4px; color: #fbbf24; font-weight: 600; }
#media-hunt-collection-grid .media-card-rating i { font-size: 11px; }
/* Hide button on collection cards */
#media-hunt-collection-grid .media-card-hide-btn {
background: none;
border: none;
color: #475569;
cursor: pointer;
padding: 4px 6px;
border-radius: 4px;
transition: all 0.2s;
font-size: 12px;
flex-shrink: 0;
margin-left: auto;
}
#media-hunt-collection-grid .media-card-hide-btn:hover {
color: #ef4444;
background: rgba(239, 68, 68, 0.1);
}
#media-hunt-collection-grid .media-card-hide-btn i {
font-size: 12px;
}
/* Delete (trash) button on collection cards */
#media-hunt-collection-grid .media-card-delete-btn {
background: none;
border: none;
color: #475569;
cursor: pointer;
padding: 4px 6px;
border-radius: 4px;
transition: all 0.2s;
font-size: 12px;
flex-shrink: 0;
margin-left: auto;
}
#media-hunt-collection-grid .media-card-delete-btn:hover {
color: #ef4444;
background: rgba(239, 68, 68, 0.1);
}
#media-hunt-collection-grid .media-card-delete-btn i { font-size: 12px; }
/* Card removal animation */
#media-hunt-collection-grid .media-card.removing {
opacity: 0;
transform: scale(0.8);
transition: opacity 0.3s, transform 0.3s;
}
/* ── Episode Progress Bar (Sonarr-style) ── */
.media-card .episode-progress-bar {
width: 100%;
height: 4px;
background: #dc2626;
position: relative;
overflow: hidden;
flex-shrink: 0;
}
.media-card .episode-progress-bar .episode-progress-fill {
height: 100%;
background: #22c55e;
transition: width 0.4s ease;
position: absolute;
left: 0;
top: 0;
}
/* Full green = all episodes collected */
.media-card .episode-progress-bar.complete {
background: #22c55e;
}
/* Unmonitored / no episodes = dimmed */
.media-card .episode-progress-bar.empty {
background: #dc2626;
}
@media (max-width: 768px) {
#media-hunt-collection-grid .media-card {
width: 120px;
}
#media-hunt-collection-grid .media-card-poster {
width: 120px;
height: 180px;
}
}
#media-hunt-collection-view .hidden-media-search {
position: relative;
width: 100%;
margin-bottom: 20px;
}
/* Media Hunt Collection: dual instance dropdowns (Movie Hunt + TV Hunt only), like Requestarr */
#media-hunt-collection-view .discover-instance-controls.media-hunt-collection-controls,
#media-hunt-collection-view .media-hunt-collection-controls {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 16px;
flex-wrap: wrap;
margin-bottom: 20px;
}
#media-hunt-collection-view .discover-instance-controls .instance-selector-container {
flex-shrink: 0;
}
/* Collection search bar - blue-tinted style matching Requestarr */
#media-hunt-collection-view .global-search-bar {
position: relative;
width: 100%;
margin-bottom: 8px;
}
#media-hunt-collection-view .global-search-bar i {
position: absolute;
left: 18px;
top: 50%;
transform: translateY(-50%);
color: #475569;
font-size: 14px;
z-index: 1;
pointer-events: none;
}
#media-hunt-collection-view .global-search-bar input {
width: 100%;
padding: 12px 16px 12px 44px;
background: rgba(30, 41, 59, 0.8);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
color: #e2e8f0;
font-size: 14px;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
#media-hunt-collection-view .global-search-bar input:focus {
outline: none;
border-color: rgba(99, 102, 241, 0.5);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
background: rgba(30, 41, 59, 0.9);
}
#media-hunt-collection-view .global-search-bar input::placeholder {
color: #475569;
}
#media-hunt-collection-view .hidden-media-search i {
position: absolute;
left: 18px;
top: 50%;
transform: translateY(-50%);
color: #888;
font-size: 14px;
}
#media-hunt-collection-view .hidden-media-search-input {
width: 100%;
padding: 12px 16px 12px 44px;
background: rgba(30, 41, 59, 0.8);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
color: #e2e8f0;
font-size: 14px;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
#media-hunt-collection-view .hidden-media-search-input:focus {
outline: none;
border-color: rgba(99, 102, 241, 0.5);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
background: rgba(30, 41, 59, 0.9);
}
#media-hunt-collection-view .btn-mark-available,
#media-hunt-collection-view .btn-remove-from-collection {
padding: 6px 12px;
border-radius: 6px;
border: none;
font-size: 12px;
font-weight: 600;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
}
#media-hunt-collection-view .btn-mark-available {
background: rgba(34, 197, 94, 0.2);
color: #22c55e;
}
#media-hunt-collection-view .btn-mark-available:hover {
background: rgba(34, 197, 94, 0.3);
}
#media-hunt-collection-view .btn-remove-from-collection {
background: rgba(239, 68, 68, 0.2);
color: #f87171;
}
#media-hunt-collection-view .btn-remove-from-collection:hover {
background: rgba(239, 68, 68, 0.3);
}
/* ========== Movie Hunt standalone: cards, grid, controls (match Discover) ========== */
#mediaHuntSection .requestarr-content {
padding: 0;
width: 100%;
box-sizing: border-box;
}
#mediaHuntSection .requestarr-view { display: block; }
#mediaHuntSection .requestarr-view[style*="none"] { display: none !important; }
#mediaHuntSection .global-search-bar {
position: relative;
width: 100%;
margin-bottom: 8px;
}
#mediaHuntSection .global-search-bar i {
position: absolute;
left: 18px;
top: 50%;
transform: translateY(-50%);
color: #475569;
font-size: 14px;
z-index: 1;
pointer-events: none;
}
#mediaHuntSection .global-search-bar input {
width: 100%;
padding: 12px 16px 12px 44px;
background: rgba(30, 41, 59, 0.8);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
color: #e2e8f0;
font-size: 14px;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
#mediaHuntSection .global-search-bar input:focus {
outline: none;
border-color: rgba(99, 102, 241, 0.5);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
background: rgba(30, 41, 59, 0.9);
}
#mediaHuntSection .search-results-title {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 25px;
color: #e0e0e0;
}
#mediaHuntSection .search-results-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 20px;
padding: 0;
width: 100%;
justify-items: start;
}
#mediaHuntSection .movies-controls {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
margin: 20px 0;
padding: 0;
gap: 15px;
}
#mediaHuntSection .instance-selector-container { flex-shrink: 0; }
#mediaHuntSection .instance-select { min-width: 200px; }
/* Instance bar above Movie Hunt settings sections (Profiles, Indexers, etc.) */
.media-hunt-settings-instance-bar {
display: flex;
align-items: center;
gap: 10px;
}
.media-hunt-settings-instance-bar label {
font-size: 14px;
color: rgba(255, 255, 255, 0.85);
margin: 0;
}
/* Match Movie Home dropdown: compact width, not full page */
.media-hunt-settings-instance-bar .control-select {
width: auto;
min-width: 200px;
max-width: 280px;
flex-shrink: 0;
}
/* Movie Hunt instance selector - Indexers/Clients style (Activity, Movie Home, Collection, Settings) */
#activitySection .activity-instance-group .control-select,
#mediaHuntSection .instance-selector-container .control-select,
.media-hunt-settings-instance-bar .control-select {
min-width: 200px;
max-width: 280px;
width: auto;
padding: 10px 36px 10px 14px;
background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
border: 1px solid rgba(90, 109, 137, 0.4);
border-radius: 8px;
color: #f1f5f9;
font-size: 14px;
font-weight: 500;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
transition: border-color 0.2s, box-shadow 0.2s;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
}
#activitySection .activity-instance-group .control-select:hover,
#mediaHuntSection .instance-selector-container .control-select:hover,
.media-hunt-settings-instance-bar .control-select:hover {
border-color: rgba(90, 109, 137, 0.6);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
#activitySection .activity-instance-group .control-select:focus,
#mediaHuntSection .instance-selector-container .control-select:focus,
.media-hunt-settings-instance-bar .control-select:focus {
outline: none;
border-color: #6366f1;
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}
#activitySection .activity-instance-group {
flex-shrink: 0;
}
#mediaHuntSection .sort-dropdown { flex-shrink: 0; min-width: 250px; }
#mediaHuntSection .control-select {
width: 100%;
padding: 10px 16px;
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(148, 163, 184, 0.12);
border-radius: 8px;
color: #e2e8f0;
font-size: 14px;
cursor: pointer;
}
#mediaHuntSection .control-select:hover { background: rgba(15, 23, 42, 0.8); border-color: rgba(148, 163, 184, 0.25); }
#mediaHuntSection .control-select:focus { outline: none; border-color: rgba(245, 158, 11, 0.5); }
#mediaHuntSection .control-select option { background: #0f172a; color: #e2e8f0; }
#mediaHuntSection .filter-button {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(148, 163, 184, 0.12);
border-radius: 8px;
color: #e2e8f0;
font-size: 14px;
cursor: pointer;
margin-left: auto;
}
#mediaHuntSection .filter-button:hover { background: rgba(15, 23, 42, 0.8); border-color: rgba(148, 163, 184, 0.25); }
#mediaHuntSection .media-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 20px;
padding: 0 0 40px 0;
min-height: 400px;
justify-items: start;
}
#mediaHuntSection .media-card {
flex: 0 0 150px;
cursor: pointer;
border-radius: 10px;
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
background: rgba(15, 23, 42, 0.5);
border: 1px solid rgba(148, 163, 184, 0.08);
position: relative;
}
#mediaHuntSection .media-card:hover {
transform: translateY(-4px);
border-color: rgba(245, 158, 11, 0.4);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
#mediaHuntSection .media-card-poster {
width: 150px;
height: 225px;
position: relative;
overflow: hidden;
border-radius: 10px;
background: #0f172a;
}
#mediaHuntSection .media-card-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 15px;
opacity: 0;
transition: opacity 0.3s;
z-index: 5;
pointer-events: none;
}
#mediaHuntSection .media-card:hover .media-card-overlay { opacity: 1; pointer-events: auto; }
#mediaHuntSection .media-card-overlay-title {
font-size: 15px;
font-weight: 600;
color: #fff;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
#mediaHuntSection .media-card-overlay-content { display: flex; flex-direction: column; gap: 8px; }
#mediaHuntSection .media-card-overlay-year { font-size: 12px; color: rgba(255,255,255,0.7); }
#mediaHuntSection .media-card-overlay-description {
font-size: 11px;
color: rgba(255,255,255,0.8);
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
#mediaHuntSection .media-card-request-btn {
width: 100%;
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: #fff;
border: none;
padding: 10px 16px;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
}
#mediaHuntSection .media-card-poster img {
width: 100%;
height: 100%;
object-fit: cover;
}
#mediaHuntSection .media-card-status-badge {
position: absolute;
top: 8px;
right: 8px;
border-radius: 50%;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
#mediaHuntSection .media-card-status-badge i { color: #fff; font-size: 12px; }
#mediaHuntSection .media-card-status-badge.complete {
background: #22c55e;
border: 2px solid #16a34a;
}
#mediaHuntSection .media-card-status-badge.available {
background: #6366f1;
border: 2px solid #2563eb;
}
#mediaHuntSection .media-card-status-badge.partial {
background: #f97316;
border: 2px solid #ea580c;
}
#mediaHuntSection .media-card-status-badge.importable {
background: #d97706;
border: 2px solid #b45309;
}
#mediaHuntSection .media-card.in-library .media-card-request-btn { display: none; }
#mediaHuntSection .media-card-info { padding: 8px 10px 10px; }
#mediaHuntSection .media-card-title {
font-size: 12.5px;
font-weight: 600;
color: #e2e8f0;
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#mediaHuntSection .media-card-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 11px;
color: #64748b;
gap: 8px;
}
#mediaHuntSection .media-card-year { color: #64748b; flex-shrink: 0; }
#mediaHuntSection .media-card-rating { display: flex; align-items: center; gap: 4px; color: #fbbf24; }
#mediaHuntSection .media-card-rating i { font-size: 11px; }
/* Hide button on Movie Home cards */
#mediaHuntSection .media-card-hide-btn {
background: none;
border: none;
color: #475569;
cursor: pointer;
padding: 4px 6px;
border-radius: 4px;
transition: all 0.2s;
font-size: 12px;
flex-shrink: 0;
margin-left: auto;
}
#mediaHuntSection .media-card-hide-btn:hover {
color: #ef4444;
background: rgba(239, 68, 68, 0.1);
}
#mediaHuntSection .media-card-hide-btn i { font-size: 12px; }
/* Delete (trash) button on Movie Home cards */
#mediaHuntSection .media-card-delete-btn {
background: none;
border: none;
color: #475569;
cursor: pointer;
padding: 4px 6px;
border-radius: 4px;
transition: all 0.2s;
font-size: 12px;
flex-shrink: 0;
margin-left: auto;
}
#mediaHuntSection .media-card-delete-btn:hover {
color: #ef4444;
background: rgba(239, 68, 68, 0.1);
}
#mediaHuntSection .media-card-delete-btn i { font-size: 12px; }
#mediaHuntSection .loading-spinner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
color: #9ca3af;
}
#mediaHuntSection .load-more-container { display: flex; justify-content: center; padding: 20px; }
@media (max-width: 768px) {
#mediaHuntSection .media-grid {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 15px;
}
#mediaHuntSection .movies-controls { flex-direction: column; align-items: stretch; }
#mediaHuntSection .filter-button { margin-left: 0; }
}
/* Movie Hunt filter panel (id stays when moved to body) */
#media-hunt-filter-modal.filter-panel {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: 10000;
}
#media-hunt-filter-modal .filter-backdrop {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.75);
backdrop-filter: blur(4px);
}
#media-hunt-filter-modal .filter-panel-content {
position: absolute;
right: 0; top: 0;
height: 100%;
width: 100%;
max-width: 440px;
background: #1a1d2e;
box-shadow: -4px 0 24px rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
transform: translateX(100%);
transition: transform 0.15s cubic-bezier(0.4,0,0.2,1);
}
#media-hunt-filter-modal[style*="flex"] .filter-panel-content,
#media-hunt-filter-modal.show .filter-panel-content { transform: translateX(0); }
#media-hunt-filter-modal .filter-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 24px 24px 20px 24px;
padding-top: 70px;
border-bottom: 1px solid rgba(255,255,255,0.1);
flex-shrink: 0;
}
#media-hunt-filter-modal .filter-panel-header h2 {
font-size: 1.25rem;
font-weight: 700;
color: #e5e7eb;
margin: 0;
}
#media-hunt-filter-modal .filter-close {
background: none;
border: none;
color: #9ca3af;
font-size: 24px;
cursor: pointer;
padding: 6px;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
}
#media-hunt-filter-modal .filter-close:hover {
color: #f59e0b;
background: rgba(245,158,11,0.1);
}
#media-hunt-filter-modal .filter-panel-body {
padding: 20px 24px;
overflow-y: auto;
flex: 1;
}
#media-hunt-filter-modal .filter-active-badge {
margin-bottom: 20px;
padding: 10px 14px;
background: rgba(245,158,11,0.15);
border: 1px solid rgba(245,158,11,0.3);
border-radius: 6px;
text-align: center;
}
#media-hunt-filter-modal .filter-active-badge span {
color: #fbbf24;
font-size: 0.875rem;
font-weight: 600;
}
#media-hunt-filter-modal .filter-group { margin-bottom: 24px; }
#media-hunt-filter-modal .filter-label {
display: block;
font-size: 0.875rem;
font-weight: 600;
color: #e5e7eb;
margin-bottom: 10px;
}
#media-hunt-filter-modal .filter-toggle-label {
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
padding: 12px;
background: rgba(31,41,55,0.3);
border: 1px solid rgba(75,85,99,0.3);
border-radius: 8px;
}
#media-hunt-filter-modal .filter-checkbox {
width: 20px;
height: 20px;
cursor: pointer;
accent-color: #f59e0b;
}
#media-hunt-filter-modal .filter-toggle-text { color: #e5e7eb; font-size: 0.9rem; }
#media-hunt-filter-modal .filter-range-text {
font-size: 0.8125rem;
color: #6b7280;
margin-bottom: 10px;
padding: 8px 10px;
background: rgba(31,41,55,0.3);
border-radius: 4px;
text-align: center;
}
#media-hunt-filter-modal .dual-range-slider {
position: relative;
height: 30px;
display: flex;
align-items: center;
}
#media-hunt-filter-modal .slider-track {
position: absolute;
width: 100%;
height: 6px;
background: rgba(75,85,99,0.4);
border-radius: 3px;
z-index: 1;
}
#media-hunt-filter-modal .slider-range {
position: absolute;
height: 6px;
background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
border-radius: 3px;
z-index: 2;
}
#media-hunt-filter-modal .dual-range-slider input[type="range"] {
position: absolute;
width: 100%;
height: 6px;
background: transparent;
pointer-events: none;
-webkit-appearance: none;
appearance: none;
}
#media-hunt-filter-modal .dual-range-slider .range-max,
#media-hunt-filter-modal .dual-range-slider .range-min { background: transparent; }
#media-hunt-filter-modal .dual-range-slider input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
border-radius: 50%;
cursor: pointer;
pointer-events: all;
border: 2px solid #1a1d2e;
box-shadow: 0 2px 8px rgba(245,158,11,0.4);
position: relative;
z-index: 3;
}
#media-hunt-filter-modal .dual-range-slider input[type="range"]::-moz-range-thumb {
width: 20px;
height: 20px;
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
border-radius: 50%;
cursor: pointer;
pointer-events: all;
border: 2px solid #1a1d2e;
position: relative;
z-index: 3;
}
#media-hunt-filter-modal .selected-genres-container {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 10px;
padding: 8px;
background: rgba(31,41,55,0.3);
border-radius: 6px;
min-height: 38px;
}
#media-hunt-filter-modal .selected-genre-pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
background: rgba(245,158,11,0.2);
border: 1px solid #f59e0b;
border-radius: 6px;
color: #fbbf24;
font-size: 0.8125rem;
font-weight: 600;
}
#media-hunt-filter-modal .selected-genre-pill .remove-genre {
cursor: pointer;
color: #fbbf24;
font-size: 14px;
}
#media-hunt-filter-modal .genre-select-wrapper { position: relative; }
#media-hunt-filter-modal .genre-search-input {
width: 100%;
padding: 10px 12px;
background: rgba(31,41,55,0.5);
border: 1px solid rgba(75,85,99,0.5);
border-radius: 6px;
color: #e5e7eb;
font-size: 0.875rem;
cursor: pointer;
}
#media-hunt-filter-modal .genre-dropdown {
position: absolute;
top: 100%; left: 0; right: 0;
margin-top: 4px;
background: #1f2937;
border: 1px solid rgba(75,85,99,0.5);
border-radius: 6px;
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
z-index: 100;
max-height: 250px;
overflow-y: auto;
}
#media-hunt-filter-modal .genre-list { padding: 6px; }
#media-hunt-filter-modal .genre-item {
padding: 10px 12px;
color: #9ca3af;
font-size: 0.875rem;
cursor: pointer;
border-radius: 4px;
user-select: none;
}
#media-hunt-filter-modal .genre-item:hover {
background: rgba(245,158,11,0.1);
color: #e5e7eb;
}
#media-hunt-filter-modal .genre-item.selected {
background: rgba(245,158,11,0.2);
color: #fbbf24;
font-weight: 600;
}
@media (max-width: 768px) {
#media-hunt-filter-modal .filter-panel-content { max-width: 100%; }
}
/* ═══════════════════════════════════════════════════════════════════
Movie Hunt Settings Placeholder (extracted from template)
═══════════════════════════════════════════════════════════════════ */
#media-hunt-settings-default-section { min-height: 60vh; }
.media-hunt-settings-placeholder {
text-align: center;
max-width: 480px;
margin: 80px auto 0;
padding: 40px 24px;
background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.5) 100%);
border: 1px solid rgba(71, 85, 105, 0.4);
border-radius: 16px;
}
.media-hunt-settings-placeholder .placeholder-icon { color: #64748b; margin-bottom: 20px; }
.media-hunt-settings-placeholder .placeholder-title { color: #f1f5f9; font-size: 1.5rem; margin: 0 0 12px 0; font-weight: 600; }
.media-hunt-settings-placeholder .placeholder-message { color: #94a3b8; font-size: 1rem; margin: 0; }
/* ── Media Type Badge (TV / Movie) ── */
.media-card .media-type-badge {
position: absolute;
top: 8px;
left: 8px;
z-index: 3;
padding: 1px 8px;
border-radius: 3px;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.8px;
text-transform: uppercase;
line-height: 1.3;
pointer-events: none;
white-space: nowrap;
border: 1px solid rgba(30, 39, 56, 0.6);
background: rgba(17, 24, 39, 0.92);
color: #cbd5e1;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
transition: opacity 0.25s ease;
}
.media-card .media-poster {
position: relative;
}
.media-card:hover .media-type-badge {
opacity: 0;
}