#payqr-app {
    background: #fbfcff;
    color: #09144e;
    font: 15px/1.45 Arial, sans-serif;
    min-height: 520px;
}

#payqr-app,
#payqr-app * {
    box-sizing: border-box;
}

#payqr-app [hidden] {
    display: none !important;
}

#payqr-app button,
#payqr-app input,
#payqr-app select {
    font: inherit;
}

#payqr-app .payqr-product-nav {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: auto;
    padding: 12px 24px;
}

#payqr-app .payqr-product-nav nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

#payqr-app .payqr-product-nav nav a,
#payqr-app .link-button {
    border: 0;
    background: none;
    color: #09144e;
    text-decoration: none;
    cursor: pointer;
}

#payqr-app .brand {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #09144e;
    font-size: 19px;
    text-decoration: none;
}

#payqr-app .paynow-brand-logo {
    width: 38px;
    height: 24px;
    object-fit: contain;
}

#payqr-app .paynow-hero-logo {
    width: 116px;
    height: auto;
    object-fit: contain;
}

#payqr-app .side-brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

#payqr-app .paynow-side-logo {
    width: 30px;
    height: 20px;
    object-fit: contain;
}

#payqr-app .paynow-quick-logo {
    width: 34px;
    height: 24px;
    object-fit: contain;
}

#payqr-app .primary,
#payqr-app .secondary,
#payqr-app .oauth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#payqr-app .primary {
    border: 0;
    background: linear-gradient(100deg, #6732ed, #4f26df);
    color: #fff;
}

#payqr-app .secondary {
    border: 2px solid #6732ed;
    background: #fff;
    color: #6732ed;
}

#payqr-app label {
    display: block;
    margin: 15px 0;
    color: #09144e;
    font-weight: 700;
}

#payqr-app input,
#payqr-app select {
    width: 100%;
    margin-top: 7px;
    padding: 12px 13px;
    border: 1px solid #b9c7ed;
    border-radius: 7px;
    background: #fff;
    color: #09144e;
}

#payqr-app dialog {
    color: #09144e;
}

#payqr-app.payqr-initializing main {
    display: none;
}

#payqr-app.payqr-initializing .payqr-product-nav nav {
    visibility: hidden;
}

#payqr-app .payqr-loading {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #63709b;
    font-weight: 700;
}

#payqr-app .payqr-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #dce4fb;
    border-top-color: #6732ed;
    border-radius: 50%;
    animation: payqr-spin .7s linear infinite;
}

@keyframes payqr-spin {
    to { transform: rotate(360deg); }
}

#payqr-app .history-actions {
    align-items: center;
}

#payqr-app .delete-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b42318;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

#payqr-app .delete-icon:hover,
#payqr-app .delete-icon:focus-visible {
    background: #fee4e2;
    outline: none;
}

#payqr-app .profile-summary small {
    display: block;
    margin-top: 3px;
    color: #63709b;
}

#payqr-app .temporary-profile-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#payqr-app .temporary-profile-summary .link-button {
    flex: 0 0 auto;
    color: #2552eb;
    font-weight: 700;
}

/* Keep PayNowQR's form rules from affecting FoodLine's admin header controls. */
#OverallHeader input {
    all: revert;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    #payqr-app .payqr-product-nav {
        padding: 12px 16px;
    }

    #payqr-app .payqr-product-nav nav {
        gap: 10px;
    }

    #payqr-app .payqr-product-nav nav > a {
        display: none;
    }

    #payqr-app .brand {
        font-size: 16px;
    }
}
