body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

#capture {
    display: inline-block;
    cursor: text;
    background-color: #fff;
    padding: 0;
    margin: 0;
}

.uco_container {
    width: 1000px; /* Based on the template image ratio */
    height: 1000px; 
    background: url("../images/dinzhiyinhang.png") no-repeat;
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
}

/* Positioning editable fields over the blank areas of the template */

.editable_field, .label_field {
    position: absolute;
    color: #000;
    font-weight: 500;
    outline: none;
    text-align: left;
    font-family: Arial, sans-serif;
    z-index: 10; /* Ensure text is above background */
}

#ref_label {
    top: 330px;
    left: 250px;
    font-size: 40px;
    color: #7c7c7c;
    width: 700px;
}

/* Reference Number Value position */
#ref_value {
    top: 390px;
    left: 250px;
    font-size: 44px;
    color: #7c7c7c;
    width: 700px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Transaction Date Value position */
#transaction_date {
    top: 615px;
    left: 45px;
    font-size: 48px;
    font-weight: 500;
    width: 500px;
    color: #333;
}

/* Transaction Status description position */
#status_desc {
    top: 810px;
    left: 45px;
    font-size: 42px;
    line-height: 1.45;
    font-weight: 400;
    width: 910px;
    text-align: left;
    white-space: pre-wrap;
    color: #333;
}

/* Camera button style */
.css-1xamfmm {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 56px;
    height: 56px;
    background-color: rgba(0, 0, 0, 0.36);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.css-1bgbwga {
    width: 24px;
    height: 24px;
}
