* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; height: 100vh; overflow: hidden; background: #1a1a1a; color: #e0e0e0; } .container { display: grid; grid-template-columns: 380px 1fr; grid-template-rows: auto 1fr; height: calc(100vh - 60px); } .search-bar { grid-column: 1 / -1; background: #242424; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); display: grid; grid-template-columns: 1fr auto auto auto auto; gap: 12px; align-items: end; } .form-group { display: flex; flex-direction: column; gap: 6px; } .form-group label { font-size: 12px; font-weight: 600; color: #b0b0b0; text-transform: uppercase; letter-spacing: 0.5px; } .search-bar input, .search-bar select { padding: 12px; border: 1px solid #3a3a3a; border-radius: 6px; font-size: 14px; background: #2a2a2a; color: #e0e0e0; transition: all 0.2s; } .search-bar input:focus, .search-bar select:focus { outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); } .price-inputs { display: flex; gap: 8px; align-items: center; } .price-inputs input { width: 120px; } .price-separator { color: #666; font-weight: 600; padding: 0 4px; } .search-bar button { padding: 12px 24px; background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.2s; box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3); } .search-bar button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4); } .search-bar button:disabled { background: #3a3a3a; cursor: not-allowed; box-shadow: none; } .search-bar button.cancel { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3); } .search-bar button.cancel:hover { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4); } .results-panel { background: #1e1e1e; overflow-y: auto; border-right: 1px solid #2a2a2a; } .results-panel::-webkit-scrollbar { width: 8px; } .results-panel::-webkit-scrollbar-track { background: #1a1a1a; } .results-panel::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 4px; } .results-panel::-webkit-scrollbar-thumb:hover { background: #4a4a4a; } .results-header { background: #242424; padding: 20px; border-bottom: 1px solid #2a2a2a; position: sticky; top: 0; z-index: 10; } .results-count { font-weight: 700; color: #e0e0e0; margin-bottom: 12px; font-size: 16px; } .progress-info { background: rgba(14, 165, 233, 0.1); padding: 14px; border-radius: 6px; margin-bottom: 12px; display: none; border: 1px solid rgba(14, 165, 233, 0.2); } .progress-info.active { display: block; } .progress-bar { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; margin-top: 10px; } .progress-fill { height: 100%; background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 100%); width: 0%; transition: width 0.3s; box-shadow: 0 0 10px rgba(14, 165, 233, 0.5); } .progress-text { font-size: 13px; color: #0ea5e9; margin-bottom: 6px; font-weight: 600; } .eta-text { font-size: 11px; color: #888; margin-top: 6px; } .sort-control { display: flex; gap: 8px; align-items: center; } .sort-control label { font-size: 12px; color: #888; font-weight: 600; } .sort-control select { padding: 8px 12px; border: 1px solid #3a3a3a; border-radius: 6px; font-size: 13px; background: #2a2a2a; color: #e0e0e0; } .result-item { background: #242424; margin: 12px; border-radius: 8px; overflow: hidden; cursor: pointer; transition: all 0.2s; border: 1px solid #2a2a2a; } .result-item:hover { border-color: #0ea5e9; box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2); transform: translateY(-2px); } .result-item.selected { border-color: #0ea5e9; box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.3); } .result-image { width: 100%; height: 180px; object-fit: cover; background: #1a1a1a; } .result-content { padding: 14px; } .result-title { font-weight: 600; color: #e0e0e0; margin-bottom: 10px; font-size: 14px; line-height: 1.4; } .result-price { color: #0ea5e9; font-weight: 700; font-size: 20px; margin-bottom: 10px; } .result-meta { display: flex; justify-content: space-between; font-size: 12px; color: #888; } .result-location { display: flex; align-items: center; gap: 4px; } .result-date { font-style: italic; } .map-container { position: relative; height: 100%; background: #1a1a1a; } #map { width: 100%; height: 100%; filter: brightness(0.9) contrast(1.1); } .status-bar { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); background: #242424; padding: 14px 24px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.4); z-index: 1000; display: none; border: 1px solid #3a3a3a; } .status-bar.visible { display: block; } .status-bar.loading { background: rgba(14, 165, 233, 0.2); color: #0ea5e9; border-color: rgba(14, 165, 233, 0.3); } .status-bar.success { background: rgba(34, 197, 94, 0.2); color: #22c55e; border-color: rgba(34, 197, 94, 0.3); } .status-bar.error { background: rgba(239, 68, 68, 0.2); color: #ef4444; border-color: rgba(239, 68, 68, 0.3); } .no-results { text-align: center; padding: 60px 20px; color: #666; font-size: 14px; } .loading-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid #0ea5e9; border-radius: 50%; border-top-color: transparent; animation: spin 0.8s linear infinite; margin-right: 10px; } @keyframes spin { to { transform: rotate(360deg); } } .footer { background: #242424; border-top: 1px solid #2a2a2a; padding: 15px 20px; height: 60px; } .footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; } .footer-links { display: flex; gap: 20px; } .footer-links a { color: #888; text-decoration: none; font-size: 13px; transition: color 0.2s; } .footer-links a:hover { color: #0ea5e9; } .footer-info { color: #666; font-size: 12px; } .modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.8); } .modal.show { display: block; } .modal-content { background-color: #242424; margin: 5% auto; padding: 0; border: 1px solid #3a3a3a; border-radius: 8px; width: 90%; max-width: 800px; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; } .modal-content h2 { background: #2a2a2a; padding: 20px; margin: 0; color: #e0e0e0; border-bottom: 1px solid #3a3a3a; } .modal-body { padding: 20px; overflow-y: auto; flex: 1; } .modal-body::-webkit-scrollbar { width: 8px; } .modal-body::-webkit-scrollbar-track { background: #1a1a1a; } .modal-body::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 4px; } .modal-body h3 { color: #0ea5e9; margin-top: 20px; margin-bottom: 10px; font-size: 18px; } .modal-body h4 { color: #888; margin-top: 15px; margin-bottom: 8px; font-size: 14px; } .modal-body p { margin-bottom: 10px; line-height: 1.6; color: #ccc; } .modal-body ul { margin-left: 20px; margin-bottom: 15px; } .modal-body li { margin-bottom: 8px; color: #ccc; line-height: 1.6; } .modal-body a { color: #0ea5e9; text-decoration: none; } .modal-body a:hover { text-decoration: underline; } .modal-close { color: #888; position: absolute; right: 20px; top: 20px; font-size: 28px; font-weight: bold; cursor: pointer; transition: color 0.2s; } .modal-close:hover, .modal-close:focus { color: #fff; } @media (max-width: 1024px) { .container { grid-template-columns: 320px 1fr; } .search-bar { grid-template-columns: 1fr; } .price-inputs input { width: 100px; } } @media (max-width: 768px) { .container { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; } .results-panel { max-height: 300px; } .footer-content { flex-direction: column; gap: 10px; } }