@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');

/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    /*font-family: SourceSansPro;*/ 
    
/*}*/

html, body {
    /*font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Source Sans Pro';
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 16px; 
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.k-tooltip {
    max-width: 200px;
    white-space: normal;
    word-wrap: break-word;
    font-family: 'Source Sans Pro', sans-serif;
}

.validation-message,
.k-form-error {
    display: block;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 12px !important;
    color: #e84f4f !important;
    margin-top: 2px;
    font-style: normal !important;
}

#components-reconnect-modal {
    font-family: 'Source Sans Pro', sans-serif;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


    /*EBiz Payment page stylings*/

.info-box {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* adds space between icon and text */
}

.surcharge-text {
    margin: 0; /* removes default p tag margin */
}

h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.form-section {
    margin-bottom: 14px;
    width: 100%;
    padding: 0;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.tabs-gap {
    padding-top: 8px;
    padding-bottom: 8px;
}

.width-100 {
    width: 100% !important;
}

.Card-Information,
.Bank-Information,
.Select-Payment-Method,
.Billing-Address,
.Payment-Details {
    font-family: 'Source Sans Pro';
    flex-grow: 0;
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #000;
}

.custom-label-class {
    width: 100% !important;
}

/*
    Creditcard tab

        font-size: 16px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #0a0a0a;
*/

/*Page layout*/

/* Tokenize page container — Razor only (scoped to #razor-page-wrap so Blazor is unaffected) */
#razor-page-wrap .payment-container {
    display: flex;
    height: 100%;
    flex-direction: row;
    max-width: 464px;
    gap: 1rem;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 16px;
    padding-top: 0px;
}

    /*
        Tabs reboot by JBH
    */
.k-tabstrip-top > .k-tabstrip-items-wrapper {
    border-bottom-width: 0px;
}

.k-tabstrip-content, .k-tabstrip > .k-content {
    border: 0px;
}
    .k-tabstrip-content, .k-tabstrip > .k-content {
        padding-block: 0 !important; 
        padding-inline: 0 !important;
    }
    .k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
        border-bottom-width: 1px;
        border-bottom-color: black !important;
    }

.Infor > .k-tabstrip-items-wrapper > .k-tabstrip-items {
    height: 44px;
    align-self: stretch;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    padding: 4px;
    border-radius: 8px;
    background-color: #f5f5f5 !important;
}

    .Infor > .k-tabstrip-items-wrapper > .k-tabstrip-items > .k-item {
        border-width: 0px;
        color: #525252 !important;
        height: 36px;
    }

        .Infor > .k-tabstrip-items-wrapper > .k-tabstrip-items > .k-item.k-active {
            font-weight: 600;
            border-width: 0px;
            border-bottom-color: white !important;
            border-radius: 4px;
            box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
            background-color: #fff;
            color: #0a0a0a;
        }

        .Infor > .k-tabstrip-items-wrapper > .k-tabstrip-items > .k-item:hover {
            background-color: #e5e5e5;
            border-bottom-width:0px;
            box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
            border-radius: 4px;
        }

.Infor > .k-tabstrip .k-tabstrip-items .k-link {
    color: #525252;
}

.Infor > .k-tabstrip-items-wrapper > .k-tabstrip-items > .k-tabstrip-item.k-item.k-state-default > .k-link {
    color: #525252;
}
.BadgePad {
    margin-top: 12px;
    margin-right: 10px;
    color: white !important;
    font-size:11px !important;
    margin-bottom: 10px;
    height:16px !important;
}
.surchargelbl {
    width: 118px;
    height: 26px;
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    color: #525252;
    vertical-align: middle;
}
/* Left Section: Select Payment Method */


/* Right Section: Payment Details */
.payment-details-section {
    flex: 1; /* Takes 1/3 of the available width */
    /*    padding-right: 10px;
    padding-left: 10px;*/
    min-width: 316px !important;
    border-bottom: 0;
    background-color: inherit;
    padding-top: 0;
    /*background-color: #f9f9f9;*/
    /*  padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;*/
}

