body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #fff;
}
.container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}
.form-container {
    flex: 0 0 300px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.check {
    flex: 1;
    overflow: hidden;
    width: 8.5in;
    height: 3.5in;
    border: 1px solid #000;
    padding: 20px;
    position: relative;
    font-size: 12pt;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.bank-info {
    text-align: left;
    margin-bottom: 20px;
    float: left
}
#checkNo {
    float: right;
}
#dateField {
    float: right;
    clear: right;
}
.payee-line {
    margin: 20px 0;
    clear: both;
    padding-top: 10px;
}
.amount-box {
    position: absolute;
    top: 120px;
    right: 20px;
    border: 1px solid #000;
    padding: 5px 10px;
    width: 120px;
    text-align: center;
}
.written-amount {
    margin: 20px 0;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
}
.memo {
    position:absolute;
    bottom:120px;
    left:30px;
    width:250px;
}
.signature-line {
    position: absolute;
    bottom: 40px;
    right: 30px;
    width: 250px;
    text-align: center;
    border-top: 1px solid #000;
}
@font-face {
    font-family: 'MicrEncoding';
    src: url('/assets/MicrEncoding-ZEDJ.ttf') format('truetype');
}
.micr-line {
    position: absolute;
    bottom: 10px;
    left: 30px;
    font-family: 'MicrEncoding';
    font-size: 19pt;
    font-weight:bold;
    letter-spacing: 2px;
}
label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}
input, button, select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.button-group {
    display: flex;
    gap: 10px;
}
.button-group button {
    width: 50%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.button-group button:hover {
    background-color: #0056b3;
}
.button-group button:nth-child(2) {
    background-color: #dc3545;
}
.button-group button:nth-child(2):hover {
    background-color: #c82333;
}
@media print {

    .form-container {
        display: none;
    }
    .container {
        display: block;
    }
    .check {
        width: 100%;
        height: 3in;
        border:none;
    }
}