.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; } /* Theme-aware CSS variables */ :root { /* Light theme (default) */ --bg-primary: #dddddd; --bg-secondary: #e8e8e8; --text-primary: #212529; --text-secondary: #6c757d; --border-color: #d0d0d0; --link-color: #212529; } /* Dark theme */ @media (prefers-color-scheme: dark) { :root { --bg-primary: #1a1a1a; --bg-secondary: #2a2a2a; --text-primary: #e0e0e0; --text-secondary: #a0a0a0; --border-color: #3a3a3a; --link-color: #212529; } } /* Support for explicit data-bs-theme attribute (Bootstrap override) */ html[data-bs-theme="dark"] { --bg-primary: #1a1a1a; --bg-secondary: #2a2a2a; --text-primary: #e0e0e0; --text-secondary: #a0a0a0; --border-color: #3a3a3a; --link-color: #e0e0e0; } html[data-bs-theme="light"], html.light-theme { --bg-primary: #dddddd; --bg-secondary: #e8e8e8; --text-primary: #212529; --text-secondary: #6c757d; --border-color: #d0d0d0; --link-color: #212529; } html { font-family: sans-serif; min-width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background-color: var(--bg-primary); color: var(--text-primary); } body { max-width: 100%; background-color: var(--bg-primary); color: var(--text-primary); transition: background-color 0.3s ease, color 0.3s ease; margin: 0; padding: 0; } .green-score { color: rgb(34, 139, 34) !important; } html[data-bs-theme="light"] .green-score { color: rgb(34, 139, 34) !important; } html[data-bs-theme="dark"] .green-score { color: rgb(158, 206, 106) !important; } .red-score { color: rgb(247, 118, 142) !important; } a { color: var(--link-color); transition: color 0.2s ease; } a:visited { color: var(--link-color); } /* App styles */ .container { max-width: 1200px; margin: 0 auto; padding: 20px; background-color: var(--bg-primary); color: var(--text-primary); min-height: 100vh; } .header { margin-bottom: 30px; } .header-controls { display: flex; gap: 12px; align-items: center; } .search-input { flex: 1; max-width: 500px; padding: 10px 12px; font-size: 14px; border: 1px solid #cccccc; border-radius: 4px; background-color: #f5f5f5; color: var(--text-primary); transition: all 0.2s ease; font-family: inherit; } .search-input:focus { outline: none; border-color: #999999; background-color: #ffffff; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05); } html.dark-theme .search-input { border-color: #555555; background-color: #1a1a1a; color: #e0e0e0; } html.dark-theme .search-input:focus { background-color: #2a2a2a; border-color: #777777; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1); } .search-input::placeholder { color: var(--text-secondary); } .theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #cccccc; border-radius: 4px; background-color: #f5f5f5; color: var(--text-primary); cursor: pointer; transition: all 0.2s ease; font-size: 18px; padding: 0; } .theme-toggle:hover { background-color: #e8e8e8; border-color: #999999; } .theme-toggle:active { transform: scale(0.95); } html.dark-theme .theme-toggle { border-color: #555555; background-color: #1a1a1a; color: #e0e0e0; } html.dark-theme .theme-toggle:hover { background-color: #2a2a2a; border-color: #777777; } .cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; margin-top: 20px; } .deal-card { background-color: var(--bg-secondary); border: 1.5px solid #aaaaaa; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; transition: all 0.2s ease; min-height: auto; } .deal-card:hover { background-color: #15151515; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-color: #999999; } .card-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; justify-content: space-between; } .title-with-link { display: flex; align-items: flex-start; gap: 6px; flex: 1; } .deal-title { color: var(--link-color); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.4; flex: 1; transition: color 0.2s ease; } .deal-title:visited { color: var(--link-color); } .deal-title:hover { text-decoration: underline; } .card-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; margin-bottom: 12px; } .dealer-name { color: var(--text-secondary); font-weight: 500; font-size: 13px; } .card-timestamp { color: var(--text-secondary); font-size: 12px; margin-top: 8px; } .card-link { display: inline-flex; align-items: center; justify-content: center; color: var(--link-color); text-decoration: none; transition: all 0.2s ease; flex-shrink: 0; } .card-link:hover { opacity: 0.7; } .card-link .material-symbols-outlined { font-size: 18px; } .score-bubble { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 40px; border-radius: 6px; font-weight: 700; font-size: 12px; flex-shrink: 0; transition: all 0.2s ease; padding: 0 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); border: none; } .score-bubble.positive { background-color: rgb(34, 139, 34); color: white; box-shadow: 0 1px 3px rgba(34, 139, 34, 0.2); } html.light-theme .score-bubble.positive { background-color: rgb(34, 139, 34); color: white; box-shadow: 0 1px 3px rgba(34, 139, 34, 0.2); } html.dark-theme .score-bubble.positive { background-color: rgb(158, 206, 106); color: #1a1a1a; box-shadow: 0 1px 3px rgba(158, 206, 106, 0.2); } .score-bubble.negative { background-color: rgb(247, 118, 142); color: white; box-shadow: 0 1px 3px rgba(247, 118, 142, 0.2); } .score-bubble.neutral { background-color: var(--text-secondary); color: var(--bg-primary); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); } .card-details { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-color); } .details-stats { display: flex; gap: 16px; margin-bottom: 12px; } .stat { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-secondary); } .stat .material-symbols-outlined { font-size: 18px; } .stat-value { font-weight: 500; } .details-section { margin-bottom: 12px; } .details-section strong { display: block; color: var(--text-primary); margin-bottom: 4px; font-size: 13px; } .details-section p { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.4; word-wrap: break-word; } /* Mobile responsive */ @media (max-width: 768px) { .cards-grid { grid-template-columns: 1fr; } .container { padding: 12px; } .search-input { max-width: 100%; } } /* Mark highlighting */ mark { background-color: rgba(255, 193, 7, 0.3); color: inherit; font-weight: 600; border-radius: 2px; } html.dark-theme mark { background-color: rgba(255, 193, 7, 0.4); color: inherit; font-weight: 600; border-radius: 2px; }