body, .header, .section, .form-group, .payment-button, .font, .h2 {
    font-family: Poppins, sans-serif;
}

body {
    background-color: #F1F5F9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

body {
    background-image: url('/img/bg-opa.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.body2 {
    background-color: #F1F5F9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    flex-direction: column;
}

.header {
    margin-bottom: 50px;
    margin-top: 100px;
}

.header2 {
    margin-bottom: 50px;
    margin-top: 50px;
}

h1 {
    text-align: center;
    font-size: 25px;
    margin-top: -20px;
    margin-bottom: -30px;
}

.font1 {
    font-size: 38px;
}

.container {
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 1200px;
    height: 550px;
}

.container2 {
    background-color: #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 280px;
    height: 500px;
}

.section {
    text-align: center;
    margin-bottom: 40px;
}

.section h2 {
    background-color: #8c8c8c;
    color: white;
    padding: 10px;
    border-radius: 20px;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 10px;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

label {
    font-size: 1.2em;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 250px;
    font-size: 18px;
    margin-bottom: 10px;
}

.buttons {
    display: flex;
    justify-content: center;
}

/* Additional existing styles from your previous UI */
.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    width: 150px; /* Adjust based on QR code size */
    margin: 0 auto;
}

.qr-code {
    margin: 0;
}

#authcode {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

#pay-button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.payment-button {
    background-color: #003BA0;
    color:white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1em;
}

.payment-button2 {
    background-color: #003BA0;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1em;
}

.refresh-button {
    background-color: #c0c0c0;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.divider {
    width: 1px;
    height: 200px;
    background-color: black;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh;  */
}

#loading_payment {
    display: none; /* keep this if you want to hide it initially */
    margin-top: 20px;
    width: 300px;
    border: 1px solid white;
    background-color: white;
    padding: 5px;
}

.blue-bar {
    width: 100%;
    background-color: #003BA0;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.blue-bar img {
    height: 32px;
    margin-left: 77px;
}

.blue-bar h1 {
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 18px;
    color: #BDBDBD;
    margin-top: 20px;
    padding-left: 1000px; /* Add padding to push it away from the edge */
}

.footer2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 10px;
    color: #BDBDBD;
    margin-top: 10px;
    padding-left: 200px; /* Add padding to push it away from the edge */
}
