* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; color: #333; } .container { max-width: 1400px; margin: 0 auto; padding: 20px; } .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; margin-bottom: 30px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); text-align: center; } .header h1 { color: #4a5568; font-size: 2.5rem; margin-bottom: 10px; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .header p { color: #718096; font-size: 1.1rem; } .database-tabs { display: flex; gap: 15px; justify-content: center; margin: 20px 0; flex-wrap: wrap; } .tab-button { padding: 15px 30px; border: none; border-radius: 15px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; background: linear-gradient(135deg, #f7fafc, #edf2f7); color: #2d3748; border: 2px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .tab-button.active { background: linear-gradient(135deg, #4299e1, #3182ce); color: white; box-shadow: 0 10px 20px rgba(66, 153, 225, 0.4); transform: translateY(-2px); border: 2px solid #3182ce; } .tab-button:hover:not(.active) { background: linear-gradient(135deg, #edf2f7, #e2e8f0); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); } .search-panel { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; margin-bottom: 30px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); } .search-panel h2 { color: #4a5568; margin-bottom: 25px; font-size: 1.8rem; text-align: center; } .search-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; } .input-group { position: relative; } .input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #4a5568; font-size: 0.9rem; } .input-group input, .input-group select { width: 100%; padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 1rem; transition: all 0.3s ease; background: white; } .input-group input:focus, .input-group select:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); transform: translateY(-2px); } .search-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; } .btn { padding: 12px 30px; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3); } .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4); } .btn-secondary { background: #f7fafc; color: #4a5568; border: 2px solid #e2e8f0; } .btn-secondary:hover { background: #edf2f7; transform: translateY(-2px); } .loading { text-align: center; padding: 40px; color: #b1bffa; font-size: 1.2rem; } .spinner { display: inline-block; width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #667eea; border-radius: 50%; animation: spin 1s linear infinite; margin-left: 10px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .results-panel { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); } .results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; } .results-count { color: #4a5568; font-size: 1.1rem; font-weight: 600; } .pagination { display: flex; gap: 10px; align-items: center; } .pagination button { padding: 8px 16px; border: 2px solid #e2e8f0; background: white; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; font-weight: 500; } .pagination button:hover:not(:disabled) { border-color: #667eea; color: #667eea; } .pagination button:disabled { opacity: 0.5; cursor: not-allowed; } .pagination .active { background: #667eea; color: white; border-color: #667eea; } .results-table { width: 100%; border-collapse: collapse; margin-top: 20px; overflow: hidden; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .results-table th { background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 15px 12px; text-align: right; font-weight: 600; font-size: 0.9rem; position: sticky; top: 0; z-index: 10; } .results-table td { padding: 12px; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; vertical-align: top; } .results-table tbody tr:hover { background: #f7fafc; } .results-table tbody tr:nth-child(even) { background: #fafafa; } .results-table tbody tr:nth-child(even):hover { background: #f0f4f8; } .vehicle-card { background: white; border-radius: 12px; padding: 20px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border-right: 4px solid #667eea; } .vehicle-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); } .vehicle-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; } .vehicle-title { font-size: 1.3rem; font-weight: 700; color: #2d3748; } .vehicle-number { background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 6px 12px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; } .vehicle-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; } .detail-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f1f5f9; } .detail-label { font-weight: 600; color: #4a5568; font-size: 0.9rem; } .detail-value { color: #2d3748; text-align: left; font-size: 0.9rem; } .no-results { text-align: center; padding: 60px 20px; color: #718096; } .no-results h3 { font-size: 1.5rem; margin-bottom: 10px; } .error { background: #fed7d7; border: 1px solid #feb2b2; color: #c53030; padding: 15px; border-radius: 12px; margin: 20px 0; text-align: center; } @media (max-width: 768px) { .search-grid { grid-template-columns: 1fr; } .header h1 { font-size: 2rem; } .results-table { font-size: 0.8rem; } .results-table th, .results-table td { padding: 8px 6px; } .vehicle-header { flex-direction: column; align-items: flex-start; gap: 10px; } }