/* Explain: Styles for the House Bill of Lading document display and print output. */
/* House Bill of Lading: strict marine transport (waybill) layout matching reference image. */
.hbl-preview {
    color: #000;
}
.hbl-doc-wrapper {
    position: relative;
    background: #fff;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #10599a;
    margin: 0 auto;
    overflow: hidden;
}
.hbl-watermark-overlay {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 8rem;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.08);
    transform: rotate(-20deg);
    pointer-events: none;
    z-index: 1;
    letter-spacing: 0.2em;
}
.hbl-grid-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}
.hbl-cell {
    border: 1px solid #10599a;
    padding: 5px 8px;
}
.hbl-lbl {
    font-size: 0.6rem;
    font-weight: bold;
    color: #000;
}
.hbl-val {
    font-size: 0.7rem;
    color: #000;
    margin-top: 3px;
    word-break: break-word;
}
.hbl-th {
    font-size: 0.65rem;
    font-weight: bold;
    text-align: left;
    background: transparent;
}
.hbl-cargo-cell {
    height: 280px;
}
@media print {
    body[data-print="housebl"] * {
        visibility: hidden;
    }
    body[data-print="housebl"] #houseblPrintArea,
    body[data-print="housebl"] #houseblPrintArea * {
        visibility: visible;
    }
    body[data-print="housebl"] #houseblPrintArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}