body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Poppins, sans-serif;
    background-color: #F4F6FA;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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


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

.container {
    width: 90%;
    height: 82%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(130, 176, 255, 0.16);
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}

.header {
    text-align: left;
}

.header h1 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header p {
    font-size: 16px;
    color: #333;
    font-weight: 400;
}

.simulator-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.simulator {
    width: 32%;
    border: 1px solid #003BA0;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.simulator h2 {
    font-size: 18px;
    color: black;
    font-weight: 500;
    margin: 0; /* Remove default margins */
    padding-bottom: 16px; /* Add bottom padding to create space between heading and the line */
    position: relative;
}

.simulator h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #003BA0;
}

.simulator p {
    font-size: 14px;
    color: #555;
    margin: 19px 0 16px 0; /* Adjust margin to control spacing around the paragraph */
    font-weight: 400;
}

.opa-channel-list {
    margin: 0 0 14px 0;
    padding-left: 18px;
    font-size: 13px;
    color: #555;
}

.opa-channel-list li {
    margin-bottom: 4px;
}

.simulator .sim-button {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-button a {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #F1F6FF;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: 50px; /* Set a fixed height for the buttons */
}

.sim-button a:hover {
    background-color: #003BA0;
    color: white;
}

.sim-button img {
    width: 30px;
    margin-right: 10px;
    flex-shrink: 0; /* Ensure the image does not shrink */
}

.qr-code img {
    width: 30%;
}

.powered-by {
    text-align: right;
    width: 90%;
    margin-top: 5px;
    font-size: 12px;
}

.powered-by p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.powered-by img {
    height: 20px;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .blue-bar {
        padding: 15px 10px;
    }

    .blue-bar img {
        height: 24px;
        margin-left: 10px;
    }

    .container {
        width: 95%;
        margin-top: 10px;
        padding: 15px;
        height: auto;
    }

    .header {
        text-align: center;
    }

    .header h1 {
        font-size: 20px;
    }

    .header p {
        font-size: 14px;
    }

    .simulator-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .simulator {
        width: 100%;
        margin-bottom: 15px;
    }

    .simulator h2 {
        font-size: 16px;
        text-align: center;
    }

    .simulator p {
        text-align: center;
        margin: 10px 0;
    }

    .simulator .sim-button {
        align-items: center;
    }

    .sim-button a {
        width: 80%;
        justify-content: center;
    }

    .qr-code {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #qr-code-display {
        width: 200px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #qr-code-display img {
        width: 60%;
        height: 60%;
        object-fit: contain;
    }

    #qr-code-starpay-display {
        width: 200px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #qr-code-starpay-display img {
        width: 60%;
        height: 60%;
        object-fit: contain;
    }

    #qr-code-gcash-display, #qr-code-paynow-display, #qr-code-wechat-display, #qr-code-kbank-display, #qr-code-kbank-payplus-display, #qr-code-mb2u-display, #qr-code-duitnow-offline-display {
        width: 200px;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #qr-code-gcash-display img, #qr-code-paynow-display img, #qr-code-wechat-display img, #qr-code-kbank-display img, #qr-code-kbank-payplus-display img, #qr-code-mb2u-display img, #qr-code-duitnow-offline-display img {
        width: 60%;
        height: 60%;
        object-fit: contain;
    }

    .qr-code p {
        text-align: center;
        font-size: 14px;
        margin: 10px 0;
    }

    .powered-by {
        text-align: right;
        width: 95%;
        margin-top: 5px;
    }

    .powered-by p {
        gap: 5px;
    }
    
}