.container { max-width: 100%; padding: 20px; } .surat-container { font-family: "Times New Roman", Times, serif; font-size: 12pt; line-height: 1.5; width: 210mm; height: auto; min-height: 297mm; padding: 20mm; background-color: white; margin: 0 auto; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); position: relative; } .kop-surat { text-align: center; padding-bottom: 10px; margin-bottom: 20px; } .kop-surat img { width: 100%; } .surat-details { width: 100%; } .form-row { margin-bottom: 15px; } .form-group { position: relative; } .form-group label { display: inline-block; width: 120px; margin-right: 10px; } input, textarea { width: calc(100% - 135px); border: 1px solid #000; padding: 5px; background-color: white; font-family: "Times New Roman", Times, serif; font-size: 12pt; } textarea { height: 200px; } .content-surat { margin-top: 20px; text-align: justify; } .form-actions { margin-top: 20px; text-align: right; } .btn { padding: 10px 20px; background-color: #007bff; color: white; border: none; cursor: pointer; } .preview-section { margin-top: 30px; border-top: 1px solid #ddd; padding-top: 20px; } .preview-section h3 { margin-bottom: 20px; } .details-table { gap: 10px; display: flex; flex-direction: row; width: 100%; border-collapse: collapse; } .details-table td { padding: 5px 0; } .details-table .label { width: 120px; } .details-table .colon { width: 20px; text-align: center; } .ttd-section { margin-top: 30px; text-align: right; width: 40%; float: right; }