.sendReceiptCardTokenToCol {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/*PaymentDetails.razor.css*/

.payment-details-cardheader {
/*    width: 98px;*/
    height: 18px;
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #000;
    padding-top:0;
    border-bottom:0;
    padding-inline:0;
}

.payment-details-body {
    padding:0;
    margin:0;
    padding-block:0;
    padding-inline:0;
    width:100%;
}
.payment-card {
    width: 316px;
    height: 365px;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px 24px;
    border-radius: 8px;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}

.payment-cardsurcharge {
    width: 316px;
    height: 385px;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px 24px;
    border-radius: 8px;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}

.payment-card-text {
    width: 100%;
    margin-top: 1rem;
}

.payment-title {
    margin: 0;
    background-color:#f5f5f5;
    /*padding: 0.5rem 0;*/
    /*font-size: 1.25rem;*/
}

.k-card-header {
    
}

.payment-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px 8px;
    align-items: baseline;
    width: 100%;
}

/* email truncation — mirrors .email-ellipsis from PaymentDetails.razor.css */
.email-ellipsis {
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/* Security card — mirrors PaymentDetails.razor.css */
.card-header-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 6px;
}

.Payments-powered-by-EBizCharge {
    font-family: halyard-display, 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #5a5a60;
    line-height: 1.43;
}

.EBiz-content {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 10px;
    font-weight: normal;
    color: #525252;
    display: block;
}

/* Razor-only: security TLS card at bottom of payment form.
   Scoped with .razor-page-wrap so it never touches Blazor's k-card .payment-card-text */
#razor-page-wrap .payment-card-text {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: #f5f5f5;
}

/*Test*/

/*.page-header {
    background-color: #f5f7fa;*/ /* light gray-blue or any color you like */
    /*padding: 1rem 1.5rem;
    border-bottom: 1px solid #ccc;*/
    /*margin-bottom: 1.5rem;*/
/*}*/

/*.page-title {
    margin: 0;*/
    /*font-family: halyard-display, sans-serif;*/

    /* font-family: SourceSansPro; */
    /*font-size: 22px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;*/
    /* letter-spacing: normal; */
    /*text-align: left;
    color: #464646;
}*/


/*.paymentSuccessLogo {
    padding-bottom: 5px;
    color: lightgreen;
}*/

.padding-bottom-10 {
    padding-bottom: 10px;
}

.csi-page-container {
    margin: 0 24px;
/*    width: 70%;*/
}

.csd-page-container,
.facts-page-container,
.m3-page-container {
    margin: 0;
}
/*Payment details css*/
.k-card-title {
    font-weight: normal;
}

.k-tabstrip-items {
    width:100%;
    text-align: center;
    align-content: center;
}
/*
.k-tabestrip-items > ul > li {
    flex:auto;
    text-align: center;
    width:50%;
}*/

.k-tabstrip .k-tabstrip-items .k-link {
    font-family: 'Source Sans Pro' !important;
    font-size: 16px;
/*    font-weight: 600 !important;*/
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #0a0a0a;
    width: 100%;
    padding:8px !important;
}

    .k-tabstrip .k-tabstrip-items .k-link > .k-items.k-active {
        font-weight: 600 !important;
    }

.k-input-solid:focus-within,
.k-input-solid:focus, .k-input-solid.k-focus {
    box-shadow: none !important;
}


.k-input-inner {
    padding-block: 0 !important;
    padding-inline: 0 !important;
    color: #0a0a0a;
}


.label-style {
    width: 122px;
    /*height: 9px;*/
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #525252;
}

.label-value-style {
    /*width: 88px;*/
    /*height: 9px;*/
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 14px !important;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #0a0a0a;
}

.inputLabelStyle {
    font-family: 'Source Sans Pro';
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #525252;
}

.textboxInputStyle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    border-radius: 0px;
    background-color: #fff;
    height:38px;

}

    .textboxInputStyle input {
        font-family: 'Source Sans Pro';
        font-size: 16px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-align: left;
        color: #363535;
        display: flex !important;
        gap: 4px;
        padding: 0 !important;
        border-radius: 2px;
    }

input::placeholder {
    font-family: 'Source Sans Pro';
    color: #737373 !important;
}

input[type="text"] {
    font-family: 'Source Sans Pro';
    color: #0a0a0a;
}

/* ── Button row inside each payment form (Razor-only — mirrors AvsButtonsControl) ──
   These rules are ADDITIVE and only affect .cshtml pages via site.css.
   Blazor uses scoped component CSS (AvsButtonsControl.razor.css) which is unaffected. */
.form-button-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

/* Both buttons share the row equally — override the standalone flex-grow: 0 / 1 defaults */
.form-button-row .cancel-buttonFalse,
.form-button-row .cancel-buttonTrue,
.form-button-row .submit-button {
    flex: 1 1 0;        /* equal share of available width */
    min-width: 0;       /* allow shrinking */
    width: auto;        /* override any fixed width */
    white-space: nowrap;
    margin-top: 0;
}

