/* ========================================
   BARISTA - RESTOCK REQUEST INDEX
======================================== */

.restock-page-barista {
    width: 100%;
}

/* ========================================
   PAGE HEADER
======================================== */

.restock-page-barista .page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.restock-page-barista .page-header-content {
    min-width: 0;
}

.restock-page-barista .page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    background: transparent;
    color: #96a0af;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.restock-page-barista .page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #737e8e;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.restock-page-barista .page-breadcrumb a:hover {
    color: #596474;
}

.restock-page-barista .page-breadcrumb a i {
    color: #8b95a3;
    font-size: 13px;
    line-height: 1;
}

.restock-page-barista .page-breadcrumb > i {
    color: #b9c0ca;
    font-size: 9px;
    line-height: 1;
}

.restock-page-barista .page-breadcrumb > span {
    color: #96a0af;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.restock-page-barista .page-title {
    margin: 0 0 5px;
    color: #242424;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.restock-page-barista .page-subtitle {
    margin: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.5;
}

.restock-page-barista .page-header-actions {
    flex-shrink: 0;
}

.restock-page-barista .page-header-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ========================================
   ALERT
======================================== */

.restock-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.restock-alert i {
    flex-shrink: 0;
    font-size: 15px;
}

.restock-alert-success {
    color: #26734d;
    background: #f0faf5;
    border-color: #d5f0e1;
}

.restock-alert-danger {
    color: #b42318;
    background: #fff5f4;
    border-color: #f6d8d5;
}

/* ========================================
   CARD
======================================== */

.restock-card {
    overflow: visible;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.restock-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #edf0f2;
}

.restock-card-header h2 {
    margin: 0 0 4px;
    color: #292929;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
}

.restock-card-header p {
    margin: 0;
    color: #89919c;
    font-size: 12px;
    line-height: 1.5;
}

.restock-total {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
    color: #8a929d;
    font-size: 12px;
}

.restock-total strong {
    color: #30343a;
    font-size: 14px;
    font-weight: 700;
}

/* ========================================
   TABLE
======================================== */

.restock-table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.restock-table {
    width: 100%;
    min-width: 850px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.restock-table thead th {
    padding: 12px 16px;
    color: #7d8793;
    background: #fafbfc;
    border-bottom: 1px solid #edf0f2;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0.01em;
    text-align: left;
    white-space: nowrap;
}

.restock-table thead th:first-child {
    padding-left: 22px;
}

.restock-table thead th:last-child {
    padding-right: 22px;
}

.restock-table tbody td {
    padding: 14px 16px;
    color: #42474d;
    background: #ffffff;
    border-bottom: 1px solid #f0f1f3;
    font-size: 13px;
    vertical-align: middle;
}

.restock-table tbody tr:last-child td {
    border-bottom: 0;
}

.restock-table tbody tr:hover td {
    background: #fcfcfd;
}

.restock-table .column-number {
    width: 60px;
    padding-left: 22px;
}

.restock-table .column-action {
    width: 60px;
    padding-right: 22px;
    text-align: right;
}

/* ========================================
   ROW NUMBER
======================================== */

.row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    color: #78818d;
    background: #f5f6f7;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
}

/* ========================================
   ITEM
======================================== */

.restock-item {
    display: flex;
    gap: 10px;
}

/* ========================================
   CATEGORY
======================================== */

.category-text {
    color: #68717d;
    font-size: 12px;
    font-weight: 500;
}

/* ========================================
   QUANTITY
======================================== */

.quantity-info {
    display: flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
}

.quantity-info strong {
    color: #34383d;
    font-size: 13px;
    font-weight: 650;
}

.quantity-info span {
    color: #929aa5;
    font-size: 11px;
}

/* ========================================
   STATUS
======================================== */

.restock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 27px;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.restock-status i {
    font-size: 10px;
}

.status-pending {
    color: #8a6500;
    background: #fff8df;
}

.status-approved {
    color: #27704b;
    background: #eaf8f0;
}

.status-rejected {
    color: #b33a35;
    background: #fff0ef;
}

.status-default {
    color: #68717d;
    background: #f1f3f5;
}

/* ========================================
   DATE
======================================== */

.date-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}

.date-info strong {
    color: #555d67;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
}

.date-info span {
    color: #9aa1aa;
    font-size: 11px;
    line-height: 1.4;
}

