/* Vendors Page Styling */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vendor-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.vendor-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vendor-avatar {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #42b549, #ff5722);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.vendor-avatar i {
    color: white;
    font-size: 1.5rem;
}

.vendor-info {
    padding: 1.5rem;
    text-align: center;
}

.vendor-name {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.vendor-stats {
    margin-bottom: 1rem;
}

.vendor-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.vendor-stat i {
    margin-right: 0.5rem;
}

.vendor-stat.new-products {
    color: #38a169;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #f0fff4;
    color: #38a169;
    margin-bottom: 1rem;
}

.verified-badge i {
    margin-right: 0.25rem;
}

.vendor-button {
    width: 100%;
    background-color: #42b549;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.vendor-button:hover {
    background-color: #38a169;
    color: white;
    text-decoration: none;
}

.vendor-button i {
    margin-right: 0.5rem;
}

/* Header Section */
.vendor-header {
    background: linear-gradient(135deg, #42b549, #ff5722);
    color: white;
    padding: 3rem 0;
}

.vendor-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.vendor-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Search Form */
.search-form {
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border: none;
    color: #1a202c;
    outline: none;
}

.search-input:focus {
    box-shadow: 0 0 0 2px white;
}

.search-button {
    background: white;
    color: #42b549;
    padding: 0.75rem 1.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #f7fafc;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a {
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #f7fafc;
}

.pagination a.active {
    background-color: #42b549;
    color: white;
    border-color: #42b549;
}

/* No vendors found */
.no-vendors {
    text-align: center;
    padding: 3rem 0;
}

.no-vendors i {
    font-size: 4rem;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.no-vendors h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.no-vendors p {
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .vendor-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .vendor-header h1 {
        font-size: 2rem;
    }
    
    .vendor-header p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .vendor-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-input {
        border-radius: 0.5rem;
    }
    
    .search-button {
        border-radius: 0.5rem;
    }
}