﻿#tgs_bpa-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    box-shadow: 0 2px 34px -6px rgba(0,0,0,.1);
    font-family: "Barlow", sans-serif;
    overflow: hidden;
}

.tgs_bpa-wrap-left {
    flex: 0 0 30%;
    width: 30%;
    padding: 15px;
    border-right: 1px solid #ececec;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #000;
}

.tgs_bpa-wrap-right {
    flex: 1;
    padding: 15px;
}

/* ===== TITLE ===== */
.tgs_bpa-title {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Barlow", sans-serif;
    text-align: center;
}

.tgs_bpa-desc {
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

/* ===== FORM LAYOUT ===== */
.tgs_bpa-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.tgs_bpa-form-row.tgs_bpa-form-row--single {
    grid-template-columns: 1fr;
}

.tgs_bpa-form-row.tgs_bpa-form-row--tri {
    grid-template-columns: repeat(3, 1fr);
}

.tgs_bpa-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tgs_bpa-form-group label,
.tgs_bpa-form-group .tgs_bpa-field-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
}

.tgs_bpa-form-group input[type="text"],
.tgs_bpa-form-group input[type="tel"],
.tgs_bpa-form-group input[type="number"],
.tgs_bpa-form-group select {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    box-shadow: none;
    padding: 8px 12px;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.tgs_bpa-form-group input:focus,
.tgs_bpa-form-group select:focus {
    outline: none;
    border-color: #235DA7;
    box-shadow: 0 0 0 3px rgba(35, 93, 167, 0.15);
}

/* ===== AGE GROUP SELECT ===== */
.tgs_bpa-age-select {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 8px 12px;
    font-family: "Barlow", sans-serif;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.tgs_bpa-age-select:focus {
    outline: none;
    border-color: #235DA7;
    box-shadow: 0 0 0 3px rgba(35, 93, 167, 0.15);
}

/* ===== DEMAND CHECKBOXES ===== */
.tgs_bpa-demand-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.tgs_bpa-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tgs_bpa-checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.tgs_bpa-checkbox-item input[type="checkbox"] {
    accent-color: #235DA7;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tgs_bpa-checkbox-item span {
    font-size: 13px;
    color: #444;
    font-family: "Barlow", sans-serif;
}

/* ===== SUBMIT BUTTON ===== */
.tgs_bpa-submit-btn {
    width: 100%;
    background: #235DA7;
    color: #fff !important;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 0 10px;
    border-radius: 4px;
    font-weight: 700;
    font-family: "Barlow", sans-serif;
    border: 1px solid transparent;
    text-decoration: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all .2s ease;
}

.tgs_bpa-submit-btn:hover {
    border-color: #235DA7;
    background-color: #fff;
    color: #235DA7 !important;
}

.tgs_bpa-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== LOADING ===== */
.tgs_bpa-loading-wrap {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(1px);
    z-index: 999;
    border-radius: 10px;
}

.tgs_bpa-loading {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
}

.tgs_bpa-loading div {
    position: absolute;
    border: 3px solid #235DA7;
    opacity: 1;
    border-radius: 50%;
    animation: tgs_bpa-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.tgs_bpa-loading div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes tgs_bpa-ripple {
    0%   { top: 28px; left: 28px; width: 0; height: 0; opacity: 0; }
    5%   { top: 28px; left: 28px; width: 0; height: 0; opacity: 1; }
    100% { top: 0; left: 0; width: 56px; height: 56px; opacity: 0; }
}

/* ===== RESULT SECTION (ARCHIVE-PRODUCT STYLE) ===== */
.tgs_bpa-results-section {
    margin-top: 40px;
    font-family: "Barlow", sans-serif;
}

.tgs_bpa-results-section .tgs_bpa-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    font-family: "Barlow", sans-serif;
}

.tgs_bpa-results-section .tgs_bpa-section-subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

.tgs_bpa-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tgs_bpa-product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}

.tgs_bpa-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,.1);
}

.tgs_bpa-product-thumb {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.tgs_bpa-product-thumb .tgs_bpa-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #235DA7;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    font-family: "Barlow", sans-serif;
    text-transform: uppercase;
}

.tgs_bpa-product-body {
    padding: 14px;
}

.tgs_bpa-product-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px 0;
    line-height: 1.3;
    font-family: "Barlow", sans-serif;
}

.tgs_bpa-product-body .tgs_bpa-product-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tgs_bpa-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tgs_bpa-product-price {
    font-size: 15px;
    font-weight: 800;
    color: #235DA7;
    font-family: "Barlow", sans-serif;
}

.tgs_bpa-product-age {
    font-size: 11px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: "Barlow", sans-serif;
}

