.sparelinq-vin-portal {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.sparelinq-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.sparelinq-header {
    text-align: center;
    margin-bottom: 30px;
}

.sparelinq-header h2 {
    margin: 0 0 10px 0;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 600;
}

.sparelinq-header p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.sparelinq-search-section {
    margin-bottom: 30px;
}

.sparelinq-input-group {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.sparelinq-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.sparelinq-input:focus {
    outline: none;
    border-color: #2563eb;
}

.sparelinq-button {
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sparelinq-button:hover {
    background: #1d4ed8;
}

.sparelinq-button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.sparelinq-error {
    margin-top: 15px;
    padding: 12px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    color: #991b1b;
    text-align: center;
}

.sparelinq-loading {
    text-align: center;
    padding: 40px;
}

.sparelinq-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 4px solid #e0e0e0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: sparelinq-spin 1s linear infinite;
}

@keyframes sparelinq-spin {
    to { transform: rotate(360deg); }
}

.sparelinq-loading p {
    color: #666;
    margin: 0;
}

.sparelinq-results {
    margin-top: 30px;
}

.sparelinq-vehicle-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.sparelinq-vehicle-image-container {
    width: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sparelinq-vehicle-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.sparelinq-vehicle-details {
    padding: 30px;
}

.sparelinq-vehicle-details h3 {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 600;
}

.sparelinq-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.sparelinq-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
}

.sparelinq-label {
    font-weight: 600;
    color: #4b5563;
}

.sparelinq-value {
    color: #1f2937;
}

@media (max-width: 768px) {
    .sparelinq-input-group {
        flex-direction: column;
    }

    .sparelinq-details-grid {
        grid-template-columns: 1fr;
    }

    .sparelinq-container {
        padding: 20px;
    }
}