.amazon-product-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.amazon-product {
    display: flex;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.product-images {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    flex: 0 0 300px;
}

.product-image {
    flex-shrink: 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}

.product-image.primary {
    flex: 1;
    min-width: 200px;
}

.product-image.secondary {
    width: 80px;
    height: 80px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-brand {
    color: #FF9900;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #232f3e;
}

.product-features {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-right: 4px solid #FF9900;
}

.product-features h4 {
    color: #232F3E;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.product-features ul {
    margin: 0;
    padding-right: 20px;
    list-style: none;
}

.product-features li {
    margin: 8px 0;
    padding: 5px 0;
    position: relative;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.product-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    right: -15px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 8px;
}

.stars {
    color: #ffa41c;
    font-size: 16px;
    letter-spacing: 1px;
}

.review-count {
    color: #666;
    font-size: 14px;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #B12704;
    margin-bottom: 20px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 8px;
    border: 2px solid #FF9900;
    text-align: center;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.amazon-button {
    display: inline-block;
    background: linear-gradient(135deg, #FF9900, #E47911);
    border: none;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    cursor: pointer;
}

.amazon-button:hover {
    background: linear-gradient(135deg, #E47911, #FF9900);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.amazon-button.primary {
    background: linear-gradient(135deg, #232F3E, #37475A);
    box-shadow: 0 4px 15px rgba(35, 47, 62, 0.3);
}

.amazon-button.primary:hover {
    background: linear-gradient(135deg, #37475A, #232F3E);
    box-shadow: 0 6px 20px rgba(35, 47, 62, 0.4);
}

.copy-link, .share-product {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.copy-link:hover, .share-product:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.product-meta {
    margin-top: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.asin {
    font-family: monospace;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    color: #495057;
}

.affiliate-note {
    color: #FF9900;
    font-weight: bold;
    font-size: 11px;
}

.amazon-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.3);
}

@media (max-width: 768px) {
    .amazon-product {
        flex-direction: column;
        padding: 15px;
    }
    
    .product-images {
        margin-left: 0;
        margin-bottom: 15px;
        flex: none;
        justify-content: center;
    }
    
    .product-info {
        text-align: center;
    }
    
    .amazon-button {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

.amazon-product.loading {
    opacity: 0.7;
    pointer-events: none;
}

.amazon-product.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FF9900;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.amazon-product.error {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.amazon-product.error .product-info {
    color: #721c24;
}

.amazon-product-container.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.amazon-product-container.grid .amazon-product {
    flex-direction: column;
    margin-bottom: 0;
}

.amazon-product-container.grid .product-images {
    margin-left: 0;
    margin-bottom: 15px;
}

.amazon-product-container.grid .product-info {
    text-align: center;
}

.amazon-product-container.grid .amazon-button {
    width: 100%;
}

.amazon-info-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-right: 4px solid #FF9900;
}

.amazon-info-box h3 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 18px;
}

.amazon-info-box ul {
    margin: 0;
    padding-right: 20px;
}

.amazon-info-box li {
    margin: 8px 0;
    color: #555;
}

.amazon-test-connection {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.amazon-test-connection h3 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #FF9900;
    padding-bottom: 10px;
}

.amazon-test-results {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border-right: 4px solid #28a745;
}

.amazon-test-results h4 {
    color: #232F3E;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.test-step {
    margin: 15px 0;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.test-step strong {
    color: #232F3E;
    font-weight: 600;
}

.test-success {
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.test-error {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
}

.test-info {
    color: #17a2b8;
    font-size: 14px;
}

.test-troubleshoot {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.test-troubleshoot li {
    margin: 8px 0;
    color: #856404;
}

.test-solution {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    line-height: 1.6;
}

.test-solution strong {
    color: #0c5460;
    font-weight: 600;
}

.test-solution a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.test-solution a:hover {
    text-decoration: underline;
}

.associate-tag-guide {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.associate-tag-guide h4 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.associate-tag-guide table {
    width: 100%;
    border-collapse: collapse;
}

.associate-tag-guide th {
    background: #f8f9fa;
    padding: 10px;
    text-align: right;
    border: 1px solid #dee2e6;
    font-weight: 600;
}

.associate-tag-guide td {
    padding: 10px;
    text-align: right;
    border: 1px solid #dee2e6;
}

.associate-tag-guide p {
    margin-top: 15px;
    padding: 10px;
    background: #e7f3ff;
    border-radius: 6px;
    color: #0066cc;
    font-weight: 500;
}

.amazon-quick-test {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.amazon-quick-test h4 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 16px;
}

.amazon-search-notice {
    margin: 20px 0;
}

.amazon-search-form {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.amazon-search-examples {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.amazon-search-examples h3 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.search-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.search-example {
    background: #FF9900;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(255, 153, 0, 0.3);
}

.search-example:hover {
    background: #E47911;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 153, 0, 0.4);
}

.amazon-search-results {
    margin: 20px 0;
}

.amazon-product-admin {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
}

.product-preview {
    flex: 1;
    text-align: center;
}

.product-codes {
    flex: 1;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-right: 4px solid #FF9900;
}

.product-codes h5 {
    color: #232F3E;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.product-codes code {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: #495057;
    display: block;
    margin: 5px 0;
    word-break: break-all;
}

.amazon-codes-section {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.amazon-codes-section h2 {
    color: #232F3E;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 2px solid #FF9900;
    padding-bottom: 10px;
}

.code-example {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-right: 4px solid #28a745;
}

.code-example h3 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.code-example code {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    display: block;
    overflow-x: auto;
    line-height: 1.5;
}

.code-example pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 0;
}

.code-example pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.practical-examples h3 {
    color: #232F3E;
    margin: 25px 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.practical-examples code {
    background: #f8f9fa;
    color: #495057;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #dee2e6;
    display: block;
    margin: 10px 0;
}

/* Advanced Search Page Styles */
.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.search-section {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-section h3 {
    color: #232F3E;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #FF9900;
    padding-bottom: 8px;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    flex: 1;
}

.price-range span {
    color: #666;
    font-weight: 500;
}

.search-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.search-actions .button {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.search-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.search-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #FF9900;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.applied-filters {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    color: #0066cc;
    font-size: 14px;
}

.results-summary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    font-size: 16px;
    color: #495057;
}

.load-more-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.load-more-info {
    display: block;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* Enhanced Search Examples */
.search-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.search-example {
    background: linear-gradient(135deg, #FF9900, #E47911);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.3);
}

.search-example:hover {
    background: linear-gradient(135deg, #E47911, #FF9900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.4);
}

/* Form Enhancements */
.form-table input[type="number"] {
    width: 100px;
}

.form-table select {
    min-width: 200px;
}

.form-table label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.form-table input[type="checkbox"] {
    margin: 0;
}

/* Error States */
.form-table input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

/* Loading States */
.loading-overlay {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.loading-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FF9900;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-tools {
        grid-template-columns: 1fr;
    }
    
    .search-stats {
        flex-direction: column;
    }
    
    .search-actions {
        flex-direction: column;
    }
    
    .search-actions .button {
        width: 100%;
    }
    
    .price-range {
        flex-direction: column;
        align-items: stretch;
    }
    
    .amazon-product-admin {
        flex-direction: column;
    }
    
    .product-codes {
        margin-top: 15px;
    }
    
    .search-examples {
        grid-template-columns: repeat(2, 1fr);
    }
} 

/* Table View Styles */
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.results-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle .button {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle .button.active {
    background: #FF9900;
    color: white;
    border-color: #FF9900;
}

.table-view {
    margin: 20px 0;
}

.product-thumbnail, img.product-thumbnail {
    width: 28px !important;
    height: 28px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 28px !important;
    max-height: 28px !important;
    object-fit: cover !important;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: inline-block;
    background: #fff;
    margin: 0 auto;
    padding: 0;
}

.product-image-cell {
    width: 36px;
    text-align: center;
    padding: 4px 2px;
}

.product-info-cell {
    min-width: 300px;
}

.product-info-cell .product-brand {
    color: #FF9900;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-info-cell .product-title {
    font-weight: 600;
    color: #232F3E;
    margin-bottom: 5px;
    line-height: 1.4;
}

.product-info-cell .product-asin {
    font-size: 12px;
    color: #666;
    font-family: monospace;
}

.product-price-cell {
    text-align: center;
    font-weight: bold;
    color: #B12704;
}

.product-rating-cell {
    text-align: center;
}

.product-rating-cell .star-rating {
    color: #FFA41C;
    font-weight: bold;
}

.product-rating-cell .reviews-count {
    font-size: 12px;
    color: #666;
}

.product-asin-cell {
    text-align: center;
}

.product-asin-cell code {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #495057;
}

.product-actions-cell {
    text-align: center;
}

.row-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.row-actions a,
.row-actions button {
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.row-actions a:hover,
.row-actions button:hover {
    background: #FF9900;
    color: white;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.saved-lists-modal,
.list-products-modal {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.saved-lists-modal h3,
.list-products-modal h3 {
    color: #232F3E;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF9900;
    padding-bottom: 10px;
}

.lists-container {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.saved-list-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
}

.saved-list-item h4 {
    color: #232F3E;
    margin-bottom: 5px;
    font-size: 16px;
}

.saved-list-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.list-actions {
    display: flex;
    gap: 10px;
}

.list-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.list-actions button:first-child {
    background: #28a745;
    color: white;
}

.list-actions button:nth-child(2) {
    background: #17a2b8;
    color: white;
}

.list-actions button:last-child {
    background: #dc3545;
    color: white;
}

.list-actions button:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Notification Styles */
.amazon-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.amazon-notification.success {
    background: #28a745;
}

.amazon-notification.error {
    background: #dc3545;
}

.amazon-notification.info {
    background: #17a2b8;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Table */
@media (max-width: 768px) {
    .search-results-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .results-actions {
        justify-content: center;
    }
    
    .table-view {
        overflow-x: auto;
    }
    
    .wp-list-table {
        min-width: 800px;
    }
    
    .product-info-cell {
        min-width: 200px;
    }
    
    .row-actions {
        flex-direction: row;
        gap: 3px;
    }
    
    .row-actions a,
    .row-actions button {
        padding: 3px 6px;
        font-size: 11px;
    }
} 

/* Professional Search Page Design */
.amazon-search-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.amazon-search-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.search-header {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.search-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    background: linear-gradient(45deg, #FF9900, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.search-content {
    padding: 30px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.search-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-section h3 {
    color: #232F3E;
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF9900;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-table {
    margin: 0;
}

.form-table th {
    padding: 12px 0;
    font-weight: 600;
    color: #495057;
    width: 120px;
}

.form-table td {
    padding: 12px 0;
}

.form-table input[type="text"],
.form-table input[type="number"],
.form-table select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-table input[type="text"]:focus,
.form-table input[type="number"]:focus,
.form-table select:focus {
    border-color: #FF9900;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
    outline: none;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range input {
    flex: 1;
    min-width: 0;
}

.price-range span {
    color: #6c757d;
    font-weight: 500;
}

.search-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.search-actions .button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-actions .button-primary {
    background: linear-gradient(135deg, #FF9900, #FF8C00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.search-actions .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
}

.search-actions .button:not(.button-primary) {
    background: white;
    color: #495057;
    border: 2px solid #e9ecef;
}

.search-actions .button:not(.button-primary):hover {
    background: #f8f9fa;
    border-color: #FF9900;
    color: #FF9900;
}

.search-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.search-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.search-example {
    padding: 10px 15px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.search-example:hover {
    border-color: #FF9900;
    background: #FFF8E1;
    transform: translateY(-1px);
}

.search-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF9900;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.list-management {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.list-management .button {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background: white;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
}

.list-management .button:hover {
    background: #FF9900;
    color: white;
    border-color: #FF9900;
}

.list-info {
    margin-top: 15px;
    padding: 15px;
    background: #E3F2FD;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.list-info p {
    margin: 0;
    color: #1976D2;
    font-size: 14px;
}

/* Professional Table Design */
.search-results-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 30px 0 20px 0;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.results-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.results-actions .button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-actions .button-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.results-actions .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.results-actions .button:not(.button-primary) {
    background: white;
    color: #495057;
    border: 2px solid #e9ecef;
}

.results-actions .button:not(.button-primary):hover {
    background: #f8f9fa;
    border-color: #28a745;
    color: #28a745;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-toggle .button {
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    background: white;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.view-toggle .button.active {
    background: linear-gradient(135deg, #FF9900, #FF8C00);
    color: white;
    border-color: #FF9900;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.table-view {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.wp-list-table {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.wp-list-table thead th {
    background: linear-gradient(135deg, #232F3E 0%, #37475A 100%);
    color: white;
    font-weight: 600;
    padding: 15px 10px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.wp-list-table tbody tr {
    transition: all 0.3s ease;
}

.wp-list-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.wp-list-table tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.product-info-cell .product-brand {
    color: #FF9900;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.product-info-cell .product-title {
    font-weight: 600;
    color: #232F3E;
    margin-bottom: 4px;
    line-height: 1.3;
    font-size: 14px;
}

.product-info-cell .product-asin {
    font-size: 11px;
    color: #6c757d;
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.product-price-cell {
    text-align: center;
    font-weight: 700;
    color: #B12704;
    font-size: 16px;
}

.product-rating-cell {
    text-align: center;
}

.product-rating-cell .star-rating {
    color: #FFA41C;
    font-weight: 700;
    font-size: 14px;
}

.product-rating-cell .reviews-count {
    font-size: 11px;
    color: #6c757d;
    display: block;
    margin-top: 2px;
}

.product-asin-cell code {
    background: #f8f9fa;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 11px;
    color: #495057;
    font-family: 'Courier New', monospace;
    border: 1px solid #e9ecef;
}

.row-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.row-actions a,
.row-actions button {
    padding: 6px 10px;
    font-size: 11px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.row-actions a:hover,
.row-actions button:hover {
    background: #FF9900;
    color: white;
    transform: translateY(-1px);
}

/* Professional Grid View */
.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.amazon-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.amazon-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.amazon-product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-brand {
    color: #FF9900;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-title {
    font-weight: 600;
    color: #232F3E;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #B12704;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.star-rating {
    color: #FFA41C;
    font-weight: 700;
}

.reviews-count {
    color: #6c757d;
    font-size: 12px;
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.product-actions .amazon-link {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #FF9900, #FF8C00);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-actions .amazon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

.product-actions button {
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
}

.product-actions button:hover {
    background: #FF9900;
    color: white;
    border-color: #FF9900;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #6c757d;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .amazon-search-page {
        padding: 10px;
    }
    
    .search-header {
        padding: 30px 20px;
    }
    
    .search-header h1 {
        font-size: 2rem;
    }
    
    .search-content {
        padding: 20px;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-actions .button {
        width: 100%;
        max-width: 300px;
    }
    
    .search-tools {
        grid-template-columns: 1fr;
    }
    
    .search-results-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .results-actions {
        justify-content: center;
    }
    
    .table-view {
        overflow-x: auto;
    }
    
    .wp-list-table {
        min-width: 800px;
    }
    
    .grid-view {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
} 