.tgs_bpa-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tgs_bpa-product-tag {
    font-size: 10px;
    color: #235DA7;
    background: rgba(35, 93, 167, 0.1);
    padding: 2px 7px;
    border-radius: 3px;
    font-family: "Barlow", sans-serif;
    border: 1px solid rgba(35, 93, 167, 0.2);
}

/* ===== ADMIN DASHBOARD ===== */
.tgs_bpa-admin-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Barlow", sans-serif;
    max-width: 1400px;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #edf4ff 0%, #f7fbff 100%);
    min-height: 100vh;
}

.tgs_bpa-admin-header {
    background: linear-gradient(135deg, #235DA7 0%, #1B4F90 100%);
    padding: 32px 40px;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(35, 93, 167, 0.15);
}

.tgs_bpa-admin-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.tgs_bpa-admin-tabs {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0 40px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tgs_bpa-admin-tab {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: 0;
    transition: all .25s ease;
    font-family: inherit;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.tgs_bpa-admin-tab:hover {
    color: #235DA7;
}

.tgs_bpa-admin-tab.active {
    color: #235DA7;
    border-bottom-color: #235DA7;
}

.tgs_bpa-admin-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #235DA7, #1F5AA0);
}

.tgs_bpa-admin-panel {
    display: none;
    padding: 40px;
    animation: fadeIn .3s ease;
}

.tgs_bpa-admin-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Requests Table */
.tgs_bpa-admin-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    background: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tgs_bpa-admin-toolbar input[type="text"],
.tgs_bpa-admin-toolbar input[type="date"] {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color .2s ease;
}

.tgs_bpa-admin-toolbar input[type="text"]:focus,
.tgs_bpa-admin-toolbar input[type="date"]:focus {
    outline: none;
    border-color: #235DA7;
    box-shadow: 0 0 0 3px rgba(35, 93, 167, 0.1);
}

.tgs_bpa-admin-toolbar button {
    background: #235DA7;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all .2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tgs_bpa-admin-toolbar button:hover {
    background: #1B4F90;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(35, 93, 167, 0.25);
}

.tgs_bpa-admin-toolbar .tgs_bpa-export-btn {
    background: linear-gradient(135deg, #235DA7 0%, #1B4F90 100%);
}

.tgs_bpa-admin-toolbar .tgs_bpa-export-btn:hover {
    background: linear-gradient(135deg, #1B4F90 0%, #16447a 100%);
}

.tgs_bpa-requests-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tgs_bpa-requests-table th {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #e8e8e8;
}

.tgs_bpa-requests-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: top;
}

.tgs_bpa-requests-table tbody tr:hover td {
    background: #fafafa;
}

.tgs_bpa-pagination {
    display: flex;
    gap: 4px;
    margin-top: 20px;
    align-items: center;
}

.tgs_bpa-pagination button {
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    transition: all .2s ease;
}

.tgs_bpa-pagination button:hover:not(:disabled) {
    border-color: #235DA7;
    color: #235DA7;
}

.tgs_bpa-pagination button.active {
    background: #235DA7;
    color: #fff;
    border-color: #235DA7;
}

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

/* Tag management */
.tgs_bpa-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tgs_bpa-tag-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(35, 93, 167, 0.1) 0%, rgba(35, 93, 167, 0.05) 100%);
    border: 1px solid rgba(35, 93, 167, 0.25);
    color: #235DA7;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: all .2s ease;
}

.tgs_bpa-tag-chip:hover {
    border-color: #235DA7;
    box-shadow: 0 2px 8px rgba(35, 93, 167, 0.15);
}

.tgs_bpa-tag-chip .tgs_bpa-tag-delete {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity .2s;
}

.tgs_bpa-tag-chip .tgs_bpa-tag-delete:hover {
    opacity: 1;
}

.tgs_bpa-add-tag-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tgs_bpa-add-tag-form input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color .2s ease;
}

.tgs_bpa-add-tag-form input:focus {
    outline: none;
    border-color: #235DA7;
    box-shadow: 0 0 0 3px rgba(35, 93, 167, 0.1);
}

.tgs_bpa-add-tag-form button {
    background: linear-gradient(135deg, #235DA7 0%, #1B4F90 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    transition: all .2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tgs_bpa-add-tag-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 93, 167, 0.25);
}

/* Product tag editor */
.tgs_bpa-product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tgs_bpa-product-list::-webkit-scrollbar {
    width: 8px;
}

.tgs_bpa-product-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.tgs_bpa-product-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.tgs_bpa-product-list::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.tgs_bpa-product-editor {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    transition: all .2s ease;
}

.tgs_bpa-product-editor:hover {
    border-color: #235DA7;
    box-shadow: 0 2px 8px rgba(35, 93, 167, 0.1);
}

.tgs_bpa-product-editor h4 {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    font-family: inherit;
}

.tgs_bpa-tag-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tgs_bpa-tag-checkboxes label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s ease;
}

