.picking-page {
    padding-bottom: 110px;
}

.picking-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.picking-toolbar-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-pick-all,
.btn-clear-picks {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary-dark);
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 14px;
    min-height: 44px;
    cursor: pointer;
}

.btn-pick-all:disabled,
.btn-clear-picks:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-pick-all {
    background: rgba(0, 26, 142, 0.08);
    border-color: rgba(0, 26, 142, 0.25);
}

.pick-status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    background: rgba(0, 26, 142, 0.06);
    border: 1px solid rgba(0, 26, 142, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 700;
    color: var(--primary-dark);
}

.pick-status-hint {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.pick-cards {
    display: grid;
    gap: 12px;
}

.pick-card {
    border: 2px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.pick-card.is-selected {
    border-color: var(--primary);
    background: rgba(0, 26, 142, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 26, 142, 0.08);
}

.pick-card.is-partial {
    border-color: #c9851a;
    background: rgba(201, 133, 26, 0.06);
}

.pick-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pick-card__title {
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.35;
}

.pick-card__badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8ecf5;
    color: var(--text-muted);
}

.pick-card.is-selected .pick-card__badge {
    background: rgba(0, 26, 142, 0.12);
    color: var(--primary-dark);
}

.pick-card.is-partial .pick-card__badge {
    background: rgba(201, 133, 26, 0.18);
    color: #8a5a0b;
}

.pick-card__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.pick-card__meta div {
    background: rgba(0, 26, 142, 0.04);
    border-radius: 10px;
    padding: 8px 10px;
}

.pick-card__meta span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.pick-card__meta strong {
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.pick-card__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
}

.qty-stepper button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: rgba(0, 26, 142, 0.08);
    color: var(--primary-dark);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.qty-stepper button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-stepper .pick-qty {
    width: 72px;
    height: 44px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    border: 0;
    background: transparent;
}

.btn-full-qty {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 26, 142, 0.25);
    background: rgba(0, 26, 142, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 0 14px;
    cursor: pointer;
}

.partial-reason-wrap {
    width: 100%;
    margin-top: 4px;
}

.partial-reason-wrap[hidden] {
    display: none !important;
}

.partial-reason-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.reason-chip {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}

.reason-chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.partial-reason-wrap .select2-container {
    width: 100% !important;
}

.picking-sticky-actions {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 17, 102, 0.12);
    backdrop-filter: blur(8px);
}

.picking-sticky-actions .btn-preview,
.picking-sticky-actions .btn-submit {
    min-height: 48px;
    min-width: 120px;
}

.picking-sticky-actions .btn-submit {
    flex: 1;
    max-width: 280px;
}

@media (max-width: 768px) {
    .pick-card__meta {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .picking-sticky-actions {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        margin: 0;
    }

    .picking-sticky-actions .btn-submit {
        max-width: none;
    }
}