/* ========================================
   ACTION BUTTON
======================================== */

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #707985;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.action-button:hover,
.action-button:focus-visible {
    color: #343a40;
    background: #f3f4f6;
    border-color: #e7e9ec;
    outline: none;
}

.action-button i {
    font-size: 17px;
}

/* ========================================
   GLOBAL ACTION MENU
======================================== */

.global-action-menu {
    position: fixed;
    z-index: 1100;
    display: block;
    min-width: 170px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e7e9ed;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition:
        opacity 0.15s ease,
        visibility 0.15s ease,
        transform 0.15s ease;
}

.global-action-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.global-action-menu .action-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 9px;
    padding: 9px 10px;
    color: #4e5660;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.global-action-menu .action-menu-item:hover {
    color: #2f3439;
    background: #f5f6f8;
}

.global-action-menu .action-menu-item i {
    width: 16px;
    color: #747d88;
    font-size: 14px;
    text-align: center;
}

.global-action-menu .action-menu-danger {
    color: #c03935;
}

.global-action-menu .action-menu-danger:hover {
    color: #b42318;
    background: #fff1f0;
}

.global-action-menu .action-menu-danger i {
    color: #c03935;
}

/* ========================================
   EMPTY STATE
======================================== */

.restock-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px 20px;
    text-align: center;
}

.restock-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    color: #8b949e;
    background: #f4f5f6;
    border-radius: 14px;
}

.restock-empty-icon i {
    font-size: 24px;
}

.restock-empty h3 {
    margin: 0 0 6px;
    color: #3d4248;
    font-size: 15px;
    font-weight: 650;
}

.restock-empty p {
    margin: 0 0 18px;
    color: #9299a2;
    font-size: 12px;
}

.restock-empty .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   PAGINATION
======================================== */

.restock-pagination {
    display: flex;
    justify-content: flex-end;
    padding: 16px 22px;
    border-top: 1px solid #edf0f2;
}

.restock-pagination nav {
    margin: 0;
}

.restock-pagination .pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.restock-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    color: #69727d;
    background: #ffffff;
    border: 1px solid #e3e6e9;
    border-radius: 7px;
    font-size: 12px;
    box-shadow: none;
}

.restock-pagination .page-item .page-link:hover {
    color: #343a40;
    background: #f6f7f8;
    border-color: #d9dde1;
}

.restock-pagination .page-item.active .page-link {
    color: #ffffff;
    background: #343a40;
    border-color: #343a40;
}

.restock-pagination .page-item.disabled .page-link {
    color: #b4bac1;
    background: #fafafa;
    border-color: #e9ebed;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .restock-page-barista .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .restock-page-barista .page-header-actions {
        width: 100%;
    }

    .restock-page-barista .page-header-actions .btn {
        width: 100%;
    }

    .restock-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .restock-total {
        align-self: flex-start;
    }

    .restock-table {
        min-width: 780px;
    }

    .restock-pagination {
        justify-content: center;
        padding: 14px 16px;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .restock-page-barista .page-title {
        font-size: 21px;
    }

    .restock-page-barista .page-subtitle {
        font-size: 12px;
    }

    .restock-card-header {
        padding: 17px 16px;
    }

    .restock-table thead th {
        padding: 11px 12px;
    }

    .restock-table tbody td {
        padding: 12px;
    }

    .restock-table .column-number {
        padding-left: 16px;
    }

    .restock-table .column-action {
        padding-right: 16px;
    }

    .restock-pagination {
        padding: 14px 12px;
    }
}

/* ========================================
   CREATE - FORM PENGAJUAN RESTOCK
======================================== */

.restock-form-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* ========================================
   FORM HEADER
======================================== */

.restock-form-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 22px;
    border-bottom: 1px solid #edf0f2;
}

.restock-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: #697586;
    background: #f2f4f6;
    border-radius: 10px;
}

.restock-form-icon i {
    font-size: 18px;
}

.restock-form-header h2 {
    margin: 0 0 4px;
    color: #292929;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.4;
}

.restock-form-header p {
    margin: 0;
    color: #89919c;
    font-size: 12px;
    line-height: 1.5;
}

/* ========================================
   VALIDATION ALERT
======================================== */