/* Let the text spans fill the button width and not clip on longer labels */
.form-button-row .paymentpage-process,
.form-button-row .paymentpage-cancelFalse,
.form-button-row .paymentpage-cancelTrue {
    width: auto;
    flex-grow: 0;
}

/* ── Sub-tabs: underline style (Saved Card / New Card) ─────────────── */
.subtab-row {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.subtab-btn {
    border: none;
    background: transparent;
    padding: 8px 4px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #525252;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.subtab-btn.active {
    color: #0a0a0a;
    border-bottom: 2px solid #0a0a0a;
}

.subtab-btn:disabled {
    color: #b0b0b0;
    cursor: not-allowed;
    border-bottom: 2px solid transparent;
    opacity: 0.45;
}

.submit-button {
    height: 38px;
    align-self: stretch;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    border-radius: 8px;
    border: solid 1px #0076ec !important;
    background-color: #0076ec !important;
    box-shadow: none !important;
}

.cancel-buttonFalse {
    height: 38px;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    border-radius: 8px;
    border: solid 1px #737373 !important;
    background-color: #fff !important;
    box-shadow:none !important;
}

.cancel-buttonTrue {
    height: 38px;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    border-radius: 8px;
    border: solid 1px #cd2c39 !important;
    background-color: #fff !important;
    box-shadow: none !important;
}

.payment-results-submit,
.paymentpage-process {
    /* width: 51px — removed: clips longer labels like "Accept Anyway" on Razor pages.
       Blazor uses scoped CSS so this standalone rule only affects Razor. */
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 16px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #fff;
}

.paymentpage-cancelFalse {
    /* width: 46px — removed: clips longer labels like "Cancel & Void" on Razor pages. */
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 16px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
    color: #737373;
}

.paymentpage-cancelTrue {
    /* width: 46px — removed: clips longer labels like "Void Transaction" on Razor pages. */
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 16px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
    color: #e84f4f;
}

.k-animation-container div.k-dropdownlist-popup div.k-list div.k-list-content ul li {
    justify-content: flex-start !important;
}

.k-picker-solid:focus-within {
    background-color:white !important;
    box-shadow:none !important;
}




.volume-bars-loader {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 40px;
    justify-content: center;
    padding: 10px;
}

/* Loading overlay — used by Razor pages via site.css.
   Uses position:absolute so it covers the payment page content inside the iframe
   without conflicting with the parent window's fixed positioning context. */
.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 100%;
    background: rgba(255,255,255,0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .volume-bars-loader span {
        width: 6px;
        height: 10px;
        background-color: #0072ed;
        animation: bounce 1.2s infinite ease-in-out;
    }

        .volume-bars-loader span:nth-child(1) {
            animation-delay: 0s;
        }

        .volume-bars-loader span:nth-child(2) {
            animation-delay: 0.1s;
        }

        .volume-bars-loader span:nth-child(3) {
            animation-delay: 0.2s;
        }

        .volume-bars-loader span:nth-child(4) {
            animation-delay: 0.3s;
        }

        .volume-bars-loader span:nth-child(5) {
            animation-delay: 0.4s;
        }

@keyframes bounce {
    0%, 100% {
        transform:scaleY(0.3);
    }

    50% {
        transform:scaleY(1);
    }
}
.my-tab {
    width: 100%;
/*    position: center;
    align-content: center;*/
/*    text-align: center;*/
}

    .my-tab > div > ul > li.my-button {
        width: 40%;
        max-width: 115px !important;
        text-align: center;
/*        align-content: center;*/
    }

    .my-tab > div > ul > li.my-button > span {
/*        padding-inline: .5rem;*/
        text-align: center;
        font-weight:normal;
        /*        align-content: center;*/
    }
.no-tabs-gap {
/*    margin-right: 42px;*/
}
.no-tabs-gap.k-form-md .k-form-field, .k-form-md .k-form-buttons {
    margin-top: 0;
}

.k-form-md .k-form-field, .k-form-md .k-form-buttons {
    margin-top: 0.6rem;
}

.required-field {
    color: #525252;
}

.capitalize {
    text-transform: lowercase;
}
.capitalize::first-letter {
    text-transform: uppercase;
}

.Secondary-Tab {
    width: 92px;
    height: 20px;
    flex-grow: 0;
    font-family: 'Source Sans Pro';
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #525252;
}

.Secondary-Tab .k-active {
    font-weight: bold;
}

.containedTabBar > .k-tabstrip-items-wrapper > .k-tabstrip-items > .k-item.k-active {
    font-weight: 600;
}

.k-form:focus,
.k-form:focus-visible {
    outline: none;
    box-shadow: none;
}
    .k-form:focus:not(:focus-visible) {
        outline: none;
        box-shadow: none;
    }

.k-form *,
.k-form *:focus,
.k-form *:focus-visible {
    outline: none;
}

.k-tabstrip-content:focus,
.k-tabstrip-content:focus-visible,
.k-tabstrip-content:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

.payment-page-root {
    display: flex;
    gap: 24px;
    padding: 24px 32px;
    align-items: flex-start;
}

.payment-left {
    flex: 1 1 0;
    min-width: 0;
}

.payment-right {
    width: 316px;
    flex-shrink: 0;
}

.page-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6e8ee;
    padding: 16px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.tab-row {
    display: inline-flex;
    gap: 8px;
    background: #f1f3f6;
    border-radius: 10px;
    padding: 6px;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Source Sans Pro', sans-serif;
    color: #525252;
    cursor: pointer;
}

.tab-btn.active {
    background: #fff;
    color: #0a0a0a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.inputLabelStyle {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: #525252;
}

.form-control, .form-select {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    color: #0a0a0a;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.form-control::placeholder {
    color: #737373;
}

.disabled-card-label {
    display: flex;
    align-items: center;
    min-height: 38px;
    background-color: #f8fafc;
    color: #0a0a0a;
}

.action-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.action-row form.d-inline {
    flex: 1;
    display: flex;
}

.action-row form.d-inline .cancel-buttonFalse,
.action-row form.d-inline .cancel-buttonTrue {
    flex: 1;
    white-space: nowrap;
}

.payment-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4b5563;
}

.detail-value {
    font-weight: 600;
    color: #111827;
    text-align: right;
}

.surcharge-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.toggle-label {
    font-family: 'Source Sans Pro';
    font-size: 16px;
    font-weight: normal;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.2s;
    border-radius: 999px;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: #1f6feb;
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
}

.section-card .card {
    border: none;
    padding: 0;
    margin: 0;
}

.section-card .card-header {
    background: transparent;
    border: none;
    padding: 0 0 8px 0;
    font-weight: 600;
}

.section-card .card-body {
    padding: 0;
}

.section-card .form-label,
.section-card .inputLabelStyle {
    font-size: 13px;
    color: #4b5563;
}

.section-card .form-control,
.section-card .form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 14px;
}

