/* RESET & GLOBAL */ * { box-sizing: border-box; } body { font-family: 'Calibri', sans-serif; background: #f0f0f0; margin: 0; padding: 20px; color: #000; } /* FORM SECTION */ .form-section { background: #fff; padding: 30px; width: 794px; margin: auto; box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); margin-bottom: 40px; } .form-section h2, .form-section h3 { text-align: center; margin-bottom: 20px; } .form-section input { width: 100%; padding: 8px; margin: 6px 0; border: 1px solid #ccc; border-radius: 4px; } .form-section table { width: 100%; border-collapse: collapse; margin-top: 10px; } .form-section th, .form-section td { padding: 8px; border: 1px solid #999; text-align: center; } .form-section button { background: #007bff; color: #fff; border: none; padding: 8px 14px; margin-top: 10px; border-radius: 4px; cursor: pointer; } .form-section button:hover { background: #0056b3; } /* BIODATA TEMPLATE */ .bio-template { width: 794px; min-height: 1123px; background: #fff; padding: 40px; margin: auto; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } /* HEADINGS */ .center { text-align: center; text-transform: uppercase; } h2.center { margin-bottom: 30px; } h3 { margin-top: 30px; font-size: 16px; border-bottom: 1px solid #888; padding-bottom: 4px; color: #000; } /* HEADER INFO LAYOUT */ .bio-header { display: flex; justify-content: space-between; margin-bottom: 20px; } .bio-left { width: 65%; } .bio-left p { margin: 6px 0; font-size: 15px; } .bio-photo { width: 140px; height: 140px; border: 1px solid #000; background: #f9f9f9; } .bio-photo img { width: 100%; height: 100%; object-fit: cover; } /* TABLE */ #eduTablePreview { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; } #eduTablePreview th, #eduTablePreview td { border: 1px solid #000; padding: 6px; text-align: center; } /* DECLARATION & FOOTER */ .footer-section { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; } .signature { text-align: center; } .signature img { height: 60px; width: auto; margin-bottom: 5px; } /* BUTTONS BELOW PREVIEW */ .actions { text-align: center; margin-top: 40px; } .actions button { background: #28a745; color: #fff; border: none; padding: 10px 18px; font-size: 15px; margin: 10px 5px; border-radius: 4px; cursor: pointer; transition: 0.3s; } .actions button:hover { background: #1e7e34; } /* PRINT STYLE */ @media print { body { background: none; padding: 0; } .form-section, .actions { display: none; } .bio-template { box-shadow: none; width: 100%; min-height: auto; padding: 0; margin: 0; } .signature img { border: none; } }