Spaces:
Sleeping
Sleeping
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; | |
| background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%); | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| background: white; | |
| border-radius: 12px; | |
| box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); | |
| overflow: hidden; | |
| } | |
| header { | |
| background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%); | |
| color: white; | |
| padding: 30px; | |
| text-align: center; | |
| } | |
| header h1 { | |
| font-size: 32px; | |
| margin-bottom: 10px; | |
| } | |
| header p { | |
| opacity: 0.9; | |
| font-size: 14px; | |
| } | |
| .content { | |
| padding: 30px; | |
| } | |
| .search-form { | |
| display: grid; | |
| gap: 24px; | |
| margin-bottom: 30px; | |
| } | |
| .form-group { | |
| display: grid; | |
| gap: 10px; | |
| } | |
| label { | |
| font-weight: 600; | |
| color: #333; | |
| font-size: 14px; | |
| } | |
| textarea { | |
| padding: 12px; | |
| border: 2px solid #e0e0e0; | |
| border-radius: 6px; | |
| font-family: inherit; | |
| font-size: 14px; | |
| resize: vertical; | |
| min-height: 80px; | |
| transition: border-color 0.3s; | |
| width: 100%; | |
| } | |
| textarea:focus { | |
| outline: none; | |
| border-color: #ff8c00; | |
| box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1); | |
| } | |
| .supermarkets { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); | |
| gap: 12px; | |
| } | |
| .checkbox-group { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| input[type="checkbox"] { | |
| width: 18px; | |
| height: 18px; | |
| cursor: pointer; | |
| accent-color: #ff8c00; | |
| flex-shrink: 0; | |
| } | |
| .checkbox-group label { | |
| margin: 0; | |
| font-weight: 500; | |
| cursor: pointer; | |
| font-size: 14px; | |
| } | |
| .params { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 30px; | |
| } | |
| input[type="number"] { | |
| padding: 12px; | |
| border: 2px solid #e0e0e0; | |
| border-radius: 6px; | |
| font-size: 14px; | |
| transition: border-color 0.3s; | |
| width: 100%; | |
| } | |
| input[type="number"]:focus { | |
| outline: none; | |
| border-color: #ff8c00; | |
| box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1); | |
| } | |
| .button-group { | |
| display: flex; | |
| gap: 12px; | |
| margin-top: 10px; | |
| } | |
| button { | |
| padding: 12px 24px; | |
| font-size: 14px; | |
| font-weight: 600; | |
| border: none; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| } | |
| .btn-search { | |
| background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%); | |
| color: white; | |
| flex: 1; | |
| } | |
| .btn-search:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3); | |
| } | |
| .btn-search:active { | |
| transform: translateY(0); | |
| } | |
| .btn-clear { | |
| background: #f0f0f0; | |
| color: #333; | |
| padding: 12px 20px; | |
| } | |
| .btn-clear:hover { | |
| background: #e0e0e0; | |
| } | |
| .loading { | |
| display: none; | |
| text-align: center; | |
| padding: 20px; | |
| color: #ff8c00; | |
| } | |
| .spinner { | |
| border: 3px solid #f0f0f0; | |
| border-top: 3px solid #ff8c00; | |
| border-radius: 50%; | |
| width: 30px; | |
| height: 30px; | |
| animation: spin 1s linear infinite; | |
| margin: 0 auto 10px; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| .results { | |
| margin-top: 30px; | |
| } | |
| .results-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 15px; | |
| } | |
| .results-header h2 { | |
| font-size: 18px; | |
| color: #333; | |
| } | |
| .results-count { | |
| background: #ff8c00; | |
| color: white; | |
| padding: 6px 12px; | |
| border-radius: 20px; | |
| font-size: 13px; | |
| font-weight: 600; | |
| } | |
| .results-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| background: white; | |
| border-radius: 6px; | |
| overflow: hidden; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| .results-table thead { | |
| background: #f5f5f5; | |
| } | |
| .results-table th { | |
| padding: 12px; | |
| text-align: left; | |
| font-weight: 600; | |
| color: #333; | |
| font-size: 13px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| cursor: pointer; | |
| user-select: none; | |
| } | |
| .results-table th:hover { | |
| background: #e8e8e8; | |
| } | |
| .results-table td { | |
| padding: 12px; | |
| border-top: 1px solid #f0f0f0; | |
| font-size: 14px; | |
| } | |
| .results-table tbody tr:hover { | |
| background: #f9f9f9; | |
| } | |
| .shop-badge { | |
| display: inline-block; | |
| background: #ff8c00; | |
| color: white; | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| font-size: 12px; | |
| font-weight: 600; | |
| } | |
| .price { | |
| font-weight: 600; | |
| color: #ff8c00; | |
| font-size: 15px; | |
| } | |
| .score { | |
| color: #999; | |
| font-size: 13px; | |
| } | |
| .url-link { | |
| color: #ff8c00; | |
| text-decoration: none; | |
| word-break: break-all; | |
| font-size: 12px; | |
| } | |
| .url-link:hover { | |
| text-decoration: underline; | |
| } | |
| .no-results { | |
| text-align: center; | |
| padding: 40px 20px; | |
| color: #999; | |
| } | |
| .error { | |
| background: #fee; | |
| color: #c33; | |
| padding: 15px; | |
| border-radius: 6px; | |
| margin-top: 20px; | |
| border-left: 4px solid #c33; | |
| } | |
| @media (max-width: 768px) { | |
| .params { | |
| grid-template-columns: 1fr; | |
| gap: 20px; | |
| } | |
| .button-group { | |
| flex-direction: column; | |
| } | |
| .btn-clear { | |
| flex: 1; | |
| } | |
| .results-table { | |
| font-size: 12px; | |
| } | |
| .results-table th, | |
| .results-table td { | |
| padding: 8px; | |
| } | |
| } | |
| .results-table th { | |
| cursor: pointer; | |
| user-select: none; | |
| } | |
| .results-table th:hover { | |
| background: #e8e8e8; | |
| } | |
| .results-table th.sortable::after { | |
| content: ' ⇅'; | |
| font-size: 11px; | |
| opacity: 0.5; | |
| } | |
| .results-table th.sort-asc::after { | |
| content: ' ↑'; | |
| opacity: 1; | |
| } | |
| .results-table th.sort-desc::after { | |
| content: ' ↓'; | |
| opacity: 1; | |
| } | |