<?php
// Coordinates for A4 size (210mm x 297mm)
// FIX: Reverting to "Perfect" Vertical Alignment (Step 479/514) to fix "Row Jumping".
// Previous Y=96 was too high, causing Gender to appear at Name level.
// New Y=103 should align Name Value with Name Label (Samne-Samne).

return [
    // Top Right Registration Number
    'top_reg_no' => ['x' => 135, 'y' => 67, 'w' => 60, 'align' => 'R', 'size' => 11, 'bold' => true],

    // MAIN DATA FIELDS - Restored to optimal Y=103 baseline
    
    // 1. Name
    'name'       => ['x' => 105, 'y' => 103, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // 2. Gender
    'gender'     => ['x' => 105, 'y' => 111, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // 3. Date of Birth
    'dob'        => ['x' => 105, 'y' => 119, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // 4. Place of Birth
    'place'      => ['x' => 105, 'y' => 127, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // -- Gap --
    
    // 5. Date of Registration
    'date_reg'   => ['x' => 105, 'y' => 143, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // 6. Registration Number
    'reg_no'     => ['x' => 105, 'y' => 151, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // 7. Name of Mother
    'mother'     => ['x' => 105, 'y' => 159, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // 8. Name of Father
    'father'     => ['x' => 105, 'y' => 167, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // 9. Present Address
    'present_addr' => ['x' => 105, 'y' => 175, 'w' => 90, 'align' => 'L', 'size' => 9, 'bold' => false],
    
    // 10. Permanent Address
    'perm_addr'    => ['x' => 105, 'y' => 189, 'w' => 90, 'align' => 'L', 'size' => 9, 'bold' => false],
    
    // 11. Date of Issue
    'issue_date'   => ['x' => 105, 'y' => 201, 'w' => 95, 'align' => 'L', 'size' => 10, 'bold' => false],
    
    // QR Code Position (Bottom Left)
    // Shifted down to Y=207 to fix "upar chala gaya"
    'qr'           => ['x' => 20, 'y' => 207, 'w' => 26, 'h' => 26]
];
?>
