/* DNSHE split module: billing.css. Extracted from overwrite.css without selector changes. */

/* SaaS add funds page */
body.template-clientareaaddfunds{
    overflow-x:hidden!important;
    background:#F5F8FC!important;
    font-family:Inter,system-ui,"PingFang SC","Microsoft YaHei",sans-serif!important;
}
.template-clientareaaddfunds #wrapper{
    width:100%!important;
    overflow:visible!important;
}
.template-clientareaaddfunds #page-content-wrapper{
    position:relative!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 24px 36px!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow:visible!important;
    background:#F5F8FC!important;
}
.template-clientareaaddfunds #page-content-wrapper>.container-fluid,
.template-clientareaaddfunds #page-content-wrapper>.container-fluid.xyz,
.template-clientareaaddfunds section#main-body,
.template-clientareaaddfunds #main-body>.container,
.template-clientareaaddfunds #main-body>.container-fluid,
.template-clientareaaddfunds #main-body>.container>.row,
.template-clientareaaddfunds #main-body>.container-fluid>.row,
.template-clientareaaddfunds .main-content,
.template-clientareaaddfunds .main-content.col-xs-12,
.template-clientareaaddfunds .main-content.col-md-9,
.template-clientareaaddfunds .main-content.pull-md-right,
.template-clientareaaddfunds .main-content.pull-md-left{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    left:auto!important;
    right:auto!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
}
.template-clientareaaddfunds #main-body>.container,
.template-clientareaaddfunds #main-body>.container-fluid{
    max-width:1220px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
