.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

/* Секция фильтров */
.filters-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 500;
    font-size: 14px;
    color: #555;
}

/* Элементы управления */
.selection-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #e3f2fd;
    border-radius: 6px;
    font-size: 14px;
}

/* Кнопки */
.btn-primary, .btn-secondary, .btn-small {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #2196f3;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #1976d2;
}

.btn-primary:disabled {
    background-color: #90caf9;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-small {
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 12px;
}

/* Список заказов */
.orders-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

.order-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.order-item:hover {
    background-color: #f8f9fa;
}

.order-item:last-child {
    border-bottom: none;
}

/* Чекбоксы */
.order-checkbox {
    display: flex;
    align-items: flex-start;
    margin-right: 12px;
    margin-top: 2px;
}

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

/* Информация о заказе */
.order-info {
    flex: 1;
}

.order-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.order-details {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.order-sum {
    font-weight: 500;
    color: #2196f3;
}

.order-store {
    color: #666;
}

.order-status {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #f5f5f5;
}

.order-meta {
    font-size: 12px;
    color: #888;
}

.order-description {
    margin-top: 4px;
    font-style: italic;
}

/* Результаты */
.result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
}

.loading {
    color: #2196f3;
    padding: 20px;
    text-align: center;
}

.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.errors {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.errors ul {
    margin: 5px 0 0 0;
    padding-left: 20px;
}

.no-orders {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Чекбоксы кастомные */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Поля ввода */
input[type="text"], select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="text"]:focus, select:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.section {
    margin-bottom: 20px;
}

.section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}