#sperikon-cr-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Search Bar */
.scr-search-container {
    margin-bottom: 30px;
    text-align: center;
}

.scr-search-input {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #00a0a0; /* Teal like NEST */
    border-radius: 30px;
    outline: none;
    transition: border-color 0.3s;
}

.scr-search-input:focus {
    box-shadow: 0 0 5px rgba(0, 160, 160, 0.3);
}

/* Filters */
.scr-filters {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.scr-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scr-filter-label {
    font-weight: bold;
    color: #555;
    min-width: 60px;
}

.scr-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    min-width: 150px;
}

/* Table */
.scr-table-container {
    overflow-x: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.scr-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.scr-table th, .scr-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-size: 14px;
}

.scr-table th {
    background: #5b7da3; /* Muted blue/purple */
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
}

/* Sperikon Side (Left) */
.scr-col-sperikon {
    background-color: #f0f8ff; /* AliceBlue */
    border-right: 1px solid #e1e8ed;
}

/* Competitor Side (Right) */
.scr-col-competitor {
    background-color: #fff;
}

.scr-product-name {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.scr-sku {
    color: #666;
    font-size: 0.9em;
    display: block;
    margin-bottom: 5px;
}

.scr-spec {
    font-size: 0.85em;
    color: #777;
    line-height: 1.4;
}

.scr-info {
    font-size: 0.85em;
    color: #555;
    font-style: italic;
}

.scr-brand-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    background: #eee;
    color: #555;
    margin-bottom: 5px;
}

.scr-brand-tag.sperikon {
    background: #e6f7ff;
    color: #0073aa;
    border: 1px solid #b3d7ff;
}

/* Actions */
.scr-actions {
    text-align: right;
    margin-bottom: 15px;
}

.scr-btn-export {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2e8b57;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.scr-btn-export:hover {
    background-color: #246e45;
    color: #fff;
}

.scr-loading {
    text-align: center;
    padding: 40px;
    color: #777;
}

.scr-no-results {
    text-align: center;
    padding: 40px;
    color: #777;
    font-size: 1.1em;
}

/* Pagination */
.scr-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.scr-page-btn {
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.scr-page-btn:hover:not(:disabled) {
    background: #005177;
}

.scr-page-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.scr-page-info {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .scr-table thead {
        display: none;
    }
    .scr-table, .scr-table tbody, .scr-table tr, .scr-table td {
        display: block;
        width: 100%;
    }
    .scr-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }
    .scr-table td {
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    .scr-col-sperikon {
        background: #f0f8ff;
    }
}
