/* Overrides for Hoja de Entrada to match the specific visual requirements */

/* The header in the image has a specific box on the right */
.header-meta-table {
    border-collapse: collapse;
    font-size: 10pt;
    width: auto;
    margin-left: auto;
    /* Push to right */
}

.header-meta-table td,
.header-meta-table th {
    border: 2px solid black;
    padding: 5px 10px;
    font-weight: bold;
    color: #000;
    /* Force black text */
    background-color: transparent;
    /* Remove blue bg */
}

.header-code {
    color: #00AEEF;
    /* Cyan/Blueish text for Code label if needed, or just black */
    color: black;
}

/* Client Info Table */
.client-info-table {
    width: 100%;
    border: 2px solid black;
    margin-top: 20px;
    margin-bottom: 0;
    /* Connects to next table possibly */
}

.client-info-table td {
    text-align: left;
    border: 1px solid black;
    padding: 5px;
    font-size: 10pt;
}

.client-info-table strong {
    font-weight: 900;
}

/* Items Table */
.items-table {
    width: 100%;
    border: 2px solid black;
    margin-top: -1px;
    /* Overlap borders */
}

.items-table th {
    background-color: white !important;
    /* Override global style */
    color: black !important;
    font-style: italic;
    border: 1px solid black;
    border-bottom: 2px solid black;
    padding: 5px;
}

.items-table td {
    border: 1px solid black;
    height: 25px;
    /* Minimum height for empty rows */
}

/* Disclaimer */
.disclaimer {
    color: #ff3333;
    /* Red-ish color */
    font-size: 8pt;
    text-align: justify;
    text-align-last: center;
    font-style: italic;
    font-weight: bold;
    padding: 5px;
    border: 2px solid black;
    margin-top: -1px;
}

/* Signatures */
.signatures-table {
    width: 100%;
    border: 2px solid black;
    margin-top: -1px;
}

.signatures-table td {
    width: 33.33%;
    height: 60px;
    /* Space for signing */
    vertical-align: top;
    text-align: left;
    font-weight: bold;
    font-style: italic;
    border: 1px solid black;
}

/* Footer Status Section */
.status-section {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: bold;
}

.status-id {
    color: #3498db;
    font-size: 14pt;
    margin-right: 20px;
}

.status-options {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10pt;
}

.checkbox-box {
    width: 30px;
    height: 20px;
    border: 2px solid black;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

/* Contacto Footer Section */
.contacto-footer-table {
    width: 100%;
    border: 2px solid black;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 10pt;
    border-collapse: collapse;
}

.contacto-footer-table td {
    border: 1px solid black;
    padding: 5px;
    text-align: left;
}

.contacto-header {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: center !important;
    text-transform: uppercase;
    font-size: 11pt;
}