.restock-validation-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    color: #a12b27;
    background: #fff5f4;
    border: 1px solid #f3d8d5;
    border-radius: 8px;
    font-size: 12px;
}

.restock-validation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a12b27;
}

.restock-validation-header i {
    font-size: 15px;
}

.restock-validation-alert ul {
    margin: 8px 0 0;
    padding-left: 23px;
}

.restock-validation-alert li {
    margin-bottom: 3px;
    color: #9b4a46;
    line-height: 1.5;
}

.restock-validation-alert li:last-child {
    margin-bottom: 0;
}

/* ========================================
   FORM BODY
======================================== */

.restock-form-body {
    padding: 22px;
}

.restock-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.restock-form-group {
    min-width: 0;
}

.restock-form-group-full {
    grid-column: 1 / -1;
}

/* ========================================
   FORM LABEL
======================================== */

.restock-form-group label {
    display: block;
    margin-bottom: 7px;
    color: #454b52;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.restock-form-group label .required {
    color: #dc3545;
}

/* ========================================
   FORM CONTROL
======================================== */

.restock-form-group select,
.restock-form-group input,
.restock-form-group textarea {
    display: block;
    width: 100%;
    color: #3f454b;
    background: #ffffff;
    border: 1px solid #dfe3e7;
    border-radius: 8px;
    outline: none;
    font-size: 13px;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.restock-form-group select,
.restock-form-group input {
    height: 40px;
    padding: 0 12px;
}

.restock-form-group textarea {
    min-height: 105px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.5;
}

.restock-form-group select:focus,
.restock-form-group input:focus,
.restock-form-group textarea:focus {
    border-color: #adb5bd;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.08);
}

.restock-form-group select::placeholder,
.restock-form-group input::placeholder,
.restock-form-group textarea::placeholder {
    color: #adb3ba;
}

/* ========================================
   INPUT GROUP
======================================== */

.restock-input-group {
    display: flex;
    width: 100%;
}

.restock-input-group input {
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.restock-input-group input:focus {
    position: relative;
    z-index: 1;
}

.restock-input-group span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 0 12px;
    color: #737c87;
    background: #f7f8f9;
    border: 1px solid #dfe3e7;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    white-space: nowrap;
}

/* ========================================
   FIELD ERROR & HELP
======================================== */

.restock-field-help {
    margin-top: 6px;
    color: #9aa1aa;
    font-size: 11px;
    line-height: 1.5;
}

.restock-field-error {
    margin-top: 6px;
    color: #c03935;
    font-size: 11px;
    line-height: 1.5;
}

.restock-form-group select.is-invalid,
.restock-form-group input.is-invalid,
.restock-form-group textarea.is-invalid {
    border-color: #dc3545;
}

.restock-form-group select.is-invalid:focus,
.restock-form-group input.is-invalid:focus,
.restock-form-group textarea.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}

/* ========================================
   INFORMATION BOX
======================================== */

.restock-form-info {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 22px;
    padding: 13px 14px;
    background: #f7f9fa;
    border: 1px solid #e8ecef;
    border-radius: 9px;
}

.restock-form-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #75808b;
}

.restock-form-info-icon i {
    font-size: 15px;
}

.restock-form-info strong {
    display: block;
    margin-bottom: 3px;
    color: #4c545c;
    font-size: 12px;
    font-weight: 650;
}

.restock-form-info p {
    margin: 0;
    color: #858e98;
    font-size: 11px;
    line-height: 1.55;
}

/* ========================================
   FORM ACTIONS
======================================== */

.restock-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 16px 22px;
    background: #fafbfc;
    border-top: 1px solid #edf0f2;
}

.restock-form-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.restock-form-actions .btn-light {
    color: #68717c;
    background: #ffffff;
    border: 1px solid #dfe3e7;
}

.restock-form-actions .btn-light:hover {
    color: #3f464d;
    background: #f5f6f7;
    border-color: #d5d9dd;
}

/* ========================================
   CREATE RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .restock-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .restock-form-group-full {
        grid-column: auto;
    }

    .restock-form-header {
        padding: 18px 16px;
    }

    .restock-form-body {
        padding: 18px 16px;
    }

    .restock-form-actions {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .restock-form-header {
        align-items: flex-start;
    }

    .restock-form-icon {
        width: 38px;
        height: 38px;
    }

    .restock-form-header h2 {
        font-size: 15px;
    }

    .restock-form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .restock-form-actions .btn {
        width: 100%;
    }

    .restock-form-info {
        padding: 12px;
    }
}

/* ========================================
   SHOW - DETAIL PENGAJUAN RESTOCK
======================================== */

