/* Global font */
body {
    font-family: 'Poppins', sans-serif; /* Change font to Poppins */
    margin: 20px;
}

.voucher {
    width: 500px;
    border: 1px solid black;
    padding: 20px;
    margin: 0 auto;
}

.voucher input[type="text"], 
.voucher input[type="number"] {
    width: 100%;
    padding: 5px;
    margin: 5px 0;
}

.voucher label {
    font-weight: bold;
}

.voucher .radio-group {
    margin: 10px 0;
}

.voucher button {
    margin-top: 20px;
    padding: 10px;
    font-size: 16px;
}

.voucher h2 {
    text-align: center;
}

.signatures {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.sign-box {
    text-align: center;
}

/* Two-column layout for Receipt No and Date */
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.form-column {
    flex: 1;
    margin-right: 10px;
}

.form-column:last-child {
    margin-right: 0;
}

/* Logo section */
#logoSection img {
    width: 80px;
    height: auto;
    margin: 10px;
}

/* Print-specific styles */
@media print {
    
    #downloadBtn {
        display: none;
    }

    body {
        margin: 0;
    }

    .voucher {
        width: auto;
        border: none;
        padding: 40px;
        margin: 0;
    }

    .voucher h2 {
        margin-top: 30px;
    }

    /* Hide checklist on print */
    #voucherForm input[type="checkbox"],
    #voucherForm label[for="markeyters"],
    #voucherForm label[for="safri"],
    #voucherForm label[for="markDigitals"],
    #voucherForm label[for="wolf"],
    #voucherForm label[for="himax"],
    #voucherForm br {
        display: none; /* Hide the company checklist */
    }

    /* Ensures labels and inputs are block level in account details */
    #accountDetailsSection label,
    #accountDetailsSection input,
    #accountDetailsSection select {
        display: block; /* Stack each label/input on a new line */
        margin: 5px 0; /* Spacing between elements */
    }

    .signatures {
        margin-top: 60px;
        display: flex;
        justify-content: space-between;
    }

    button {
        display: none; /* Hide the Print button */
    }

    @page {
        size: A4;
        margin: 20mm;
    }
}