.price-watch-add-panel {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.price-watch-add-main {
    flex: 1 1 auto;
    min-width: 220px;
}

.price-watch-add-main label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #344054;
}

.price-watch-search-wrap {
    position: relative;
}

.price-watch-results {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 320px;
    overflow: auto;
    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.14);
}

.price-watch-result {
    width: 100%;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 180px;
    gap: 10px;
    padding: 10px 12px;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #eef2f6;
    background: transparent;
    color: #101828;
    cursor: pointer;
}

.price-watch-result:hover,
.price-watch-result:focus {
    background: #f8fafc;
    outline: none;
}

.price-watch-result:last-child {
    border-bottom: 0;
}

.price-watch-result-sku,
.price-watch-result-category {
    color: #667085;
    font-size: 13px;
}

.price-watch-result-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.price-watch-status {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.price-watch-status.success {
    color: #05603a;
    background: #ecfdf3;
    border-color: #abefc6;
}

.price-watch-status.error {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

.price-watch-status.loading {
    color: #175cd3;
    background: #eff8ff;
    border-color: #b2ddff;
}

.price-watch-row-busy {
    opacity: 0.66;
}

.price-watch-row-busy td {
    background: #f8fafc;
}

.price-watch-toolbar-actions .btn.is-loading,
.price-watch-modal .btn.is-loading,
.price-watch-add-panel .btn.is-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.price-watch-table-shell {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
}

.price-watch-table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e4e7ec;
}

.price-watch-table-toolbar h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.price-watch-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.price-watch-table-container {
    overflow-x: auto;
}

.price-watch-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
}

.price-watch-table th,
.price-watch-table td {
    padding: 10px;
    border-bottom: 1px solid #eef2f6;
    vertical-align: middle;
    text-align: left;
    overflow-wrap: anywhere;
}

.price-watch-table th {
    font-size: 12px;
    text-transform: uppercase;
    color: #667085;
    background: #f8fafc;
    letter-spacing: 0;
}

.price-watch-table td {
    color: #101828;
}

.price-watch-table th:last-child,
.price-watch-table td:last-child {
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}

.price-watch-table tr:last-child td {
    border-bottom: 0;
}

.price-watch-product-name {
    font-weight: 600;
}

.price-watch-muted {
    color: #667085;
    font-size: 13px;
    line-height: 1.35;
}

.price-watch-price {
    font-weight: 700;
}

.price-watch-provider-cell {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.price-watch-provider-stock,
.price-watch-provider-date,
.price-watch-provider-error {
    color: #667085;
    font-size: 12px;
    line-height: 1.25;
}

.price-watch-provider-stock {
    color: #344054;
}

.price-watch-provider-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

.price-watch-provider-state {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.price-watch-provider-state i {
    width: 14px;
    min-width: 14px;
    text-align: center;
}

.price-watch-provider-state.not_configured {
    color: #667085;
}

.price-watch-provider-state.success {
    color: #039855;
}

.price-watch-provider-state.stale {
    color: #b54708;
}

.price-watch-provider-state.error {
    color: #d92d20;
}

.price-watch-provider-state.auth_error {
    color: #dc6803;
}

.price-watch-provider-error {
    color: #b42318;
}

.price-watch-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.price-watch-pill.not_configured {
    color: #475467;
    background: #f2f4f7;
}

.price-watch-pill.success {
    color: #05603a;
    background: #d1fadf;
}

.price-watch-pill.error {
    color: #b42318;
    background: #fee4e2;
}

.price-watch-pill.auth_error {
    color: #b54708;
    background: #fef0c7;
}

.price-watch-status-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.price-watch-status-line:last-child {
    margin-bottom: 0;
}

.price-watch-provider-label {
    min-width: 18px;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.price-watch-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.price-watch-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
}

.price-watch-actions-heading {
    text-align: center;
}

.price-watch-col-sku {
    width: 7%;
}

.price-watch-col-product {
    width: 13%;
}

.price-watch-col-category {
    width: 6%;
}

.price-watch-col-cost,
.price-watch-col-list {
    width: 5%;
}

.price-watch-col-solarkit,
.price-watch-col-energostore,
.price-watch-col-energrosso,
.price-watch-col-tisztaenergiak,
.price-watch-col-keno,
.price-watch-col-solarity {
    width: 9%;
}

.price-watch-col-actions {
    width: 42px;
}

.price-watch-loading,
.price-watch-empty {
    padding: 32px 16px;
    text-align: center;
    color: #667085;
}

.price-watch-modal[hidden] {
    display: none;
}

.price-watch-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.price-watch-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.48);
}

.price-watch-modal-dialog {
    position: relative;
    width: min(560px, 100%);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.24);
}

.price-watch-modal-header,
.price-watch-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #e4e7ec;
}

.price-watch-modal-footer {
    justify-content: flex-end;
    border-top: 1px solid #e4e7ec;
    border-bottom: 0;
}

.price-watch-modal-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.price-watch-modal-subtitle {
    margin: 4px 0 0;
    color: #667085;
}

.price-watch-modal-body {
    padding: 16px;
}

.price-watch-editor-field {
    margin-bottom: 14px;
}

.price-watch-modal-body label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #344054;
}

.price-watch-otp-panel {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #f8fafc;
}

.price-watch-otp-panel h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.price-watch-otp-panel p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.35;
}

.price-watch-otp-controls {
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px;
}

.price-watch-cookie-export {
    min-height: 120px;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.price-watch-otp-status {
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
}

.price-watch-otp-status.success {
    color: #05603a;
    background: #ecfdf3;
    border-color: #abefc6;
}

.price-watch-otp-status.error {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

@media (max-width: 768px) {
    .price-watch-add-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .price-watch-result {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .price-watch-table-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .price-watch-table {
        min-width: 980px;
    }

    .price-watch-otp-controls {
        grid-template-columns: 1fr;
    }
}
