/* ==========================================================================
   FM-USTP-GCS-02 STUDENT'S PERSONAL DATA SHEET (EXACT OFFICIAL ISO FORMAT)
   ========================================================================== */

.pds-iso-sheet {
    font-family: 'Times New Roman', Times, serif;
    color: #000000;
    font-size: 9pt;
    line-height: 1.25;
    padding: 8mm 13mm 21mm 13mm !important;
}

/* Black Section Header Bars */
.pds-section-bar {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 9.2pt;
    padding: 1.5px 6px;
    margin: 6px 0 5px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

/* Full-Width Flex Field Rows */
.pds-flex-row {
    display: flex;
    align-items: baseline;
    width: 100%;
    margin-bottom: 3px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 9pt;
    line-height: 1.25;
    color: #000000;
}

.pds-label {
    font-weight: normal;
    white-space: nowrap;
    margin-right: 3px;
    color: #000000;
}

.pds-label-gap {
    margin-left: 8px;
}

.pds-line {
    display: inline-block;
    border-bottom: 1px solid #000000;
    min-height: 14px;
    line-height: 1.15;
    padding: 0 4px 1px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 9pt;
    font-weight: normal;
    color: #000000;
    vertical-align: baseline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pds-line-wrap {
    white-space: normal;
    overflow: visible;
}

/* Date of Birth 3-Part Slash Segments with Sub-labels Underneath */
.pds-dob-group {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: top;
    margin: 0 4px 0 2px;
}

.pds-dob-slashes {
    display: inline-flex;
    align-items: baseline;
    border-bottom: 1px solid #000000;
    padding: 0 3px 1px;
    min-height: 14px;
    line-height: 1.15;
    font-size: 9pt;
}

.pds-dob-seg {
    display: inline-block;
    text-align: center;
    min-width: 24px;
}

.pds-dob-seg-yr {
    min-width: 34px;
}

.pds-dob-sublabels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 6.5pt;
    font-style: italic;
    line-height: 1.05;
    margin-top: 1px;
    padding: 0 2px;
}

/* Address Sub-labels Row: (street)/ (brgy)/ (city)/ (province) */
.pds-address-subrow {
    display: flex;
    justify-content: space-around;
    font-family: 'Times New Roman', Times, serif;
    font-size: 6.8pt;
    font-style: italic;
    color: #000000;
    margin-top: -2px;
    margin-bottom: 3px;
    padding-right: 24px;
}

/* Page 1 Square Checkboxes (Civil Status) */
.pds-civil-item {
    display: inline-flex;
    align-items: center;
    margin-right: 7px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 8.6pt;
    white-space: nowrap;
}

.pds-civil-item:last-child {
    margin-right: 0;
}

.pds-sq-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11px;
    height: 11px;
    border: 1px solid #000000;
    margin-right: 3px;
    font-size: 8.5pt;
    line-height: 1;
    background: #ffffff;
}

/* Page 2 Underlined Check Spaces (____) */
.pds-line-check {
    display: inline-block;
    width: 22px;
    border-bottom: 1px solid #000000;
    text-align: center;
    font-weight: bold;
    font-size: 9pt;
    line-height: 1.05;
    min-height: 12px;
    margin-right: 4px;
    vertical-align: baseline;
}

.pds-line-check-wide {
    width: 34px;
}

.pds-line-check-short {
    width: 18px;
}

.pds-q-block {
    margin-bottom: 5px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 9pt;
    line-height: 1.3;
    color: #000000;
}

.pds-q-options {
    padding-left: 16px;
    margin-top: 1px;
}

.pds-q-inline-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 12px;
    padding-left: 16px;
    margin-top: 1px;
}

/* 3-Line Ruled Essay Block for Question 1 */
.pds-essay-3lines {
    width: 100%;
    min-height: 54px;
    line-height: 18px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 9pt;
    padding: 0 4px;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 17px,
        #000000 17px,
        #000000 18px
    );
    word-break: break-word;
}

/* Official Awards & Recognition 3-Column Separated Underlines */
.pds-awards-grid {
    width: 100%;
    margin: 4px 0 8px;
    font-family: 'Times New Roman', Times, serif;
}

.pds-awards-header {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    font-weight: bold;
    font-size: 9pt;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #000000;
}

.pds-awards-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    height: 18px;
    margin-bottom: 2px;
}

.pds-awards-col-name {
    flex: 4.4;
    text-align: center;
}

.pds-awards-col-org {
    flex: 4.1;
    text-align: center;
}

.pds-awards-col-year {
    flex: 1.5;
    text-align: center;
}

.pds-awards-cell-line {
    border-bottom: 1px solid #000000;
    min-height: 16px;
    line-height: 1.2;
    font-size: 8.8pt;
    padding: 0 4px 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 2x2 ID Photo Box (Page 1 Top-Right below Doc Code) */
.pds-photo-box {
    width: 35mm;
    height: 38mm;
    border: 1px solid #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    flex-shrink: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    color: #000000;
    position: relative;
    overflow: hidden;
}
