/* ========================================================= WATCHLIST style.css Design: modern, organic, peaceful, clean, expensive ========================================================= */ /* Google Fonts loaded in HTML (DM Sans + DM Serif Display) */ /* Bootstrap 5 CDN (loaded via index.php ) */ /* CSS Custom Properties */ :root { --sage: #8aad8f; --sage-light: #b5ccb8; --sage-dark: #5d8264; --cream: #f7f4ee; --cream-deep: #ede8df; --stone: #c4b9a8; --stone-dark: #9e9080; --bark: #5c4f3d; --bark-light: #7a6a56; --mist: #e8ede9; --white: #ffffff; --text-primary: #2e2a24; --text-secondary: #6b6257; --text-muted: #9e9080; --danger: #c0614a; --danger-soft: #f5e8e5; --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --radius-pill: 999px; --shadow-xs: 0 1px 3px rgba(60,50,35,.06); --shadow-sm: 0 2px 8px rgba(60,50,35,.08), 0 1px 2px rgba(60,50,35,.04); --shadow-md: 0 6px 24px rgba(60,50,35,.10), 0 2px 6px rgba(60,50,35,.06); --shadow-lg: 0 16px 48px rgba(60,50,35,.14), 0 4px 12px rgba(60,50,35,.08); --shadow-modal: 0 24px 80px rgba(40,32,20,.22), 0 6px 20px rgba(40,32,20,.10); --transition: 200ms cubic-bezier(.4,0,.2,1); --transition-slow: 380ms cubic-bezier(.4,0,.2,1); } /* Reset & Base */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'DM Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.6; color: var(--text-primary); background: var(--cream); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; } /* Ambient Background */ .ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; } .ambient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite; } .orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #c8d9c5 0%, transparent 70%); top: -200px; left: -150px; animation-duration: 22s; } .orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #d9cfc0 0%, transparent 70%); top: 30%; right: -180px; animation-duration: 28s; animation-delay: -8s; } .orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #bfcfbf 0%, transparent 70%); bottom: -100px; left: 30%; animation-duration: 20s; animation-delay: -14s; } @keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -40px) scale(1.05); } 66% { transform: translate(-20px, 20px) scale(.95); } } /* App Shell */ .app { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; } /* Header */ .header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; gap: 16px; flex-wrap: wrap; } .header-brand { display: flex; align-items: center; gap: 16px; } .header-icon { font-size: 2.4rem; line-height: 1; filter: drop-shadow(0 2px 6px rgba(90,100,80,.25)); } .header-title { font-family: 'DM Serif Display', Georgia, serif; font-size: 2rem; font-weight: 400; letter-spacing: -.02em; color: var(--bark); line-height: 1.1; } .header-sub { font-size: .8rem; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 500; margin: 0; } /* Buttons */ .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: var(--sage-dark); color: var(--white); border: none; border-radius: var(--radius-pill); font-family: inherit; font-size: .875rem; font-weight: 600; letter-spacing: .01em; cursor: pointer; transition: background var(--transition), transform var(--transition), box-shadow var(--transition); box-shadow: 0 2px 12px rgba(93,130,100,.30); white-space: nowrap; } .btn-primary:hover { background: var(--sage); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(93,130,100,.35); } .btn-primary:active { transform: translateY(0); } .btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: transparent; color: var(--text-secondary); border: 1.5px solid var(--stone); border-radius: var(--radius-pill); font-family: inherit; font-size: .875rem; font-weight: 500; cursor: pointer; transition: all var(--transition); } .btn-ghost:hover { background: var(--cream-deep); border-color: var(--stone-dark); color: var(--text-primary); } .btn-danger { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--danger); color: var(--white); border: none; border-radius: var(--radius-pill); font-family: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: all var(--transition); box-shadow: 0 2px 10px rgba(192,97,74,.25); } .btn-danger:hover { background: #a8523d; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,97,74,.35); } /* Stats Bar */ .stats { display: flex; align-items: center; gap: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px 28px; margin-bottom: 28px; border: 1px solid rgba(196,185,168,.35); } .stat { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; } .stat-value { font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400; color: var(--bark); line-height: 1; letter-spacing: -.02em; min-width: 32px; text-align: center; } .stat-label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); } .stat-sep { width: 1px; height: 36px; background: var(--cream-deep); flex-shrink: 0; margin: 0 4px; } .stat-progress { gap: 6px; min-width: 120px; } .progress-track { width: 100%; height: 6px; background: var(--cream-deep); border-radius: var(--radius-pill); overflow: hidden; } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--sage-dark), var(--sage)); border-radius: var(--radius-pill); transition: width .6s cubic-bezier(.4,0,.2,1); width: 0%; } /* Controls */ .controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; } .pill-group { display: flex; align-items: center; background: var(--white); border-radius: var(--radius-pill); padding: 4px; gap: 2px; box-shadow: var(--shadow-xs); border: 1px solid rgba(196,185,168,.30); } .pill, .type-pill, .for-pill { padding: 7px 16px; border: none; border-radius: var(--radius-pill); background: transparent; font-family: inherit; font-size: .8rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); white-space: nowrap; } .pill:hover, .type-pill:hover, .for-pill:hover { background: var(--mist); color: var(--text-primary); } .pill.active, .type-pill.active, .for-pill.active { background: var(--sage-dark); color: var(--white); box-shadow: 0 2px 8px rgba(93,130,100,.25); } /* Search */ .search-box { position: relative; flex: 1; min-width: 180px; max-width: 320px; } .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--stone-dark); pointer-events: none; } .search-input { width: 100%; padding: 10px 14px 10px 40px; background: var(--white); border: 1.5px solid rgba(196,185,168,.40); border-radius: var(--radius-pill); font-family: inherit; font-size: .875rem; color: var(--text-primary); outline: none; transition: border-color var(--transition), box-shadow var(--transition); box-shadow: var(--shadow-xs); } .search-input::placeholder { color: var(--stone); } .search-input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(138,173,143,.18); } /* Service Filter Row */ .service-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; min-height: 0; transition: min-height var(--transition-slow); } .service-row:empty { margin-bottom: 0; } .service-chip { padding: 5px 14px; border: 1.5px solid var(--stone); border-radius: var(--radius-pill); background: var(--white); font-family: inherit; font-size: .78rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); } .service-chip:hover { border-color: var(--sage); color: var(--sage-dark); background: var(--mist); } .service-chip.active { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); } /* Grid */ .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; } /* Card */ .card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(196,185,168,.25); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; cursor: default; } .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } .card.watched { opacity: .72; } .card.watched .card-title { text-decoration: line-through; text-decoration-color: var(--stone); } /* Card colour accent strip */ .card-accent { height: 4px; background: linear-gradient(90deg, var(--sage-light), var(--sage-dark)); flex-shrink: 0; } .card.watched .card-accent { background: linear-gradient(90deg, var(--stone), var(--stone-dark)); } .card-body { padding: 18px 18px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; } .card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; } .badge-movie { background: #edf0f7; color: #5060a0; } .badge-show { background: #f0ede8; color: #8a6a30; } .badge-service { background: var(--mist); color: var(--sage-dark); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .72rem; } .badge-genre { background: var(--cream-deep); color: var(--bark-light); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: .72rem; } .card-title { font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-weight: 400; color: var(--text-primary); line-height: 1.3; letter-spacing: -.01em; } .card-genre { font-size: .78rem; color: var(--text-secondary); font-weight: 500; line-height: 1.4; } .card-notes { font-size: .8rem; color: var(--text-muted); font-style: italic; line-height: 1.5; } .card-date { font-size: .7rem; color: var(--stone); margin-top: auto; padding-top: 4px; } /* Card Footer */ .card-footer { padding: 10px 18px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(196,185,168,.15); } .btn-watch { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--sage-light); background: transparent; font-family: inherit; font-size: .78rem; font-weight: 600; color: var(--sage-dark); cursor: pointer; transition: all var(--transition); } .btn-watch:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); box-shadow: 0 2px 10px rgba(93,130,100,.25); } .card.watched .btn-watch { border-color: var(--stone); color: var(--stone-dark); } .card.watched .btn-watch:hover { background: var(--stone-dark); border-color: var(--stone-dark); color: var(--white); } .card-actions { display: flex; gap: 4px; } .btn-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: none; background: transparent; border-radius: var(--radius-sm); color: var(--stone-dark); cursor: pointer; transition: all var(--transition); } .btn-icon:hover { background: var(--cream-deep); color: var(--text-primary); } .btn-icon.btn-delete:hover { background: var(--danger-soft); color: var(--danger); } /* Loading */ .loading { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; gap: 16px; color: var(--text-muted); font-size: .875rem; } .loader { width: 36px; height: 36px; border: 3px solid var(--cream-deep); border-top-color: var(--sage-dark); border-radius: 50%; animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Empty State */ .empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; gap: 12px; text-align: center; } .empty-icon { font-size: 3.5rem; filter: grayscale(.3); margin-bottom: 4px; } .empty-title { font-family: 'DM Serif Display', serif; font-size: 1.4rem; font-weight: 400; color: var(--bark); letter-spacing: -.01em; } .empty-sub { font-size: .875rem; color: var(--text-muted); max-width: 300px; line-height: 1.6; margin-bottom: 8px; } /* Modal */ /* Override Bootstrap's .modal defaults — we control visibility via .modal-overlay.hidden */ .modal-overlay .modal { display: block !important; position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; overflow: visible !important; z-index: auto !important; padding: 0 !important; } .modal-overlay { position: fixed; inset: 0; background: rgba(40, 32, 20, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 20px; overflow-y: auto; animation: fadeIn 180ms ease; } .modal-overlay.hidden { display: none; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .modal { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-modal); width: 100%; max-width: 480px; margin: auto 0; overflow-y: auto; animation: slideUp 220ms cubic-bezier(.34,1.3,.64,1); border: 1px solid rgba(196,185,168,.20); } .modal-sm { max-width: 380px; } @keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 0; } .modal-title { font-family: 'DM Serif Display', serif; font-size: 1.35rem; font-weight: 400; color: var(--bark); letter-spacing: -.01em; } .modal-close { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: none; background: var(--cream-deep); border-radius: 50%; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); flex-shrink: 0; } .modal-close:hover { background: var(--stone); color: var(--white); } /* Modal Form */ .modal-form { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 18px; } .form-field { display: flex; flex-direction: column; gap: 6px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .form-label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); } .req { color: var(--sage-dark); } .form-input { width: 100%; padding: 11px 14px; background: var(--cream); border: 1.5px solid rgba(196,185,168,.50); border-radius: var(--radius-md); font-family: inherit; font-size: .9rem; color: var(--text-primary); outline: none; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); } .form-input::placeholder { color: var(--stone); } .form-input:focus { border-color: var(--sage); background: var(--white); box-shadow: 0 0 0 3px rgba(138,173,143,.15); } /* Type toggle inside form */ .type-toggle { display: flex; gap: 10px; } /* Type & For option toggles in modal form */ .type-option, .for-option { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1.5px solid rgba(196,185,168,.50); border-radius: var(--radius-md); background: var(--cream); font-family: inherit; font-size: .85rem; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); } .type-option:hover, .for-option:hover { border-color: var(--sage-light); color: var(--text-primary); } .type-option.active, .for-option.active { border-color: var(--sage-dark); background: var(--mist); color: var(--sage-dark); font-weight: 600; } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; } .delete-msg { padding: 6px 28px 20px; font-size: .9rem; color: var(--text-secondary); line-height: 1.6; } .delete-msg strong { color: var(--text-primary); } /* Toast */ .toast-container { position: fixed; bottom: 28px; right: 28px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; } .toast { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: var(--bark); color: var(--cream); border-radius: var(--radius-md); font-size: .85rem; font-weight: 500; box-shadow: var(--shadow-lg); pointer-events: auto; animation: toastIn 300ms cubic-bezier(.34,1.3,.64,1); max-width: 320px; } .toast.toast-success { background: var(--sage-dark); } .toast.toast-error { background: var(--danger); } .toast-icon { font-size: 1rem; flex-shrink: 0; } @keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(.95); } to { opacity: 1; transform: translateX(0) scale(1); } } @keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(30px); } } /* Scrollbar */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 99px; } ::-webkit-scrollbar-thumb:hover { background: var(--stone-dark); } /* ========================================================= THEME TOGGLE BUTTON ========================================================= */ .header-right { display: flex; align-items: center; gap: 10px; } .theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-pill); border: 1.5px solid var(--stone); background: var(--white); color: var(--bark); cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition); box-shadow: var(--shadow-xs); flex-shrink: 0; } .theme-toggle:hover { background: var(--cream-deep); border-color: var(--stone-dark); transform: scale(1.08); box-shadow: var(--shadow-sm); } /* In light mode: show moon, hide sun */ .theme-toggle .icon-sun { display: none; } .theme-toggle .icon-moon { display: block; } /* In dark mode: show sun, hide moon */ html.dark .theme-toggle .icon-sun { display: block; } html.dark .theme-toggle .icon-moon { display: none; } /* ========================================================= DARK MODE — html.dark overrides ========================================================= */ html.dark { --cream: #141414; --cream-deep: #1e1e1e; --mist: #1a2420; --white: #1e1e1e; --stone: #3a3530; --stone-dark: #5a5248; --bark: #c8bfb0; --bark-light: #a89880; --text-primary: #e8e2d8; --text-secondary: #a89880; --text-muted: #6e6358; --danger-soft: #2e1a17; /* Adjust shadows for dark bg */ --shadow-xs: 0 1px 3px rgba(0,0,0,.25); --shadow-sm: 0 2px 8px rgba(0,0,0,.30), 0 1px 2px rgba(0,0,0,.20); --shadow-md: 0 6px 24px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.20); --shadow-lg: 0 16px 48px rgba(0,0,0,.45), 0 4px 12px rgba(0,0,0,.25); --shadow-modal: 0 24px 80px rgba(0,0,0,.60), 0 6px 20px rgba(0,0,0,.35); } /* Dark body background */ html.dark body { background: #141414; color: var(--text-primary); } /* Dark ambient orbs — cooler, muted tones */ html.dark .orb-1 { background: radial-gradient(circle, #1e3028 0%, transparent 70%); opacity: .5; } html.dark .orb-2 { background: radial-gradient(circle, #2a2418 0%, transparent 70%); opacity: .45; } html.dark .orb-3 { background: radial-gradient(circle, #182820 0%, transparent 70%); opacity: .4; } /* Dark stats bar */ html.dark .stats { background: #1e1e1e; border-color: #2e2a24; } /* Dark progress bar track */ html.dark .progress-track { background: #2e2a24; } /* Dark filter pills container */ html.dark .filter-bar { background: #1e1e1e; border-color: #2e2a24; } /* Dark pills */ html.dark .pill, html.dark .type-pill, html.dark .for-pill { background: #252220; border-color: #3a3530; color: var(--text-secondary); } html.dark .pill:hover, html.dark .type-pill:hover, html.dark .for-pill:hover { background: #2e2a24; border-color: #4a4540; color: var(--text-primary); } /* Dark search input */ html.dark .search-wrap input { background: #1e1e1e; border-color: #3a3530; color: var(--text-primary); } html.dark .search-wrap input::placeholder { color: var(--text-muted); } html.dark .search-wrap input:focus { border-color: var(--sage); background: #222; } /* Dark service chips */ html.dark .service-chip { background: #1e1e1e; border-color: #3a3530; color: var(--text-secondary); } html.dark .service-chip:hover { border-color: var(--sage); color: var(--sage-light); background: #1a2420; } html.dark .service-chip.active { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); } /* Dark cards */ html.dark .card { background: #1e1e1e; border-color: #2e2a24; } html.dark .card:hover { border-color: #3a3530; background: #222; } html.dark .card.watched { background: #191917; border-color: #2a2822; } html.dark .card-body { background: transparent; } html.dark .card-title { color: var(--text-primary); } html.dark .card-meta { color: var(--text-muted); } html.dark .card-notes { color: var(--text-secondary); background: #252220; border-color: #3a3530; } /* Dark badges */ html.dark .badge-service { background: #252220; color: var(--sage-light); } html.dark .badge-type { background: #252220; color: var(--text-secondary); } html.dark .badge-for { background: #252220; color: var(--text-secondary); } /* Dark card action buttons */ html.dark .btn-icon { color: var(--text-muted); } html.dark .btn-icon:hover { background: #2e2a24; color: var(--text-primary); } html.dark .btn-watch { border-color: #3a3530; color: var(--sage-light); } html.dark .btn-watch:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; } html.dark .card.watched .btn-watch { border-color: #3a3530; color: var(--text-muted); } /* Dark theme toggle button */ html.dark .theme-toggle { background: #252220; border-color: #3a3530; color: var(--bark); } html.dark .theme-toggle:hover { background: #2e2a24; border-color: #4a4540; } /* Dark ghost button */ html.dark .btn-ghost { border-color: #3a3530; color: var(--text-secondary); } html.dark .btn-ghost:hover { background: #252220; border-color: #4a4540; color: var(--text-primary); } /* Dark modal overlay */ html.dark .modal-overlay { background: rgba(0, 0, 0, 0.75); } /* Dark modal */ html.dark .modal-content, html.dark .modal-inner, html.dark .modal > .modal-dialog > .modal-content { background: #1e1e1e; border-color: #2e2a24; } html.dark .modal-header { border-bottom-color: #2e2a24; } html.dark .modal-footer { border-top-color: #2e2a24; } html.dark .modal-title { color: var(--text-primary); } /* Dark form elements */ html.dark .form-label { color: var(--text-secondary); } html.dark .form-input, html.dark .form-select, html.dark textarea.form-input { background: #252220; border-color: #3a3530; color: var(--text-primary); } html.dark .form-input:focus, html.dark .form-select:focus, html.dark textarea.form-input:focus { border-color: var(--sage); background: #2a2724; box-shadow: 0 0 0 3px rgba(138,173,143,.15); } html.dark .form-input::placeholder, html.dark textarea.form-input::placeholder { color: var(--text-muted); } /* Dark type/for option buttons in modal */ html.dark .type-option, html.dark .for-option { background: #252220; border-color: #3a3530; color: var(--text-secondary); } html.dark .type-option:hover, html.dark .for-option:hover { background: #2e2a24; color: var(--text-primary); } html.dark .type-option.active, html.dark .for-option.active { border-color: var(--sage); background: #1a2420; color: var(--sage-light); } /* Dark delete modal */ html.dark .delete-modal { background: #1e1e1e; border-color: #2e2a24; } html.dark .delete-title { color: var(--text-primary); } html.dark .delete-message { color: var(--text-secondary); } /* Dark empty state */ html.dark .empty-state { color: var(--text-muted); } /* Dark loading spinner */ html.dark .spinner { border-color: #2e2a24; border-top-color: var(--sage); } /* Dark scrollbar */ html.dark ::-webkit-scrollbar-thumb { background: #3a3530; } html.dark ::-webkit-scrollbar-thumb:hover { background: #4a4540; } /* Responsive */ @media (max-width: 640px) { .app { padding: 24px 16px 60px; } .header-title { font-size: 1.6rem; } .stats { flex-wrap: wrap; padding: 16px 20px; gap: 16px; } .stat-sep { display: none; } .stat { flex: 1 1 40%; } .controls { gap: 8px; } .search-box { max-width: 100%; min-width: 100%; order: 3; } .form-row { grid-template-columns: 1fr; } .modal { border-radius: var(--radius-lg); } .modal-header { padding: 20px 20px 0; } .modal-form { padding: 16px 20px 20px; } .grid { grid-template-columns: 1fr; } .toast-container { bottom: 16px; right: 16px; left: 16px; } .toast { max-width: 100%; } } @media (max-width: 480px) { .type-toggle { flex-direction: column; } } p.card-genre, p.card-notes { margin-bottom: 0 !important; }