.section-card .btn.btn-primary {
    border-radius: 10px;
    padding: 8px 16px;
}

/* =========================================================
   Global payment-container layout — used by Razor (.cshtml) pages.
   Blazor (.razor) pages use the same classes via scoped CSS.
   ========================================================= */

.CSD-payment-container,
.FACTS-payment-container,
.M3-payment-container {
    height: 100%;
    align-self: stretch;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 0px 32px 0px 32px;
    background-color: #fff;
}

.CSI-payment-container {
    display: flex;
    height: 100%;
    flex-direction: row;
    gap: 1rem;
    max-width: 464px;
    padding-bottom: 16px;
    padding-top: 0px;
}

.CSD-payment-container-results,
.FACTS-payment-container-results {
    height: 100%;
    align-self: stretch;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
    background-color: #fff;
}

/* ── Client-side validation error styles ──────────────────────────────────
   Mirrors Blazor TelerikValidationMessage appearance.
   Only applies to Razor pages via site.css — Blazor uses its own scoped CSS. */

/* Razor-only validation styles — scoped so they never touch Blazor components */
#razor-page-wrap .field-validation-error {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    color: #e84f4f;
    margin-top: 2px;
    min-height: 16px;
}

#razor-page-wrap .input-validation-error {
    border-color: #e84f4f !important;
    box-shadow: 0 0 0 1px #e84f4f !important;
}

/* ── AVS / CVV warning components ─────────────────────────────────────────────
   Scoped to Razor pages only via #razor-page-wrap or #razor-results-wrap.
   Blazor uses scoped CSS (AvsCvvComponent.razor.css) with [b-xxxxxxxx] selectors. */

#razor-page-wrap .Declined-Card-Response,
#razor-results-wrap .Declined-Card-Response {
    margin-top: 14px;
    align-self: stretch;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    border: solid 1px #e84f4f;
}

#razor-page-wrap .Card-Declined,
#razor-results-wrap .Card-Declined {
    flex-grow: 0;
    font-family: "Source Sans Pro";
    font-size: 12px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #000;
    margin-left: 3px;
}

