/* Import base print styles */
@import url('pdf_base.css');

/* Zoom override for print dialogs */
body {
    zoom: 80%;
}

/* Inspection-Specific Report Styles */

/* Inspection report */
.inspection-report {
    width: 100%;
    margin-bottom: 32px;
}

.inspection-report-caption {
    background-color: #ececec;
    padding: 10px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.inspection-report-text {
    margin: 8px 0 28px;
    line-height: 1.6;
}

.inspection-remark-print {
    position: relative;
    border: 1px solid #bdbdbd;
    border-radius: 6px;
    min-height: 120px;
    margin: 12px 0 20px;
    padding: 20px 14px 12px;
    box-sizing: border-box;
    background: #fff;
}

.inspection-remark-print-label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: #fff;
    padding: 0 6px;
    font-size: 12px;
    color: #616161;
}

.inspection-remark-print-value {
    min-height: 84px;
    line-height: 1.5;
}

.inspection-status-print {
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 10px 0 26px;
}

.inspection-status-option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    font-size: 15px;
}

.inspection-status-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #7a7a7a;
    box-sizing: border-box;
    display: inline-block;
}

.inspection-status-option.selected .inspection-status-radio {
    border-color: #ad1457;
    box-shadow: inset 0 0 0 3px #fff;
    background: #ad1457;
}

.inspection-checked-by {
    margin-top: 20px;
    line-height: 1.5;
}

.inspection-fields {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    font-family: 'Lato', sans-serif;
}

.inspection-fields thead {
    background-color: #f5f5f5;
}

.inspection-fields th {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    font-weight: 700;
    color: #d32f2f;
    font-size: 12px;
    white-space: nowrap;
}

.inspection-fields td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.inspection-fields tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.inspection-fields tbody tr:nth-child(even) {
    background-color: #f0f0f0;
}

.inspection-fields .status-column {
    min-width: 100px;
    font-weight: 600;
}

.inspection-fields .field-header {
    word-break: break-word;
    max-width: 200px;
}

.inspection-fields .field-value {
    word-break: break-word;
}
