.psba-dashboard-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.psba-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.psba-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 1.5rem;
}

.psba-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    color: #374151;
    background-color: #fff;
    min-width: 200px;
}

.psba-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #10b981;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.psba-error {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.psba-last-updated {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 15px;
    text-align: right;
}

.psba-category-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.psba-category-header {
    background-color: #10b981;
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.psba-table-responsive {
    overflow-x: auto;
}

.psba-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.psba-table th,
.psba-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.psba-table th {
    background-color: #f3f4f6;
    color: #4b5563;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.psba-table tr:last-child td {
    border-bottom: none;
}

.psba-table tr:hover {
    background-color: #f9fafb;
}

.psba-price-dc {
    color: #6b7280;
}

.psba-price-psba {
    color: #10b981;
    font-weight: 600;
}

.psba-savings {
    font-weight: 600;
    color: #059669;
}

.psba-savings-badge {
    background-color: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .psba-header {
        flex-direction: column;
        align-items: stretch;
    }

    .psba-select {
        width: 100%;
    }
}