#razor-page-wrap .Please-update-the-entered-information-or-try-a-different-card,
#razor-results-wrap .Please-update-the-entered-information-or-try-a-different-card {
    flex-grow: 0;
    font-family: "Source Sans Pro";
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #000;
}

#razor-page-wrap .sec-mismatch,
#razor-results-wrap .sec-mismatch {
    border: 1px solid #f0b562;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

#razor-page-wrap .sec-mismatch__row,
#razor-results-wrap .sec-mismatch__row {
    display: flex;
    gap: 2px;
    align-items: flex-start;
}

#razor-page-wrap .sec-mismatch__icon,
#razor-results-wrap .sec-mismatch__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 1px;
    flex: 0 0 auto;
}

#razor-page-wrap .sec-mismatch__content,
#razor-results-wrap .sec-mismatch__content {
    flex: 1;
}

#razor-page-wrap .sec-mismatch__title,
#razor-results-wrap .sec-mismatch__title {
    flex-grow: 0;
    font-family: "Source Sans Pro";
    font-size: 12px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #000;
    margin-left: 3px;
    margin-bottom: 8px;
    margin-top: 1px;
}

#razor-page-wrap .sec-mismatch__grid,
#razor-results-wrap .sec-mismatch__grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    row-gap: 6px;
    column-gap: 10px;
    font-size: 12px;
    margin: 0 0 4px 0;
    width: 100%;
}

#razor-page-wrap .sec-mismatch__label,
#razor-results-wrap .sec-mismatch__label {
    flex: 0 0 140px;
    font-family: 'Source Sans Pro';
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #000;
}

#razor-page-wrap .sec-mismatch__value,
#razor-results-wrap .sec-mismatch__value {
    flex: 1 1 auto;
}

#razor-page-wrap .sec-mismatch__value--bad,
#razor-results-wrap .sec-mismatch__value--bad {
    flex: 1 1 auto;
    font-family: 'Source Sans Pro';
    font-size: 12px;
    color: #e84f4f !important;
}

#razor-page-wrap .sec-mismatch__value--ok,
#razor-results-wrap .sec-mismatch__value--ok {
    flex: 1 1 auto;
    font-family: 'Source Sans Pro';
    font-size: 12px;
    color: #2e7d32;
}

#razor-page-wrap .sec-mismatch__msg,
#razor-results-wrap .sec-mismatch__msg {
    flex-grow: 1;
    width: 100%;
    font-family: "Source Sans Pro";
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    color: #000;
    margin: 4px 0 0 0;
}

/* ── PaymentResults Razor page — scoped to #razor-results-wrap to never leak into Blazor ── */
#razor-results-wrap .payment-container-summary {
    padding: 32px 64px;
    height: 100%;
}
#razor-results-wrap .centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#razor-results-wrap .Payment-Success-Msg {
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
}
#razor-results-wrap .Payment-Successful {
    height: 20px;
    font-family: 'Source Sans Pro';
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
}
#razor-results-wrap .paymentResults-card-text {
    border-radius: 8px;
    border: solid 1px #e0e0e0;
    background-color: #fff;
    width: 100%;
    max-width: 350px;
    padding: 16px;
    height: auto !important;
}
#razor-results-wrap .Transaction-Overview {
    font-family: 'Source Sans Pro';
    font-size: 14px;
    font-weight: 600;
    color: #000;
}
#razor-results-wrap .paymentResults-grid {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 70px;
    row-gap: 18px;
    align-items: center;
}
#razor-results-wrap .Total-Amount {
    font-family: 'Source Sans Pro';
    font-size: 20px;
    font-weight: normal;
    color: #525252;
}
#razor-results-wrap .Total-Amount-Value {
    font-family: 'Source Sans Pro';
    font-size: 20px;
    font-weight: 600;
    text-align: right;
    color: #000;
}
#razor-results-wrap .print-email-container {
    width: 100%;
    max-width: 350px;
    margin-top: 0.75rem;
    font-size: 14px;
}
#razor-results-wrap .print-email-container form { width: 100%; }
#razor-results-wrap .email-row {
    padding-top: 8px;
    flex-direction: column;
    display: flex;
}
#razor-results-wrap .Helper-text-here {
    font-family: proxima-nova, 'Source Sans Pro', sans-serif;
    font-size: 12px;
    color: #5a5a60;
    line-height: 1.33;
}
#razor-results-wrap .input-spacing { margin-top: 1rem; }