.template-clientareaaddfunds .header-lined,
.template-clientareaaddfunds .sidebar,
.template-clientareaaddfunds .panel-sidebar{
    display:none!important;
}
.modern-addfunds-page{
    width:100%;
    color:#0F1F3D;
}
.modern-addfunds-alerts{
    margin:0 0 16px;
}
.modern-addfunds-alerts .alert{
    border-radius:14px!important;
    border:1px solid #FECACA!important;
    box-shadow:0 12px 28px rgba(15,23,42,.05)!important;
}
.modern-addfunds-hero{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin:0 0 18px;
}
.modern-addfunds-title{
    min-width:0;
}
.modern-addfunds-title>span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:28px;
    padding:0 10px;
    margin-bottom:8px;
    border:1px solid #DBEAFE;
    border-radius:999px;
    background:#EFF6FF;
    color:#2563EB;
    font-size:13px;
    font-weight:750;
    line-height:1;
}
.modern-addfunds-title h1{
    margin:0;
    color:#0F1F3D;
    font-size:28px;
    font-weight:850;
    letter-spacing:0;
    line-height:1.2;
}
.modern-addfunds-title p{
    margin:8px 0 0;
    color:#64748B;
    font-size:14px;
    line-height:1.7;
}
.modern-addfunds-summary{
    display:flex;
    align-items:stretch;
    justify-content:flex-end;
    gap:10px;
    flex:0 0 auto;
}
.modern-addfunds-chip{
    min-width:138px;
    min-height:74px;
    padding:12px 14px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-content:center;
    gap:2px 10px;
    border:1px solid #E5EAF2;
    border-radius:16px;
    background:#FFFFFF;
    box-shadow:0 12px 28px rgba(15,23,42,.05);
    color:#0F1F3D;
    text-decoration:none;
}
.modern-addfunds-chip>i{
    grid-row:1 / span 2;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:linear-gradient(135deg,#2563EB,#14B8A6);
    color:#FFFFFF;
    font-size:14px;
}
.modern-addfunds-chip span{
    color:#8A94A6;
    font-size:12px;
    font-weight:700;
    line-height:1.2;
}
.modern-addfunds-chip strong{
    min-width:0;
    overflow:hidden;
    color:#0F1F3D;
    font-size:15px;
    font-weight:850;
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.modern-addfunds-chip-link:hover,
.modern-addfunds-chip-link:focus{
    border-color:#BFDBFE;
    background:#F8FBFF;
    color:#2563EB;
}
.modern-addfunds-chip-link strong{
    color:#2563EB;
}
.modern-addfunds-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:20px;
    align-items:start;
}
.modern-addfunds-card,
.modern-addfunds-side-card{
    border:1px solid #E5EAF2;
    border-radius:16px;
    background:#FFFFFF;
    box-shadow:0 16px 34px rgba(15,23,42,.06);
}
.modern-addfunds-main{
    padding:22px;
}
.modern-addfunds-card-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:20px;
    padding-bottom:18px;
    border-bottom:1px solid #EEF2F7;
}
.modern-addfunds-card-header h2{
    margin:0;
    color:#0F1F3D;
    font-size:20px;
    font-weight:850;
    line-height:1.25;
}
.modern-addfunds-card-header p{
    margin:7px 0 0;
    color:#8A94A6;
    font-size:13px;
    line-height:1.6;
}
.modern-addfunds-card-icon{
    width:42px;
    height:42px;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#EFF6FF;
    color:#2563EB;
    font-size:17px;
}
.modern-addfunds-form fieldset{
    min-width:0;
    margin:0;
    padding:0;
    border:0;
}
.modern-addfunds-field{
    margin:0 0 18px;
}
.modern-addfunds-field label,
.modern-addfunds-field-head label{
    display:block;
    margin:0;
    color:#0F1F3D;
    font-size:14px;
    font-weight:800;
    line-height:1.35;
}
.modern-addfunds-field-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.modern-addfunds-field-head small{
    color:#9AA5B5;
    font-size:12px;
    font-weight:650;
    white-space:nowrap;
}
.modern-addfunds-amount-control{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    margin-top:10px;
    border:1px solid #DDE7F3;
    border-radius:14px;
    background:#F8FBFF;
    overflow:hidden;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.modern-addfunds-amount-control:focus-within{
    border-color:#93C5FD;
    background:#FFFFFF;
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
}
.modern-addfunds-amount-control span{
    min-width:66px;
    height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-right:1px solid #E5EAF2;
    color:#2563EB;
    font-size:13px;
    font-weight:850;
}
.modern-addfunds-amount-control input.form-control{
    width:100%!important;
    height:46px!important;
    margin:0!important;
    padding:0 14px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#0F1F3D!important;
    font-size:15px!important;
    font-weight:750!important;
    line-height:46px!important;
}
.modern-addfunds-amount-control input.form-control::placeholder{
    color:#A7B1C0!important;
}
.modern-addfunds-amounts{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:10px;
}
.modern-addfunds-amounts button{
    height:40px;
    border:1px solid #DDE7F3;
    border-radius:12px;
    background:#FFFFFF;
    color:#53627A;
    font-size:14px;
    font-weight:800;
    line-height:1;
    transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.modern-addfunds-amounts button:hover,
.modern-addfunds-amounts button:focus,
.modern-addfunds-amounts button.is-active{
    border-color:#93C5FD;
    background:#EFF6FF;
    color:#2563EB;
    box-shadow:0 8px 18px rgba(37,99,235,.08);
    outline:none;
}
.modern-addfunds-native-select{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    padding:0!important;
    border:0!important;
    opacity:0!important;
    pointer-events:none!important;
}
.modern-addfunds-gateways{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.modern-addfunds-gateway{
    min-height:64px;
    width:100%;
    display:grid;
    grid-template-columns:38px minmax(0,1fr) 22px;
    align-items:center;
    gap:12px;
    padding:12px;
    border:1px solid #E5EAF2;
    border-radius:14px;
    background:#FFFFFF;
    color:#0F1F3D;
    text-align:left;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
    cursor:pointer;
    user-select:none;
}
.modern-addfunds-gateway-radio{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    border:0;
    opacity:0;
    pointer-events:none;
}
.modern-addfunds-gateway:hover,
.modern-addfunds-gateway:focus,
.modern-addfunds-gateway:focus-within,
.modern-addfunds-gateway.is-active{
    border-color:#93C5FD;
    background:#F8FBFF;
    box-shadow:0 10px 24px rgba(37,99,235,.08);
    outline:none;
}
.modern-addfunds-gateway-icon{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:linear-gradient(135deg,#EFF6FF,#E0F2FE);
    color:#2563EB;
    font-size:16px;
}
.modern-addfunds-gateway strong{
    display:block;
    min-width:0;
    overflow:hidden;
    color:#0F1F3D;
    font-size:14px;
    font-weight:850;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.modern-addfunds-gateway small{
    display:block;
    min-width:0;
    margin-top:4px;
    overflow:hidden;
    color:#8A94A6;
    font-size:12px;
    font-weight:650;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.modern-addfunds-gateway>.fa-check{
    width:22px;
    height:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#E5EAF2;
    color:#FFFFFF;
    font-size:11px;
}
.modern-addfunds-gateway.is-active>.fa-check{
    background:#2563EB;
}
.modern-addfunds-empty{
    grid-column:1 / -1;
    padding:14px;
    border:1px dashed #CBD5E1;
    border-radius:14px;
    color:#8A94A6;
    background:#F8FBFF;
    font-size:13px;
    font-weight:700;
    text-align:center;
}
.modern-addfunds-submit-row{
    margin-top:6px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.modern-addfunds-submit{
    min-width:180px;
    height:46px;
    padding:0 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:0;
    border-radius:14px;
    background:linear-gradient(135deg,#2563EB,#14B8A6);
    box-shadow:0 14px 26px rgba(37,99,235,.22);
    color:#FFFFFF;
    font-size:15px;
    font-weight:850;
    line-height:1;
    transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.modern-addfunds-submit:hover,
.modern-addfunds-submit:focus{
    color:#FFFFFF;
    filter:saturate(1.06);
    box-shadow:0 18px 32px rgba(37,99,235,.28);
    transform:translateY(-1px);
    outline:none;
}
.modern-addfunds-submit-row p{
    max-width:460px;
    margin:0;
    color:#8A94A6;
    font-size:12px;
    font-weight:650;
    line-height:1.6;
    text-align:right;
}
.modern-addfunds-aside{
    display:flex;
    flex-direction:column;
    gap:14px;
    min-width:0;
}
.modern-addfunds-side-card{
    padding:18px;
}
.modern-addfunds-side-card h3{
    margin:0 0 14px;
    color:#0F1F3D;
    font-size:15px;
    font-weight:850;
    line-height:1.35;
}
.modern-addfunds-side-card h3 i{
    margin-right:8px;
    color:#2563EB;
    font-size:14px;
}
.modern-addfunds-rule-list{
    display:grid;
    gap:10px;
}
.modern-addfunds-rule-list div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:42px;
    padding:0 12px;
    border:1px solid #EEF2F7;
    border-radius:12px;
    background:#F8FBFF;
}
.modern-addfunds-rule-list span{
    color:#64748B;
    font-size:13px;
    font-weight:700;
}
.modern-addfunds-rule-list strong{
    color:#0F1F3D;
    font-size:13px;
    font-weight:850;
    white-space:nowrap;
}
.modern-addfunds-note-card{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    gap:12px;
}
.modern-addfunds-note-card h3{
    margin:0 0 6px;
}
.modern-addfunds-note-card p,
.modern-addfunds-help-card p{
    margin:0;
    color:#8A94A6;
    font-size:13px;
    font-weight:650;
    line-height:1.7;
}
.modern-addfunds-note-icon{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#EFF6FF;
    color:#2563EB;
    font-size:16px;
}
.modern-addfunds-note-icon.teal{
    background:#ECFDF5;
    color:#14B8A6;
}
.modern-addfunds-help-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}
.modern-addfunds-help-card a{
    height:38px;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid #BFDBFE;
    border-radius:12px;
    background:#EFF6FF;
    color:#2563EB!important;
    font-size:13px;
    font-weight:850;
    text-decoration:none;
    white-space:nowrap;
}
.modern-addfunds-help-card a:hover,
.modern-addfunds-help-card a:focus{
    background:#DBEAFE;
    color:#1D4ED8!important;
}

@media (min-width:768px){
    .template-clientareaaddfunds #wrapper{
        padding-left:250px!important;
    }
    .template-clientareaaddfunds #wrapper.toggled-2 #page-content-wrapper,
    .template-clientareaaddfunds #wrapper.toggled #page-content-wrapper{
        margin-left:0!important;
        padding-left:24px!important;
        width:auto!important;
    }
}
@media (max-width:1100px){
    .modern-addfunds-hero{
        align-items:flex-start;
        flex-direction:column;
    }
    .modern-addfunds-summary{
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
    }
    .modern-addfunds-chip{
        flex:1 1 180px;
    }
    .modern-addfunds-layout{
        grid-template-columns:1fr;
    }
    .modern-addfunds-aside{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .modern-addfunds-aside .modern-addfunds-side-card:first-child{
        grid-column:1 / -1;
    }
}
@media (max-width:767px){
    .template-clientareaaddfunds #page-content-wrapper{
        padding:12px 14px 24px!important;
    }
    .modern-addfunds-title h1{
        font-size:24px;
    }
    .modern-addfunds-summary{
        display:grid;
        grid-template-columns:1fr;
    }
    .modern-addfunds-chip{
        min-height:68px;
    }
    .modern-addfunds-main,
    .modern-addfunds-side-card{
        padding:16px;
    }
    .modern-addfunds-card-header{
        margin-bottom:16px;
        padding-bottom:14px;
    }
    .modern-addfunds-card-icon{
        display:none;
    }
    .modern-addfunds-field-head{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }
    .modern-addfunds-field-head small{
        white-space:normal;
    }
    .modern-addfunds-amounts,
    .modern-addfunds-gateways,
    .modern-addfunds-aside{
        grid-template-columns:1fr;
    }
    .modern-addfunds-submit-row{
        align-items:stretch;
        flex-direction:column;
    }
    .modern-addfunds-submit{
        width:100%;
    }
    .modern-addfunds-submit-row p{
        max-width:none;
        text-align:left;
    }
    .modern-addfunds-help-card{
        align-items:flex-start;
        flex-direction:column;
    }
    .modern-addfunds-help-card a{
        width:100%;
    }
}

/* SaaS invoices page */
body.template-clientareainvoices{
    overflow-x:hidden!important;
    background:#F5F8FC!important;
    font-family:Inter,system-ui,"PingFang SC","Microsoft YaHei",sans-serif!important;
}
.template-clientareainvoices #wrapper{
    width:100%!important;
    overflow:visible!important;
}
.template-clientareainvoices #page-content-wrapper{
    position:relative!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 24px 36px!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow:visible!important;
    background:#F5F8FC!important;
}
.template-clientareainvoices #page-content-wrapper>.container-fluid,
.template-clientareainvoices #page-content-wrapper>.container-fluid.xyz,
.template-clientareainvoices section#main-body,
.template-clientareainvoices #main-body>.container,
.template-clientareainvoices #main-body>.container-fluid,
.template-clientareainvoices #main-body>.container>.row,
.template-clientareainvoices #main-body>.container-fluid>.row,
.template-clientareainvoices .main-content,
.template-clientareainvoices .main-content.col-xs-12,
.template-clientareainvoices .main-content.col-md-9,
.template-clientareainvoices .main-content.pull-md-right,
.template-clientareainvoices .main-content.pull-md-left{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    left:auto!important;
    right:auto!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
}
.template-clientareainvoices #main-body>.container,
.template-clientareainvoices #main-body>.container-fluid{
    max-width:1220px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
.template-clientareainvoices .header-lined,
.template-clientareainvoices .sidebar,
.template-clientareainvoices .panel-sidebar{
    display:none!important;
}
.modern-invoices-page{
    width:100%;
    color:#0F1F3D;
}
.modern-invoices-toolbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin:0 0 18px;
}
.modern-invoices-title{
    display:flex;
    align-items:flex-end;
    gap:10px;
    min-width:0;
}
.modern-invoices-title h1{
    margin:0;
    color:#0F1F3D;
    font-size:28px;
    font-weight:850;
    letter-spacing:0;
    line-height:1.2;
}
.modern-invoices-title span{
    margin-bottom:3px;
    color:#8A94A6;
    font-size:14px;
    font-weight:650;
    line-height:1.5;
    white-space:nowrap;
}
.modern-invoices-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    min-width:0;
}
.modern-invoices-search{
    position:relative;
    width:260px;
    max-width:100%;
    margin:0;
}
.modern-invoices-search i{
    position:absolute;
    left:14px;
    top:50%;
    z-index:1;
    color:#94A3B8;
    font-size:14px;
    transform:translateY(-50%);
}
.modern-invoices-search input{
    width:100%;
    height:42px;
    padding:0 14px 0 38px;
    border:1px solid #DDE7F3;
    border-radius:12px;
    background:#FFFFFF;
    box-shadow:0 10px 22px rgba(15,23,42,.04);
    color:#0F1F3D;
    font-size:13px;
    font-weight:650;
    outline:none;
    transition:border-color .18s ease,box-shadow .18s ease;
}
.modern-invoices-search input:focus{
    border-color:#93C5FD;
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
}
.modern-invoices-search input::placeholder{
    color:#A4AEBD;
}
.modern-invoices-primary{
    height:42px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    border-radius:12px;
    background:linear-gradient(135deg,#2563EB,#14B8A6);
    box-shadow:0 12px 24px rgba(37,99,235,.20);
    color:#FFFFFF!important;
    font-size:14px;
    font-weight:850;
    text-decoration:none;
    white-space:nowrap;
}
.modern-invoices-primary:hover,
.modern-invoices-primary:focus{
    color:#FFFFFF!important;
    filter:saturate(1.06);
    box-shadow:0 16px 30px rgba(37,99,235,.26);
}
.modern-invoices-shell{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:18px;
    align-items:start;
}
.modern-invoices-main,
.modern-invoices-aside{
    min-width:0;
}
.modern-invoices-card,
.modern-invoice-side-card{
    border:1px solid #E5EAF2;
    border-radius:16px;
    background:#FFFFFF;
    box-shadow:0 16px 34px rgba(15,23,42,.06);
}
.modern-invoices-card{
    padding:16px;
}
.modern-invoices-filters{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin:0 0 14px;
}
.modern-invoices-filters a{
    min-height:34px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border:1px solid #E5EAF2;
    border-radius:10px;
    background:#F8FBFF;
    color:#64748B;
    font-size:13px;
    font-weight:800;
    line-height:1;
    text-decoration:none;
    transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.modern-invoices-filters a i{
    font-size:13px;
}
.modern-invoices-filters a b{
    min-width:22px;
    height:20px;
    padding:0 6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#EEF2F7;
    color:#64748B;
    font-size:12px;
    font-weight:850;
}
.modern-invoices-filters a:hover,
.modern-invoices-filters a:focus,
.modern-invoices-filters a.is-active{
    border-color:#93C5FD;
    background:#EFF6FF;
    color:#2563EB;
    box-shadow:0 8px 18px rgba(37,99,235,.08);
}
.modern-invoices-filters a.is-active b{
    background:#2563EB;
    color:#FFFFFF;
}
.modern-invoices-filters a[data-invoice-filter="paid"] i{
    color:#10B981;
}
.modern-invoices-filters a[data-invoice-filter="unpaid"] i{
    color:#F97316;
}
.modern-invoices-filters a[data-invoice-filter="cancelled"] i{
    color:#64748B;
}
.modern-invoices-filters a[data-invoice-filter="refunded"] i{
    color:#7C3AED;
}
.modern-invoice-table-container{
    padding:0!important;
    margin:0!important;
    overflow:visible;
}
.modern-invoices-page .dataTables_wrapper .dataTables_filter{
    display:none!important;
}
.modern-invoices-page .dataTables_wrapper .listtable,
.modern-invoices-page .dataTables_wrapper .table-list{
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_info{
    margin-top:12px!important;
    padding:8px 0!important;
    color:#8A94A6!important;
    font-size:13px!important;
    font-weight:650!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_length{
    margin-top:12px!important;
    padding:0!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_length label{
    color:#8A94A6!important;
    font-size:13px!important;
    font-weight:650!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_length select{
    height:32px!important;
    margin:0 6px!important;
    border:1px solid #DDE7F3!important;
    border-radius:8px!important;
    background:#FFFFFF!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_paginate{
    margin-top:12px!important;
    padding:0!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_paginate .pagination{
    margin:0!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_paginate .pagination>li>a,
.modern-invoices-page .dataTables_wrapper .dataTables_paginate .pagination>li>span{
    min-width:34px!important;
    height:34px!important;
    margin-left:6px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #DDE7F3!important;
    border-radius:8px!important;
    background:#FFFFFF!important;
    color:#64748B!important;
    font-size:13px!important;
    font-weight:750!important;
}
.modern-invoices-page .dataTables_wrapper .dataTables_paginate .pagination>.active>a,
.modern-invoices-page .dataTables_wrapper .dataTables_paginate .pagination>.active>span{
    border-color:#2563EB!important;
    background:#2563EB!important;
    color:#FFFFFF!important;
}
.modern-invoice-table{
    width:100%!important;
    margin:0!important;
    border-collapse:separate!important;
    border-spacing:0 8px!important;
}
.modern-invoice-table .responsive-edit-button{
    display:table-cell!important;
}
.modern-invoice-table.dtr-inline.collapsed>tbody>tr>td:first-child,
.modern-invoice-table.dtr-inline.collapsed>tbody>tr>th:first-child{
    padding-left:12px!important;
}
.modern-invoice-table.dtr-inline.collapsed>tbody>tr>td:first-child:before,
.modern-invoice-table.dtr-inline.collapsed>tbody>tr>th:first-child:before{
    display:none!important;
}
.modern-invoice-table thead th{
    padding:11px 12px!important;
    border:0!important;
    background:#F8FBFF!important;
    color:#64748B!important;
    font-size:12px!important;
    font-weight:850!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}
.modern-invoice-table thead th:first-child{
    border-left:1px solid #E5EAF2!important;
    border-radius:12px 0 0 12px!important;
}
.modern-invoice-table thead th:last-child{
    border-right:1px solid #E5EAF2!important;
    border-radius:0 12px 12px 0!important;
}
.modern-invoice-table tbody tr{
    cursor:pointer;
}
.modern-invoice-table tbody td{
    padding:13px 12px!important;
    border-top:1px solid #EEF2F7!important;
    border-bottom:1px solid #EEF2F7!important;
    background:#FFFFFF!important;
    color:#0F1F3D!important;
    font-size:13px!important;
    vertical-align:middle!important;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.modern-invoice-table tbody td:first-child{
    border-left:1px solid #EEF2F7!important;
    border-radius:14px 0 0 14px!important;
}
.modern-invoice-table tbody td:last-child{
    border-right:1px solid #EEF2F7!important;
    border-radius:0 14px 14px 0!important;
}
.modern-invoice-table tbody tr:hover td{
    border-color:#D8E6F7!important;
    background:#FBFDFF!important;
    box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.modern-invoice-id{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-items:center;
    gap:10px;
    min-width:190px;
}
.modern-invoice-icon{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#EFF6FF;
    color:#2563EB;
    font-size:14px;
}
.modern-invoice-id a{
    display:block;
    min-width:0;
    overflow:hidden;
    color:#2563EB!important;
    font-size:14px;
    font-weight:850;
    line-height:1.25;
    text-decoration:none;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.modern-invoice-id small{
    display:block;
    margin-top:3px;
    overflow:hidden;
    color:#8A94A6;
    font-size:12px;
    font-weight:650;
    line-height:1.3;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.modern-invoice-date{
    display:grid;
    gap:3px;
    min-width:108px;
}
.modern-invoice-date small{
    color:#9AA5B5;
    font-size:11px;
    font-weight:750;
    line-height:1;
}
.modern-invoice-date strong{
    color:#334155;
    font-size:13px;
    font-weight:750;
    line-height:1.2;
    white-space:nowrap;
}
.modern-invoice-total{
    display:block;
    color:#0F1F3D;
    font-size:14px;
    font-weight:850;
    white-space:nowrap;
}
.modern-invoice-status{
    min-height:26px;
    padding:0 10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    font-size:12px;
    font-weight:850;
    line-height:1;
    white-space:nowrap;
}
.modern-invoice-status.status-key-paid{
    background:#ECFDF5;
    color:#10B981;
}
.modern-invoice-status.status-key-unpaid{
    background:#FFF7ED;
    color:#F97316;
}
.modern-invoice-status.status-key-cancelled,
.modern-invoice-status.status-key-canceled{
    background:#F1F5F9;
    color:#64748B;
}
.modern-invoice-status.status-key-refunded{
    background:#F5F3FF;
    color:#7C3AED;
}
.modern-invoice-status:not(.status-key-paid):not(.status-key-unpaid):not(.status-key-cancelled):not(.status-key-canceled):not(.status-key-refunded){
    background:#EFF6FF;
    color:#2563EB;
}
.modern-invoice-actions-cell{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    white-space:nowrap;
}
.modern-invoice-action{
    height:32px;
    padding:0 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #DDE7F3;
    border-radius:10px;
    background:#FFFFFF;
    color:#2563EB!important;
    font-size:12px;
    font-weight:850;
    line-height:1;
    text-decoration:none;
}
.modern-invoice-action.is-pay{
    border-color:#FED7AA;
    background:#FFF7ED;
    color:#F97316!important;
}
.modern-invoice-more{
    width:32px;
    height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #DDE7F3;
    border-radius:10px;
    background:#FFFFFF;
    color:#64748B!important;
    font-size:13px;
    text-decoration:none;
}
.modern-invoice-action:hover,
.modern-invoice-action:focus,
.modern-invoice-more:hover,
.modern-invoice-more:focus{
    border-color:#93C5FD;
    background:#EFF6FF;
    color:#2563EB!important;
}
.modern-invoice-loading{
    padding:24px 0;
    color:#8A94A6;
    font-size:13px;
    font-weight:700;
}
.modern-invoices-aside{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.modern-invoice-side-card{
    padding:18px;
}
.modern-invoice-side-card h2{
    margin:0 0 16px;
    color:#0F1F3D;
    font-size:15px;
    font-weight:850;
    line-height:1.35;
}
.modern-invoice-side-card h2 i{
    margin-right:8px;
    color:#2563EB;
    font-size:14px;
}
.modern-invoice-stat-list{
    display:grid;
    gap:12px;
}
.modern-invoice-stat-list div{
    display:grid;
    grid-template-columns:30px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
}
.modern-invoice-stat-icon{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    font-size:12px;
}
.modern-invoice-stat-icon.stat-paid{
    background:#ECFDF5;
    color:#10B981;
}
.modern-invoice-stat-icon.stat-unpaid{
    background:#FFF7ED;
    color:#F97316;
}
.modern-invoice-stat-icon.stat-cancelled{
    background:#F1F5F9;
    color:#64748B;
}
.modern-invoice-stat-icon.stat-refunded{
    background:#F5F3FF;
    color:#7C3AED;
}
.modern-invoice-stat-list strong{
    color:#53627A;
    font-size:13px;
    font-weight:750;
}
.modern-invoice-stat-list b{
    min-width:26px;
    height:24px;
    padding:0 8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#F1F5F9;
    color:#0F1F3D;
    font-size:12px;
    font-weight:850;
}
.modern-invoice-total-box{
    margin-top:16px;
    padding:14px;
    display:grid;
    gap:5px;
    border:1px solid #DDE7F3;
    border-radius:14px;
    background:linear-gradient(135deg,#F8FBFF,#EFF6FF);
}
.modern-invoice-total-box span{
    color:#64748B;
    font-size:12px;
    font-weight:750;
}
.modern-invoice-total-box strong{
    color:#0F1F3D;
    font-size:18px;
    font-weight:850;
    line-height:1.25;
}
.modern-invoice-notice-card{
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:12px;
}
.modern-invoice-notice-icon{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:15px;
    background:#EFF6FF;
    color:#2563EB;
    font-size:17px;
}
.modern-invoice-notice-card h2{
    margin:0 0 6px;
}
.modern-invoice-notice-card p,
.modern-invoice-help-card p{
    margin:0;
    color:#8A94A6;
    font-size:13px;
    font-weight:650;
    line-height:1.7;
}
.modern-invoice-notice-card a{
    margin-top:12px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#2563EB!important;
    font-size:13px;
    font-weight:850;
    text-decoration:none;
}
.modern-invoice-help-card a{
    width:100%;
    height:40px;
    margin-top:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid #BFDBFE;
    border-radius:12px;
    background:#EFF6FF;
    color:#2563EB!important;
    font-size:13px;
    font-weight:850;
    text-decoration:none;
}
.modern-invoice-help-card a:hover,
.modern-invoice-help-card a:focus{
    background:#DBEAFE;
    color:#1D4ED8!important;
}

@media (min-width:768px){
    .template-clientareainvoices #wrapper{
        padding-left:250px!important;
    }
    .template-clientareainvoices #wrapper.toggled-2 #page-content-wrapper,
    .template-clientareainvoices #wrapper.toggled #page-content-wrapper{
        margin-left:0!important;
        padding-left:24px!important;
        width:auto!important;
    }
}
@media (max-width:1100px){
    .modern-invoices-toolbar{
        align-items:flex-start;
        flex-direction:column;
    }
    .modern-invoices-actions{
        width:100%;
        justify-content:space-between;
    }
    .modern-invoices-search{
        width:100%;
        flex:1 1 auto;
    }
    .modern-invoices-shell{
        grid-template-columns:1fr;
    }
    .modern-invoices-aside{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .modern-invoices-aside .modern-invoice-side-card:first-child{
        grid-column:1 / -1;
    }
}
@media (max-width:720px){
    .template-clientareainvoices #page-content-wrapper{
        padding:12px 14px 24px!important;
    }
    .modern-invoices-title{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }
    .modern-invoices-title h1{
        font-size:24px;
    }
    .modern-invoices-title span{
        margin:0;
        white-space:normal;
    }
    .modern-invoices-actions{
        align-items:stretch;
        flex-direction:column;
    }
    .modern-invoices-primary{
        width:100%;
    }
    .modern-invoices-card{
        padding:12px;
    }
    .modern-invoices-filters{
        gap:8px;
    }
    .modern-invoices-filters a{
        min-height:32px;
        padding:0 9px;
    }
    .modern-invoice-table,
    .modern-invoice-table thead,
    .modern-invoice-table tbody,
    .modern-invoice-table th,
    .modern-invoice-table td,
    .modern-invoice-table tr{
        display:block!important;
    }
    .modern-invoice-table thead{
        display:none!important;
    }
    .modern-invoice-table{
        border-spacing:0!important;
    }
    .modern-invoice-table tbody tr{
        margin-bottom:10px;
        border:1px solid #E5EAF2;
        border-radius:14px;
        background:#FFFFFF;
        box-shadow:0 10px 22px rgba(15,23,42,.04);
        overflow:hidden;
    }
    .modern-invoice-table tbody td{
        width:100%!important;
        padding:10px 12px!important;
        border:0!important;
        border-radius:0!important;
        box-shadow:none!important;
    }
    .modern-invoice-id{
        min-width:0;
    }
    .modern-invoice-id small{
        white-space:normal;
    }
    .modern-invoice-date{
        grid-template-columns:auto 1fr;
        align-items:center;
        min-width:0;
    }
    .modern-invoice-actions-cell{
        justify-content:flex-start;
    }
    .modern-invoice-action{
        flex:1 1 auto;
    }
    .modern-invoices-aside{
        grid-template-columns:1fr;
    }
}


/* DNSHE account operations shared UI: payment methods, service details, upgrades */
.modern-ops-page{
    --ops-surface:#FFFFFF;
    --ops-border:#E3ECF8;
    --ops-text:#0F1F3D;
    --ops-muted:#64748B;
    --ops-primary:#2563EB;
    --ops-success:#059669;
    --ops-warning:#D97706;
    --ops-danger:#DC2626;
    --ui-surface:var(--ops-surface);
    --ui-border:var(--ops-border);
    --ui-text:var(--ops-text);
    --ui-danger:var(--ops-danger);
    max-width:1240px;
    margin:0 auto;
    padding:6px 0 34px;
    color:var(--ops-text);
}
.modern-ops-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:16px;
    padding:24px 26px;
    border:1px solid var(--ops-border);
    border-radius:16px;
    background:linear-gradient(135deg,#FFFFFF 0%,#F7FBFF 58%,#EFF6FF 100%);
    box-shadow:0 10px 24px rgba(15,23,42,.045);
}
.modern-ops-kicker{
    display:inline-flex;
    align-items:center;
    height:24px;
    padding:0 10px;
    border-radius:999px;
    background:#EFF6FF;
    color:var(--ops-primary);
    font-size:12px;
    font-weight:850;
}
.modern-ops-hero h1{
    margin:10px 0 8px;
    color:var(--ops-text);
    font-size:28px;
    line-height:1.22;
    font-weight:900;
    letter-spacing:0;
}
.modern-ops-hero p{
    margin:0;
    color:var(--ops-muted);
    font-size:14px;
    line-height:1.6;
    font-weight:650;
}
.modern-ops-actions,
.modern-ops-form-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
}
.modern-ops-card{
    margin-bottom:16px;
    padding:18px;
}
.modern-ops-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}
.modern-ops-section-head h2{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0;
    color:var(--ops-text);
    font-size:17px;
    line-height:1.3;
    font-weight:900;
}
.modern-ops-section-head h2 i{
    color:var(--ops-primary);
}
.modern-ops-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-bottom:16px;
}
.modern-ops-summary article{
    display:flex;
    align-items:center;
    gap:14px;
    min-height:88px;
    padding:17px;
}
.modern-ops-summary article>span,
.modern-payment-icon,
.modern-service-status-icon,
.modern-ops-empty>span{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    color:var(--ops-primary);
    background:#EFF6FF;
}
.modern-ops-summary .is-blue{
    color:#0284C7;
    background:#F0F9FF;
}
.modern-ops-summary strong{
    display:block;
    color:var(--ops-text);
    font-size:22px;
    line-height:1.1;
    font-weight:900;
}
.modern-ops-summary small{
    display:block;
    margin-top:4px;
    color:var(--ops-muted);
    font-size:12px;
    font-weight:750;
}
.modern-ops-empty{
    padding:34px 18px;
    text-align:center;
}
.modern-ops-empty>span{
    margin:0 auto 12px;
}
.modern-ops-empty strong{
    display:block;
    color:var(--ops-text);
    font-size:15px;
    font-weight:900;
}
.modern-ops-alert{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
    padding:14px 16px;
}
.modern-ops-alert>div{
    display:flex;
    align-items:center;
    gap:10px;
    color:#52637A;
    font-size:13px;
    font-weight:700;
}
.modern-ops-alert i{color:var(--ops-warning)}
.modern-ops-alert.danger i{color:var(--ops-danger)}
.modern-ops-alert a{
    color:var(--ops-primary);
    font-weight:850;
}
.modern-ops-muted{
    margin:12px 0 0;
    color:var(--ops-muted);
    font-size:13px;
    font-weight:650;
}
.modern-ops-modal .modal-content{
    border:1px solid var(--ops-border);
    border-radius:16px;
    box-shadow:0 16px 36px rgba(15,23,42,.12);
    overflow:hidden;
}
.modern-ops-modal .modal-footer{
    display:flex;
    justify-content:flex-end;
    gap:10px;
}
.modern-payment-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.modern-payment-card{
    display:grid;
    grid-template-columns:46px minmax(220px,1fr) minmax(130px,.5fr) auto;
    gap:14px;
    align-items:center;
    padding:15px;
    border:1px solid var(--ops-border);
    border-radius:14px;
    background:#F8FBFF;
}
.modern-payment-card.is-default{
    border-color:#BFDBFE;
    background:#F7FBFF;
}
.modern-payment-main h3,
.modern-upgrade-package h3,
.modern-service-addon-list h3,
.modern-service-download-list h3{
    margin:0;
    color:var(--ops-text);
    font-size:16px;
    line-height:1.3;
    font-weight:900;
}
.modern-payment-main p{
    margin:5px 0 0;
    color:var(--ops-muted);
    font-size:13px;
    font-weight:650;
}
.modern-payment-status span{
    display:block;
    color:var(--ops-text);
    font-size:13px;
    font-weight:850;
}
.modern-payment-status small{
    display:inline-flex;
    margin-top:5px;
    padding:3px 8px;
    border-radius:999px;
    background:#ECFDF5;
    color:#047857;
    font-size:11px;
    font-weight:850;
}
.modern-payment-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    flex-wrap:wrap;
}
.modern-upgrade-current{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    padding:14px;
    border:1px solid var(--ops-border);
    border-radius:14px;
    background:#F8FBFF;
}
.modern-upgrade-current span{
    color:var(--ops-primary);
    font-size:12px;
    font-weight:850;
}
.modern-upgrade-current strong{
    color:var(--ops-text);
    font-size:18px;
    font-weight:900;
}
.modern-upgrade-current small{
    color:var(--ops-muted);
    font-size:13px;
    font-weight:700;
}
.modern-upgrade-package-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.modern-upgrade-package{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:16px;
    min-height:220px;
    padding:17px;
    border:1px solid var(--ops-border);
    border-radius:14px;
    background:#F8FBFF;
}
.modern-upgrade-package-main span{
    display:inline-flex;
    margin-bottom:8px;
    color:var(--ops-primary);
    font-size:12px;
    font-weight:850;
}
.modern-upgrade-package-main p{
    margin:8px 0 0;
    color:var(--ops-muted);
    font-size:13px;
    line-height:1.6;
    font-weight:650;
}
.modern-upgrade-form{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
}
.modern-upgrade-price{
    min-width:170px;
}
.modern-upgrade-price strong{
    display:block;
    color:var(--ops-text);
    font-size:17px;
    font-weight:900;
}
.modern-upgrade-price small{
    color:var(--ops-muted);
    font-size:12px;
    font-weight:700;
}
.modern-upgrade-config-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.modern-upgrade-config-list article{
    display:grid;
    grid-template-columns:minmax(240px,.9fr) minmax(260px,1fr);
    gap:14px;
    align-items:center;
    padding:15px;
    border:1px solid var(--ops-border);
    border-radius:14px;
    background:#F8FBFF;
}
.modern-upgrade-config-name strong{
    display:block;
    color:var(--ops-text);
    font-size:15px;
    font-weight:900;
}
.modern-upgrade-config-name small,
.modern-upgrade-config-new small{
    display:block;
    margin:6px 0;
    color:#94A3B8;
    font-size:11px;
    font-weight:850;
    text-transform:uppercase;
}
.modern-upgrade-config-name span{
    color:var(--ops-muted);
    font-size:13px;
    font-weight:700;
}
.modern-upgrade-checkbox,
.modern-upgrade-qty{
    display:flex;
    align-items:center;
    gap:10px;
}
.modern-upgrade-qty input{
    max-width:110px;
}
.modern-service-overview{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-bottom:16px;
}
.modern-service-overview article{
    min-height:92px;
    padding:17px;
}
.modern-service-overview article span,
.modern-service-info-grid span,
.modern-service-password-form label>span{
    display:block;
    margin-bottom:6px;
    color:#94A3B8;
    font-size:11px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.02em;
}
.modern-service-overview article strong,
.modern-service-info-grid strong{
    display:block;
    color:var(--ops-text);
    font-size:15px;
    line-height:1.35;
    font-weight:900;
    overflow-wrap:anywhere;
}
.modern-service-status-card{
    display:flex;
    align-items:center;
    gap:13px;
}
.modern-service-status-card.status-active .modern-service-status-icon{
    color:var(--ops-success);
    background:#ECFDF5;
}
.modern-service-status-card.status-suspended .modern-service-status-icon,
.modern-service-overview article.is-warning{
    color:var(--ops-warning);
    background:#FFFBEB;
}
.modern-service-tabs{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:0 0 14px;
    padding:8px;
    border:1px solid var(--ops-border);
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 18px rgba(15,23,42,.035);
}
.modern-service-tabs.secondary{
    margin-top:16px;
}
.modern-service-tabs a{
    height:36px;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:0 12px;
    border-radius:10px;
    color:#52637A;
    font-size:13px;
    font-weight:850;
    text-decoration:none;
}
.modern-service-tabs a:hover,
.modern-service-tabs a.active{
    background:#EFF6FF;
    color:var(--ops-primary);
}
.modern-service-info-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.modern-service-info-grid>div{
    padding:14px;
    border:1px solid var(--ops-border);
    border-radius:12px;
    background:#F8FBFF;
}
.modern-service-module-output{
    margin-top:14px;
}
.modern-service-usage-grid,
.modern-service-addon-list,
.modern-service-download-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.modern-service-usage-grid>div,
.modern-service-addon-list article,
.modern-service-download-list article{
    padding:15px;
    border:1px solid var(--ops-border);
    border-radius:14px;
    background:#F8FBFF;
}
.modern-service-usage-grid h3{
    margin:0 0 10px;
    color:var(--ops-muted);
    font-size:13px;
    font-weight:850;
}
.modern-service-usage-grid strong{
    color:var(--ops-primary);
    font-size:24px;
    font-weight:900;
}
.modern-service-usage-grid p,
.modern-service-addon-list p,
.modern-service-download-list p{
    margin:8px 0 0;
    color:var(--ops-muted);
    font-size:13px;
    line-height:1.55;
    font-weight:650;
}
.modern-service-addon-list article>div:first-child{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}
.modern-service-addon-actions{
    margin-top:12px;
}
.modern-service-addon-actions .btn,
.modern-service-module-output .btn,
.modern-service-renew-card .btn,
.modern-service-renew-card a{
    border-radius:10px!important;
}
.modern-service-password-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}
.modern-service-password-form .modern-ops-form-actions{
    grid-column:1 / -1;
    justify-content:flex-start;
}

/* SaaS payment gateway redirect page */
body.template-forwardpage{
    overflow-x:hidden;
    background:#F5F8FC;
    font-family:Inter,system-ui,"PingFang SC","Microsoft YaHei",sans-serif;
    color:#0F1F3D;
}
.template-forwardpage #page-content-wrapper{
    overflow:visible;
    background:#F5F8FC;
}
.template-forwardpage #main-body > .container,
.template-forwardpage #main-body .main-content{
    width:100%;
    max-width:100%;
}
.template-forwardpage .header-lined,
.template-forwardpage .breadcrumb{
    display:none;
}
.modern-payment-forward-page{
    min-height:calc(100vh - 170px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:32px 20px 48px;
}
.modern-payment-forward-card{
    position:relative;
    width:min(100%,760px);
    padding:34px 34px 30px;
    overflow:hidden;
    border:1px solid #E2EAF5;
    border-radius:18px;
    background:linear-gradient(145deg,#FFFFFF 0%,#F8FBFF 100%);
    box-shadow:0 16px 36px rgba(15,23,42,.055);
    text-align:center;
}
.modern-payment-forward-card:before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(37,99,235,.045) 1px,transparent 1px),
        linear-gradient(90deg,rgba(37,99,235,.045) 1px,transparent 1px);
    background-size:34px 34px;
    opacity:.45;
}
.modern-payment-forward-card > *{
    position:relative;
    z-index:1;
}
.modern-payment-forward-orbit{
    position:relative;
    width:82px;
    height:82px;
    margin:0 auto 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:linear-gradient(180deg,#FFFFFF,#EFF6FF);
    box-shadow:inset 0 0 0 1px #DBEAFE,0 10px 22px rgba(37,99,235,.10);
}
.modern-payment-forward-orbit span{
    position:absolute;
    inset:-10px;
    border:1px solid rgba(37,99,235,.14);
    border-radius:50%;
    animation:paymentForwardPulse 2.8s ease-out infinite;
}
.modern-payment-forward-orbit span:nth-child(2){
    inset:-20px;
    animation-delay:.7s;
}
.modern-payment-forward-orbit i{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:#2563EB;
    color:#FFFFFF;
    font-size:20px;
}
.modern-payment-forward-head{
    max-width:560px;
    margin:0 auto;
}
.modern-payment-forward-badge{
    height:28px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:0 12px;
    border:1px solid #BFDBFE;
    border-radius:999px;
    background:#EFF6FF;
    color:#2563EB;
    font-size:12px;
    font-weight:850;
}
.modern-payment-forward-head h1{
    margin:16px 0 10px;
    color:#0F1F3D;
    font-size:30px;
    font-weight:900;
    line-height:1.2;
    letter-spacing:0;
}
.modern-payment-forward-head p{
    margin:0;
    color:#64748B;
    font-size:15px;
    font-weight:650;
    line-height:1.7;
}
.modern-payment-forward-progress{
    width:min(100%,420px);
    height:10px;
    margin:26px auto 18px;
    overflow:hidden;
    border-radius:999px;
    background:#E6EEF9;
}
.modern-payment-forward-progress span{
    display:block;
    width:38%;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#2563EB,#38BDF8);
    animation:paymentForwardBar 2.4s ease-in-out infinite;
}
.modern-payment-forward-message{
    max-width:620px;
    margin:0 auto 18px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    gap:9px;
    padding:12px 14px;
    border:1px solid #BFDBFE;
    border-radius:14px;
    background:#EFF6FF;
    color:#1E5AA8;
    font-size:14px;
    font-weight:700;
    line-height:1.55;
}
.modern-payment-forward-message i{
    margin-top:2px;
    color:#2563EB;
}
.modern-payment-forward-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin:20px 0;
}
.modern-payment-forward-grid article{
    min-height:112px;
    padding:16px 14px;
    border:1px solid #E6EDF5;
    border-radius:14px;
    background:rgba(255,255,255,.86);
    text-align:left;
}
.modern-payment-forward-grid article > i{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:11px;
    border-radius:10px;
    background:#EFF6FF;
    color:#2563EB;
}
.modern-payment-forward-grid strong{
    display:block;
    color:#0F1F3D;
    font-size:14px;
    font-weight:900;
}
.modern-payment-forward-grid p{
    margin:6px 0 0;
    color:#64748B;
    font-size:12px;
    font-weight:650;
    line-height:1.55;
}
.modern-payment-forward-actions{
    margin-top:10px;
    padding-top:20px;
    border-top:1px solid #E6EDF5;
}
.modern-payment-forward-actions > p{
    margin:0 0 14px;
    color:#64748B;
    font-size:13px;
    font-weight:700;
}
.modern-payment-forward-form{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.modern-payment-forward-form form{
    margin:0;
}
.modern-payment-forward-form input[type="submit"],
.modern-payment-forward-form button,
.modern-payment-forward-form .btn{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 20px;
    border:1px solid #2563EB;
    border-radius:11px;
    background:#2563EB;
    color:#FFFFFF;
    font-size:14px;
    font-weight:850;
    line-height:1;
    text-decoration:none;
    box-shadow:0 8px 18px rgba(37,99,235,.14);
    cursor:pointer;
}
.modern-payment-forward-form input[type="submit"]:hover,
.modern-payment-forward-form button:hover,
.modern-payment-forward-form .btn:hover{
    border-color:#1D4ED8;
    background:#1D4ED8;
    color:#FFFFFF;
}
@keyframes paymentForwardPulse{
    0%{transform:scale(.86);opacity:.58}
    100%{transform:scale(1.18);opacity:0}
}
@keyframes paymentForwardBar{
    0%{transform:translateX(-110%)}
    55%{transform:translateX(85%)}
    100%{transform:translateX(250%)}
}
@media (prefers-reduced-motion:reduce){
    .modern-payment-forward-orbit span,
    .modern-payment-forward-progress span{
        animation:none;
    }
}

@media (max-width:980px){
    .modern-ops-hero{
        align-items:flex-start;
        flex-direction:column;
    }
    .modern-ops-actions{
        justify-content:flex-start;
    }
    .modern-payment-card{
        grid-template-columns:46px 1fr;
    }
    .modern-payment-status,
    .modern-payment-actions{
        grid-column:2;
        justify-content:flex-start;
    }
    .modern-upgrade-package-grid,
    .modern-service-overview,
    .modern-service-usage-grid,
    .modern-service-addon-list,
    .modern-service-download-list{
        grid-template-columns:1fr;
    }
}
@media (max-width:720px){
    .modern-ops-summary,
    .modern-upgrade-config-list article,
    .modern-service-info-grid,
    .modern-service-password-form{
        grid-template-columns:1fr;
    }
    .modern-upgrade-form{
        align-items:stretch;
        flex-direction:column;
    }
    .modern-upgrade-price{
        min-width:0;
    }
    .modern-payment-forward-page{
        min-height:auto;
        padding:22px 12px 32px;
    }
    .modern-payment-forward-card{
        padding:28px 18px 22px;
        border-radius:16px;
    }
    .modern-payment-forward-orbit{
        width:72px;
        height:72px;
    }
    .modern-payment-forward-orbit i{
        width:44px;
        height:44px;
        border-radius:14px;
    }
    .modern-payment-forward-head h1{
        font-size:24px;
    }
    .modern-payment-forward-grid{
        grid-template-columns:1fr;
    }
    .modern-payment-forward-grid article{
        min-height:0;
    }
}