.restock-show-status {
    display: flex;
    justify-content: flex-end;
    margin: -8px 0 18px;
}

.restock-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.restock-status-badge i {
    font-size: 11px;
}

.restock-status-badge.status-pending {
    color: #946c00;
    background: #fff7dc;
    border: 1px solid #f2e2a9;
}

.restock-status-badge.status-approved {
    color: #287449;
    background: #edf9f1;
    border: 1px solid #cdebd8;
}

.restock-status-badge.status-rejected {
    color: #a13a35;
    background: #fff1f0;
    border: 1px solid #f0d0cd;
}

.restock-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.restock-detail-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.restock-detail-card-full {
    margin-top: 18px;
}

.restock-detail-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f2;
}

.restock-detail-card-header h2 {
    margin: 0 0 3px;
    color: #292929;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
}

.restock-detail-card-header p {
    margin: 0;
    color: #9299a2;
    font-size: 11px;
    line-height: 1.5;
}

.restock-detail-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 11px;
    color: #68717c;
    background: #ffffff;
    border: 1px solid #dfe3e7;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.restock-detail-edit:hover {
    color: #3f464d;
    background: #f6f7f8;
    border-color: #d5d9dd;
}

.restock-detail-edit i {
    font-size: 11px;
}

.restock-detail-list {
    padding: 4px 20px;
}

.restock-detail-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid #f0f2f4;
}

.restock-detail-row:last-child {
    border-bottom: 0;
}

.restock-detail-row > span {
    color: #8b939d;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.restock-detail-row > strong {
    min-width: 0;
    color: #42484e;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.restock-detail-row-note > strong {
    font-weight: 500;
    white-space: pre-line;
}

.restock-approved-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 20px 20px;
    padding: 13px 14px;
    color: #376d4b;
    background: #f1faf4;
    border: 1px solid #d8edde;
    border-radius: 8px;
}

.restock-approved-info > i {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 14px;
}

.restock-approved-info strong {
    display: block;
    margin-bottom: 3px;
    color: #356c4a;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.5;
}

.restock-approved-info p {
    margin: 0;
    color: #62806d;
    font-size: 11px;
    line-height: 1.55;
}

.restock-rejection-box {
    margin: 0 20px 20px;
    padding: 13px 14px;
    background: #fff6f5;
    border: 1px solid #f0d9d6;
    border-radius: 8px;
}

.restock-rejection-box > span {
    display: block;
    margin-bottom: 5px;
    color: #a13a35;
    font-size: 11px;
    font-weight: 650;
}

.restock-rejection-box p {
    margin: 0;
    color: #80514e;
    font-size: 11px;
    line-height: 1.55;
    white-space: pre-line;
}

.restock-detail-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 18px;
}

.restock-detail-actions form {
    margin: 0;
}

.restock-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.restock-detail-actions .btn i {
    font-size: 13px;
}

.restock-detail-actions .btn-primary {
    color: #ffffff;
}

.restock-detail-actions .btn-danger {
    color: #ffffff;
}

@media (max-width: 768px) {
    .restock-show-status {
        justify-content: flex-start;
        margin: -5px 0 16px;
    }

    .restock-detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .restock-detail-card-full {
        margin-top: 16px;
    }

    .restock-detail-card-header {
        padding: 17px 16px;
    }

    .restock-detail-list {
        padding: 4px 16px;
    }

    .restock-detail-row {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 12px;
    }

    .restock-approved-info,
    .restock-rejection-box {
        margin-right: 16px;
        margin-left: 16px;
    }
}

@media (max-width: 480px) {
    .restock-detail-card-header {
        align-items: flex-start;
    }

    .restock-detail-edit span {
        display: none;
    }

    .restock-detail-edit {
        width: 32px;
        padding: 6px;
    }

    .restock-detail-row {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 11px 0;
    }

    .restock-detail-row > span {
        font-size: 10px;
    }

    .restock-detail-row > strong {
        font-size: 12px;
    }

    .restock-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .restock-detail-actions form,
    .restock-detail-actions .btn {
        width: 100%;
    }
}
