.batch-prep-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.batch-prep-title {
    color: #ebebeb;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
}

.batch-controls-card {
    background: #4e5d6c;
    border: 1px solid #5a6c7d;
    margin-bottom: 1rem;
}

.batch-select-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.production-batch-prep-page .batch-line-select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 2.5rem 0.5rem 0.75rem;
    font-size: 0.95rem;
    color: #ebebeb;
    background-color: #4e5d6c;
    border: 1px solid #5a6c7d;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ebebeb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.production-batch-prep-page .batch-line-select:focus {
    outline: none;
    border-color: #df691a;
    box-shadow: 0 0 0 0.2rem rgba(223, 105, 26, 0.25);
}

.production-batch-prep-page .batch-line-select option {
    background: #4e5d6c;
    color: #ebebeb;
}

.batch-order-item {
    display: block;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.batch-order-item .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.batch-order-card {
    border: 2px solid #5a6c7d;
    transition: border-color 0.15s ease;
}

.batch-order-item:has(.batch-order-checkbox:checked) .batch-order-card {
    border-color: #df691a;
}

.batch-order-item.hidden-by-line {
    display: none;
}

.line-section.hidden-by-line {
    display: none;
}

.line-section .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.batch-start-wrap {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2rem;
}

.batch-order-context-card .context-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #5a6c7d;
    font-size: 0.92rem;
}

.batch-order-context-card .context-row:last-child {
    border-bottom: none;
}

.batch-order-context-card .context-label {
    color: #bdc3c7;
    font-weight: 600;
}

.batch-material-queue li {
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.35rem;
    background: #4e5d6c;
    border: 1px solid #5a6c7d;
    font-size: 0.9rem;
}

.batch-material-queue li.current {
    border-color: #df691a;
    box-shadow: inset 3px 0 0 rgba(223, 105, 26, 0.55);
}

.batch-material-queue li.done {
    opacity: 0.65;
}

.batch-material-choose li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.35rem;
    background: #4e5d6c;
    border: 1px solid #5a6c7d;
    font-size: 0.9rem;
}

.batch-material-choose li.selectable {
    cursor: pointer;
    border-color: #6a7d8f;
}

.batch-material-choose li.selectable:hover {
    border-color: #df691a;
    background: #556575;
}

.batch-material-choose li.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.batch-material-choose .material-name {
    font-weight: 600;
    color: #ebebeb;
}

.batch-material-choose .material-meta {
    font-size: 0.82rem;
    color: #bdc3c7;
}

.batch-step-subtitle {
    text-align: center;
    color: #bdc3c7;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.production-batch-execution-page .accept-packages-btn.btn-outline-primary {
    color: #f5f5f5;
    border: 1px solid #df691a;
    background-color: rgba(223, 105, 26, 0.22);
}

.weight-stub-banner {
    text-align: center;
    margin-top: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: rgba(240, 173, 78, 0.15);
    border: 1px dashed #f0ad4e;
    color: #f0ad4e;
    font-size: 0.85rem;
}
