/* Public Seller Profile Styles */

/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f7fafc !important;
    background-color: #f7fafc !important;
    background-image: none !important;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
    position: static !important;
}

/* Remove any global body pseudo-elements that might interfere */
body::before,
body::after {
    content: none !important;
    display: none !important;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d3748;
    text-decoration: none;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: #5a67d8;
}

.seller-login-btn {
    background: #667eea;
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.seller-login-btn:hover {
    background: #5a67d8;
    color: white;
}

/* Main Container */
.main-container {
    padding: 2rem 0;
    display: grid;
    gap: 2rem;
}

/* Company Profile Section */
.company-profile {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.company-header {
    margin-bottom: 2rem;
}

.company-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #c6f6d5;
    color: #22543d;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Profile Columns Layout */
.profile-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.column-header {
    font-weight: 600;
    font-size: 1rem;
    color: #2d3748;
    margin: 0 0 16px 0;
}

.column-content {
    color: #4a5568;
}

.details-text {
    white-space: pre-line;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Price List Section */
.price-list-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.title-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

/* Search and Filters */
.search-filters {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #2d3748;
    background: white;
    transition: border-color 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.items-count {
    color: #718096;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Table Styles */
.inventory-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.inventory-table th {
    background: #f7fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 1px solid #e2e8f0;
    min-width: 80px;
}

.inventory-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f3f4;
}

.inventory-table tbody tr:hover {
    background: #f9fafb;
}

.inventory-table tbody tr:last-child td {
    border-bottom: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #718096;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #cbd5e0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination button {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.page-info {
    margin: 0 1rem;
    color: #718096;
    font-size: 0.875rem;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .main-container {
        padding: 1rem;
    }

    .profile-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        min-width: auto;
    }

    .inventory-table {
        font-size: 0.875rem;
    }

    .inventory-table th,
    .inventory-table td {
        padding: 0.5rem;
    }
}
