* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 24px;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 28px;
}

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.alert-success {
    background: #eaf8ee;
    border: 1px solid #9ed3aa;
    color: #1d5d2a;
}

.alert-error {
    background: #fdecec;
    border: 1px solid #e0a4a4;
    color: #7a1f1f;
}

.toolbar {
    margin-bottom: 16px;
}

.toolbar.bottom {
    margin-top: 16px;
}

.button {
    display: inline-block;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background: #1f6feb;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.button:hover {
    opacity: 0.92;
}

.button.secondary {
    background: #4b5563;
}

.table-wrapper {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #d9dee5;
    border-radius: 8px;
}

.products-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.products-table th,
.products-table td {
    border: 1px solid #e3e8ef;
    padding: 10px;
    vertical-align: top;
    text-align: left;
}

.products-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef3f9;
    white-space: nowrap;
}

.products-table tbody tr:nth-child(even) {
    background: #fafbfd;
}

.sku-cell {
    min-width: 120px;
    font-weight: 700;
}

.text-input,
.select-input {
    min-width: 60px;
    max-width: 260px;
    padding: 8px 10px;
    border: 1px solid #c8d0db;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.muted {
    color: #6b7280;
    font-size: 13px;
}

.download-box {
    margin-top: 12px;
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    h1 {
        font-size: 22px;
    }

    .text-input,
    .select-input {
        min-width: 140px;
    }
}