@import '_content/Blazor.SignaturePad/Blazor.SignaturePad.g22u5lm4z9.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-y2ksdb05lf] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-y2ksdb05lf] {
    flex: 1;
}

.sidebar[b-y2ksdb05lf] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-y2ksdb05lf] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-y2ksdb05lf]  a, .top-row[b-y2ksdb05lf]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-y2ksdb05lf]  a:hover, .top-row[b-y2ksdb05lf]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-y2ksdb05lf]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-y2ksdb05lf] {
        justify-content: space-between;
    }

    .top-row[b-y2ksdb05lf]  a, .top-row[b-y2ksdb05lf]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-y2ksdb05lf] {
        flex-direction: row;
    }

    .sidebar[b-y2ksdb05lf] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-y2ksdb05lf] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-y2ksdb05lf]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-y2ksdb05lf], article[b-y2ksdb05lf] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-y2ksdb05lf] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-y2ksdb05lf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Courier/Courier.razor.rz.scp.css */
.courier-container[b-8hyj8u00ca] {
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    background: #f8fafc;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .courier-container[b-8hyj8u00ca] {
        max-width: 520px;
    }
}

/* Section panels - matching wireframe dashed border style */
.section-panel[b-8hyj8u00ca] {
    background: #f1f5f9;
    border: 2px solid #bfdbfe;
    border-radius: 18px;
    padding: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Info card - clean white card */
.info-card[b-8hyj8u00ca] {
    background: white;
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 0.875rem;
}

.info-row[b-8hyj8u00ca] {
    display: flex;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.info-row:last-child[b-8hyj8u00ca] {
    margin-bottom: 0;
}

.info-label[b-8hyj8u00ca] {
    font-weight: 600;
    color: #1f2937;
    min-width: 90px;
    flex-shrink: 0;
}

.info-value[b-8hyj8u00ca] {
    color: #374151;
}

/* Input group for lookup */
.input-group[b-8hyj8u00ca] {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.input-group[b-8hyj8u00ca]  .rz-textbox {
    flex: 1;
}

/* Data Grid responsive styling */
.item-grid[b-8hyj8u00ca] {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.item-grid[b-8hyj8u00ca]  .rz-datatable-data td {
    padding: 0.5rem 0.25rem;
    vertical-align: top;
}

.item-grid[b-8hyj8u00ca]  .rz-grid-table {
    font-size: 12px;
}

.product-cell[b-8hyj8u00ca] {
    font-size: 11px;
    line-height: 1.3;
}

.product-code[b-8hyj8u00ca] {
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.qty-cell[b-8hyj8u00ca] {
    text-align: center;
    font-size: 12px;
}

.unit-text[b-8hyj8u00ca] {
    font-size: 10px;
    color: #6b7280;
    display: block;
    margin-top: 2px;
}

/* Compact input styling */
[b-8hyj8u00ca] .compact-numeric ::deep input {
    font-size: 12px !important;
    padding: 0.25rem 0.5rem !important;
}

[b-8hyj8u00ca] .compact-textarea {
    font-size: 11px;
}

/* Submit button */
[b-8hyj8u00ca] .submit-button {
    width: 100%;
    padding: 1rem !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Warning alert */
.warning-alert[b-8hyj8u00ca] {
    margin: 1rem;
}

/* Signature Section */
.signature-section[b-8hyj8u00ca] {
    position: relative;
}

.signature-preview[b-8hyj8u00ca] {
    background: white;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 1rem;
}

.signature-image[b-8hyj8u00ca] {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.signature-actions[b-8hyj8u00ca] {
    margin-top: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .item-grid[b-8hyj8u00ca]  .rz-grid-table {
        font-size: 11px;
    }
    
    .info-row[b-8hyj8u00ca] {
        font-size: 13px;
    }
}
/* /Components/Pages/Courier/SignaturePadModal.razor.rz.scp.css */
.signature-modal-overlay[b-3sctlqcrl0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.signature-modal-container[b-3sctlqcrl0] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.signature-modal-header[b-3sctlqcrl0] {
    background: var(--rz-primary);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.signature-modal-body[b-3sctlqcrl0] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f8fafc;
    padding: 1rem;
}

.signature-canvas-wrapper[b-3sctlqcrl0] {
    flex: 1;
    background: white;
    border: 3px solid var(--rz-primary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.signature-canvas-wrapper[b-3sctlqcrl0]  signature-pad {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.signature-canvas-wrapper[b-3sctlqcrl0]  signature-pad canvas {
    touch-action: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    overscroll-behavior: none !important;
    width: 100% !important;
    height: 100% !important;
}

.signature-modal-footer[b-3sctlqcrl0] {
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    background: white;
    border-top: 2px solid #e5e7eb;
    flex-shrink: 0;
}

/* Hide the default clear button from SignaturePad component */
.signature-canvas-wrapper[b-3sctlqcrl0]  .hidden-clear-button {
    display: none !important;
}

/* Prevent any scrolling in the modal */
.signature-modal-overlay[b-3sctlqcrl0],
.signature-modal-container[b-3sctlqcrl0],
.signature-modal-body[b-3sctlqcrl0] {
    overscroll-behavior: none;
    overflow: hidden;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .signature-modal-container[b-3sctlqcrl0] {
        max-width: 800px;
        max-height: 600px;
        margin: auto;
        border-radius: 12px;
        overflow: hidden;
    }
}