.tgs_bpa-tag-checkboxes label:hover {
    color: #235DA7;
}

.tgs_bpa-tag-checkboxes input[type="checkbox"] {
    accent-color: #235DA7;
    cursor: pointer;
}

/* AI Training products list */
.tgs_bpa-ai-tools {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.tgs_bpa-ai-tools button {
    background: #235DA7;
    color: #fff !important;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Barlow", sans-serif;
    transition: background .2s ease;
}

.tgs_bpa-ai-tools button:hover {
    background: #1B4F90;
}

#tgs_bpa-sync-products-status {
    color: #666 !important;
    font-size: 13px;
}

.tgs_bpa-ai-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    animation: fadeIn .3s ease;
}

.tgs_bpa-ai-product-list .tgs_bpa-product-editor {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tgs_bpa-ai-product-list .tgs_bpa-product-editor:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 93, 167, 0.1);
}

.tgs_bpa-ai-product-list h4 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    line-height: 1.4;
    font-family: "Barlow", sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tgs_bpa-ai-product-list p {
    font-size: 12px;
    color: #666;
    margin: 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Success message */
.tgs_bpa-success-banner {
    background: linear-gradient(135deg, #235DA7, #1F5AA0);
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    font-family: "Barlow", sans-serif;
    display: none;
}

.tgs_bpa-success-banner.show {
    display: block;
    animation: tgs_bpa-slide-in .4s ease;
}

@keyframes tgs_bpa-slide-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes tgs_bpa-fade-out {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.98); }
}

body.tgs_bpa-redirecting {
    animation: tgs_bpa-fade-out .4s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 767px) {
    #tgs_bpa-wrap {
        flex-direction: column;
    }

    .tgs_bpa-wrap-left {
        flex: 1;
        width: 100%;
    }

    .tgs_bpa-form-row {
        grid-template-columns: 1fr;
    }

    .tgs_bpa-form-row.tgs_bpa-form-row--tri {
        grid-template-columns: 1fr;
    }

    .tgs_bpa-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .tgs_bpa-admin-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .tgs_bpa-admin-tabs::-webkit-scrollbar {
        display: none;
    }
}

/* ===== IMPROVED AI TRAINING SECTION ===== */

/* AI Training products list */
.tgs_bpa-ai-tools {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
    background: linear-gradient(135deg, rgba(35, 93, 167, 0.05) 0%, rgba(27, 79, 144, 0.07) 100%);
    padding: 20px 24px;
    border-radius: 8px;
    border: 1px solid rgba(35, 93, 167, 0.1);
}

.tgs_bpa-ai-tools button {
    background: linear-gradient(135deg, #235DA7 0%, #1B4F90 100%);
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(35, 93, 167, 0.2);
}

.tgs_bpa-ai-tools button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(35, 93, 167, 0.3);
}

.tgs_bpa-ai-tools button:active {
    transform: translateY(0);
}

#tgs_bpa-sync-products-status {
    color: #666 !important;
    font-size: 13px;
    font-weight: 600;
    min-width: 200px;
    transition: all .3s ease;
}

#tgs_bpa-sync-products-status.success {
    color: #2ecc71 !important;
}

#tgs_bpa-sync-products-status.error {
    color: #e74c3c !important;
}

/* AI product grid */
.tgs_bpa-ai-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    animation: fadeIn .4s ease;
}

.tgs_bpa-ai-product-list .tgs_bpa-product-editor {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 18px;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tgs_bpa-ai-product-list .tgs_bpa-product-editor:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(35, 93, 167, 0.15);
    border-color: #235DA7;
}

.tgs_bpa-ai-product-list h4 {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-family: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tgs_bpa-ai-product-list p {
    font-size: 12px;
    color: #666;
    margin: 8px 0;
    line-height: 1.5;
    flex: 1;
}

.tgs_bpa-ai-product-list p:first-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tgs_bpa-ai-product-list p:last-of-type {
    color: #999;
    font-size: 11px;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: auto;
}

/* Empty state */
.tgs_bpa-ai-product-list > div[style*="grid-column"] {
    grid-column: 1 / -1;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(35, 93, 167, 0.04) 0%, rgba(27, 79, 144, 0.03) 100%);
    border-radius: 10px;
    border: 2px dashed rgba(35, 93, 167, 0.15);
}

.tgs_bpa-ai-product-list > div[style*="grid-column"] p {
    color: #999;
    font-size: 14px;
    margin: 10px 0;
}

/* Section titles */
.tgs_bpa-admin-panel h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px 0;
    font-family: inherit;
}

.tgs_bpa-admin-panel h4 {
    font-size: 16px;
    font-weight: 700;
    color: #235DA7;
    margin: 0 0 16px 0;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #235DA7;
}

.tgs_bpa-admin-panel > p {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

