/*
Theme Name: Tax Consultant
Theme URI: https://innovionconsultancy.com/dev/tax-consultant
Description: Tax Consultant
Author: Tax Consultant
Author URI: https://innovionconsultancy.com/dev/tax-consultant
Tags: wordpress, theme, ecommerce
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
Text Domain: audditio
Version: 1.0.0-beta
*/
.gst_wrap,
.incometax_wrap,
.gst_popup_wrap,
.it_popup_wrap,
.imported_table_wrap {
    display: none;
}

.pagination .disabled a {
    color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .disabled a:hover {
    background-color: #ddd;
    border-color: #ddd;
}

/* Robust Global Dropdown Styles */
#global-combo-dropdown {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ced4da;
    max-height: 250px;
    overflow-y: auto;
    z-index: 999999;
    /* Float above everything, including tables */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.combo-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
    text-align: left;
    transition: background 0.1s;
}

.combo-item:last-child {
    border-bottom: none;
}

.combo-item:hover,
.combo-item-active {
    background-color: #007bff;
    color: #fff;
}

.combo-item-empty {
    padding: 10px 12px;
    color: #999;
    font-size: 13px;
    font-style: italic;
    text-align: left;
}

/* =========================================
   Modern Dashboard Redesign
   ========================================= */

/* Header Area */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #edf2f9;
}

.dashboard-header .header-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-header .icon-wrapper {
    width: 45px;
    height: 45px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    font-size: 20px;
}

.dashboard-header .bill-menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dashboard-header .bill-menu-toggle:hover {
    background: #172033;
    border-color: #172033;
    color: #fff;
}

.dashboard-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--blue);
    font-weight: 600;
}

.dashboard-header .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 25%;
}

/* Buttons */
.btn-outline {
    background: transparent !important;
    border: 1px solid #d1d9e6 !important;
    color: #4b5563 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-settings {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.btn-settings:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: rotate(15deg);
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Dashboard Cards (Tiles) */
.dash-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #edf2f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.dash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
    border-color: #d1d9e6;
}

.dash-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.dash-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 50px;
}

.dash-card .card-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.dash-card .card-content p {
    margin: 0 0 5px;
    font-size: 13px;
    color: #64748b;
}

.bill-action-card {
    align-items: flex-start;
    min-height: 154px;
}

.bill-action-card .card-content {
    width: 100%;
    min-width: 0;
}

.bill-card-actions {
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: row;
    gap: 8px;
    margin-top: 16px;
}

.bill-card-actions a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 3px 8px;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    background: #f8fafc;
    color: #172033;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.bill-card-actions a:hover {
    background: var(--blue);
    border-color: #172033;
    color: #fff;
}

/* Card Color Variations */
.card-blue::before {
    background: #007bff;
}

.card-blue .card-icon {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.card-cyan::before {
    background: #17a2b8;
}

.card-cyan .card-icon {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.card-green::before {
    background: #10b981;
}

.card-green .card-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card-amber::before {
    background: #f59e0b;
}

.card-amber .card-icon {
    background: rgba(245, 158, 11, 0.13);
    color: #b45309;
}

.card-teal::before {
    background: #0d9488;
}

.card-teal .card-icon {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.card-purple::before {
    background: #8b5cf6;
}

.card-purple .card-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.card-red::before {
    background: #ef4444;
}

.card-red .card-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.card-dark::before {
    background: #334155;
}

.card-dark .card-icon {
    background: rgba(51, 65, 85, 0.1);
    color: #334155;
}

.bill-dashboard-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.bill-dashboard-menu {
    position: fixed;
    top: 0;
    left: 0%;
    z-index: 9998;
    width: 340px;
    max-width: calc(100vw - 28px);
    height: 100vh;
    background: #fff;
    border-right: 1px solid #dce4ee;
    box-shadow: 14px 0 30px rgba(15, 23, 42, 0.16);
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    display: flex;
    flex-direction: column;
}

body.bill-menu-open .bill-dashboard-menu {
    transform: translateX(0);
    left: 0;
}

body.bill-menu-open .bill-dashboard-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.bill-dashboard-menu-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid #edf1f5;
    background: #172033;
    color: #fff;
}

.bill-dashboard-menu-head span,
.bill-tree-menu h3 {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bill-dashboard-menu-head strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    line-height: 1.25;
}

.bill-menu-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.bill-tree-menu {
    overflow-y: auto;
    padding: 18px 18px 28px;
}

.bill-menu-shortcuts {
    display: grid;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid #edf1f5;
    background: #f8fafc;
}

.bill-menu-shortcuts a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #172033;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.bill-menu-shortcuts a:hover {
    background: #eef3f8;
    color: #2f80ed;
}

.paytx-nav--bill-dashboard {
    gap: 10px;
}

.paytx-nav--bill-dashboard .paytx-bill-menu-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .25) transparent;
}

.paytx-nav--bill-dashboard .paytx-bill-menu-wrap::-webkit-scrollbar {
    width: 6px;
}

.paytx-nav--bill-dashboard .paytx-bill-menu-wrap::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: rgba(255, 255, 255, .22);
}

.paytx-nav--bill-dashboard .bill-menu-shortcuts {
    margin: 0 0 8px;
    padding: 0 0 12px;
    border-bottom-color: rgba(255, 255, 255, .08);
    background: transparent;
}

.paytx-nav--bill-dashboard .bill-menu-shortcuts a,
.paytx-nav--bill-dashboard .bill-tree-menu a {
    color: #c8d3e0;
}

.paytx-nav--bill-dashboard .bill-tree-parent,
.paytx-nav--bill-dashboard .bill-tree-children a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.paytx-nav--bill-dashboard .bill-tree-parent {
    padding: 0px 8px;
}
.paytx-nav--bill-dashboard .bill-tree-icon {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    font-size: 15px;
}

.paytx-nav--bill-dashboard .bill-menu-shortcuts a:hover,
.paytx-nav--bill-dashboard .bill-tree-menu a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.paytx-nav--bill-dashboard .paytx-sidebar-bill-title {
    margin: 2px 0 6px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(47, 128, 237, .15);
}

.paytx-nav--bill-dashboard .paytx-sidebar-bill-title span {
    display: block;
    color: #91a4bc;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.paytx-nav--bill-dashboard .paytx-sidebar-bill-title strong {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.paytx-nav--bill-dashboard .bill-tree-menu {
    padding: 0;
}

.paytx-nav--bill-dashboard .bill-tree-menu h3 {
    margin: 14px 0 7px;
    color: #91a4bc;
}

.paytx-nav--bill-dashboard .bill-tree-item {
    margin-bottom: 6px;
}

.paytx-nav--bill-dashboard .bill-tree-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
    width: 100%;
}

.paytx-nav--bill-dashboard .bill-tree-row .bill-tree-parent {
    flex: 1 1 auto;
    min-width: 0;
}

.paytx-nav--bill-dashboard .bill-tree-toggle {
    flex: 0 0 44px;
    width: 44px;
    min-height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #c8d3e0;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.paytx-nav--bill-dashboard .bill-tree-toggle:hover,
.paytx-nav--bill-dashboard .bill-tree-item.is-open > .bill-tree-row .bill-tree-toggle {
    background: rgba(47, 128, 237, .35);
    color: #fff;
}

.paytx-nav--bill-dashboard .bill-tree-item.is-open > .bill-tree-row > .bill-tree-parent {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.paytx-nav--bill-dashboard .bill-tree-item.is-open > .bill-tree-row .bill-tree-toggle i {
    transform: rotate(180deg);
}

.paytx-nav--bill-dashboard .bill-tree-children {
    display: none;
    gap: 4px;
    margin: 5px 0 8px 16px;
    padding: 6px 0 6px 0px;
    position: relative;
}

.paytx-nav--bill-dashboard .bill-tree-children::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;
    width: 2px;
    border-radius: 999px;
    /*background: linear-gradient(180deg, rgba(47, 128, 237, .85), rgba(92, 200, 59, .72));*/
}

.paytx-nav--bill-dashboard .bill-tree-item.is-open > .bill-tree-children {
    display: grid;
}

.paytx-nav--bill-dashboard .bill-tree-children a {
    min-height: 32px;
    padding: 2px 9px;
    font-size: 12px;
}

.paytx-nav--bill-dashboard .bill-tree-menu a.is-active {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.paytx-nav--bill-dashboard .paytx-bill-sidebar-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

.paytx-nav--bill-dashboard .paytx-bill-sidebar-footer .paytx-nav-extra,
.paytx-nav--bill-dashboard .paytx-bill-sidebar-footer .paytx-logout-link {
    min-height: 44px;
    width: 50%;
    margin-top: 0;
    padding: 10px 12px;
    border: 1px solid #cccccc64;
    border-radius: 8px;
    color: #c8d3e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    flex-shrink: 0;
}

.paytx-nav--bill-dashboard .paytx-bill-sidebar-footer .paytx-nav-extra:hover,
.paytx-nav--bill-dashboard .paytx-bill-sidebar-footer .paytx-logout-link:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.paytx-nav--bill-dashboard .paytx-bill-sidebar-footer .paytx-logout-link:hover {
    color: #ff6b6b !important;
}

.paytx-nav--bill-dashboard .paytx-bill-sidebar-footer i {
    width: 18px;
    flex: 0 0 18px;
    text-align: center;
    font-size: 15px;
}

.bill-tree-menu section+section {
    margin-top: 22px;
}

.bill-tree-menu h3 {
    margin: 0 0 10px;
    color: #66758a;
}

.bill-tree-item {
    /* border-left: 2px solid #dce4ee; */
    padding-left: 12px;
    margin-left: 0;
}

.bill-tree-item+.bill-tree-item {
    margin-top: 12px;
}

.bill-tree-parent {
    display: flex;
    align-items: center;
    min-height: 38px;
    border-radius: 8px;
    color: #172033;
    font-weight: 800;
    text-decoration: none;
}

.bill-tree-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bill-tree-row .bill-tree-parent {
    flex: 1 1 auto;
    min-width: 0;
}

.bill-tree-toggle {
    flex: 0 0 38px;
    width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4b5b71;
    cursor: pointer;
}

.bill-tree-children {
    display: grid;
    gap: 6px;
    margin: 8px 0 0 12px;
    padding-left: 14px;
    position: relative;
}

.bill-tree-children::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 2px;
    border-radius: 999px;
    /*background: linear-gradient(180deg, rgba(47, 128, 237, .85), rgba(92, 200, 59, .72));*/
}

.bill-tree-children a {
    color: #4b5b71;
    font-size: 13px;
    text-decoration: none;
}

.bill-tree-parent:hover,
.bill-tree-children a:hover {
    color: #2368d1;
}


/* =========================================
   Unified Settings Modal
   ========================================= */
.modern-modal-overlay {
    position: fixed;
    top: 0;
    left: 10%;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-modal {
    background: #fff;
    width: 850px;
    max-width: 95%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.close-modal {
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #ef4444;
}

.modal-body.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    padding: 25px;
    overflow-y: auto;
}

.settings-card {
    background: #fff;
    height: 100%;
}

.settings-col {
    display: grid;
    gap: 18px;
    align-content: start;
}

.settings-col .settings-card {
    height: auto;
}

.details-col .settings-card {
    height: 100%;
}

.settings-card h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
}

.text-muted {
    color: #64748b;
    font-size: 12px;
    margin-bottom: 15px;
}

/* Logo Upload Area inside Modal */
.logo-preview-box {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #f8fafc;
    margin-bottom: 15px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-preview-box img {
    max-height: 100px;
    max-width: 100%;
    border-radius: 6px;
}

#no_logo_text {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

#no_logo_text i,
#no_sign_text i {
    font-size: 24px;
    margin-bottom: 5px;
}

#no_sign_text {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

/* Form Controls */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.modern-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: #fdfdfd;
}

.modern-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.file-input {
    margin-bottom: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
}

.file-input::file-selector-button {
    margin-right: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: #2549e8;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-full {
    width: 100%;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.msg-box {
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

.msg-box.success {
    color: #10b981;
}

.msg-box.error {
    color: #ef4444;
}

.success-text {
    color: #10b981;
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

.pull-left {
    margin-right: auto;
}

/* ==================================================
 * MOBILE SIDEBAR & BILLING TRIGGER ADJUSTMENTS
 * ================================================== */
.paytx-mobile-nav-close {
    display: none;
    /* Hidden on desktop */
    position: absolute;
    top: 15px;
    left: 80% !important;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
}

.mobile-bill-menu-trigger {
    display: none !important;
    /* Hidden on desktop */
}


/* LOGIN */
/* Container Layout Integration */
.paytx-login {
    display: flex;
    min-height: 100vh;
}

/* ----------------------------------------------------
   Left Panel Styling Rules
---------------------------------------------------- */

/* Polka dot grid texture */
.paytx-login-panel::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    pointer-events: none;
}

.paytx-login-brand img,
.paytx-login-brand svg {
    max-height: 40px;
    width: auto;
}

.paytx-login-copy {
   margin: 20px 0; 
}

.paytx-login-copy h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 12px;
}

.paytx-login-copy h1 span {
    color: #2549e8;
}

.paytx-login-copy p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    max-width:600px;
}

/* New Image Graphic Layout Styles */
.paytx-visual-image-container {
    width: 100%;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.paytx-dashboard-img {
    width: 100%;
    max-width: 380px;
    height: 280px;
    border-radius: 16px;
    /* box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); */
    display: block;
}

/* Services List UI Blueprint */
.paytx-services-wrap {
    margin-top: 15px;
}

.services-heading {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.service-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-icon {
    /* width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px; */
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    /* Smooth, vibrant purple icon color */
    color: #a855f7;

    /* Semi-transparent dark indigo/purple base background */
    background: linear-gradient(135deg, rgba(28, 32, 94, 0.6) 0%, rgba(18, 17, 61, 0.7) 100%);

    /* Fine top border to give it that crisp 3D glass edge */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.service-info .title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.service-info .desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

.service-arrow {
    font-size: 11px;
    color: #334155;
    transition: transform 0.2s;
}

.service-item:hover .service-arrow {
    transform: translateX(2px);
    color: #64748b;
}

/* Trust Badges Footer Area */
.paytx-login-panel .paytx-login-foots {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    margin-top: 20px;
}

.feat-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 20%;
    padding: 10px 0;
}

.feat-box i {
    font-size: 15px;
    /* color: #3b82f6; */
    /* margin-bottom: 6px; */
}

.feat-box h4 {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.feat-box p {
    font-size: 10px;
    color: #64748b;
    margin: 2px 0 0 0;
}

/* ----------------------------------------------------
   Right Panel Integration Layout Guarantee
---------------------------------------------------- */
.paytx-login-card {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #020b24 0%, #03164c 100%);
    color: #ffffff;
}

/* Target the table rows inside your orders section */
/* 1st row, 3rd row, 5th row, etc. -> White background */
tr:nth-child(odd) {
    background-color: #ffffff;
}

/* 2nd row, 4th row, 6th row, etc. -> Light Grey background */
tr:nth-child(even) {
    background-color: #f2f2f2; /* A clean, subtle light grey */
}

/* Optional: Smooth transition if you have hover effects */
tr {
    transition: background-color 0.2s ease;
}

/* ==================================================
 * AUTH, LIST ACTIONS & SIDEBAR POLISH
 * Keep project-specific overrides in the theme root.
 * ================================================== */
body .paytx-login .paytx-right-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

body .paytx-login .paytx-right-logo-wrapper img,
body .paytx-login .paytx-right-logo-wrapper svg {
    width: auto;
    max-width: 180px;
    max-height: 54px;
    object-fit: contain;
}


body .paytx-login .paytx-secondary-auth-button:hover,
body .paytx-login .paytx-secondary-auth-button:focus {
    border: 1px solid #165f65 !important;
    background: #fff !important;
    color: #165f65 !important;
}

body .paytx-login .paytx-forgot-login-actions {
    width: 100%;
    margin: 0 0 16px;
}

body .paytx-login .paytx-back-to-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border: 1px solid #2549e8;
    border-radius: 8px;
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
    background: #5897fb;
}

body .paytx-login .paytx-back-to-login:hover,
body .paytx-login .paytx-back-to-login:focus {
    background: #fff;
    color: #172033;
}

.bill-module-page .bill-filter-bar .paytx-print-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.bill-module-page .bill-filter-bar .res_add {
    flex-wrap: wrap;
}

.bill-module-page .bill-filter-bar .paytx-print-all{
    background: #d6abfb !important;
    color: #7038b7;
}
.bill-module-page .bill-filter-bar .paytx-print-selected {
    background: #3ca950;
}

.bill-module-page .bill-filter-bar .paytx-print-action:hover,
.bill-module-page .bill-filter-bar .paytx-print-action:focus {
    filter: brightness(.92);
    color: #fff;
}

body .paytx-portal .paytx-customer-sidebar > .paytx-mobile-nav-close {
    display: none !important;
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
}

body.paytx-admin-portal .paytx-admin-core-links {
    display: grid;
    gap: 4px;
    margin-bottom: 4px;
}

body.paytx-admin-portal .paytx-admin-core-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #c8d3e0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}

body.paytx-admin-portal .paytx-admin-core-links a:hover,
body.paytx-admin-portal .paytx-admin-core-links a.active {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

body.paytx-admin-portal .paytx-admin-core-links i {
    width: 18px;
    flex: 0 0 18px;
    text-align: center;
    font-size: 15px;
}

.paytx-sidebar .paytx-sidebar-footer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.paytx-sidebar .paytx-sidebar-footer-action span {
    display: inline;
    white-space: nowrap;
}

/* Customer bill portal layout stabilization. */
.bill-portal-mode .customer_form.modern-dashboard-wrapper {
    float: none !important;
    clear: both;
    width: 100% !important;
}

.bill-portal-mode .paytx-bill-dashboard-heading {
    float: none !important;
    width: 100% !important;
    min-height: 0;
}

.bill-portal-mode .paytx-bill-dashboard-title {
    width: 100%;
    flex-wrap: wrap;
}

.bill-portal-mode .paytx-bill-dashboard-title h1 {
    flex: 1 1 240px;
}

.bill-portal-mode .paytx-bill-dashboard-title .btn-settings {
    flex: 0 0 40px;
}

.bill-module-page .paytx-ledger-filters select.select2-hidden-accessible.input_txt {
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
}

/* Portal profile pages. */
.paytx-profile-page {
    --paytx-profile-accent: #165f65;
    --paytx-profile-ink: #172033;
    --paytx-profile-muted: #66758a;
    --paytx-profile-border: #dce4ee;
}

.paytx-profile-page-heading {
    margin: 0 0 18px;
}

.paytx-profile-page-heading h1 {
    margin: 0 0 4px;
    color: var(--paytx-profile-ink);
    font-size: 30px;
    line-height: 1.2;
}

.paytx-profile-page-heading p {
    margin: 0;
    color: var(--paytx-profile-muted);
    font-size: 14px;
}

.paytx-profile-overview-card,
.paytx-profile-section-card {
    border: 1px solid var(--paytx-profile-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23, 32, 51, .07);
}

.paytx-profile-overview-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    margin-bottom: 10px;
}

.paytx-profile-identity {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.paytx-profile-avatar {
    position: relative;
    flex: 0 0 auto;
    padding: 4px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    background: #fff;
}
.paytx-profile-avatar img {
    display: block;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    background: #edf2f7;
}

.paytx-profile-avatar-camera {
    position: absolute;
    right: 0;
    bottom: 3px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 3px solid #fff;
    border-radius: 9px;
    background: #255eca;
    color: #fff;
    cursor: pointer;
}

.paytx-profile-identity-copy {
    min-width: 0;
}


.paytx-profile-identity-copy > p {
    overflow: hidden;
    margin: 0 0 12px;
    color: var(--paytx-profile-muted);
    font-size: 14px;
    text-overflow: ellipsis;
}

.paytx-profile-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgb(15 145 39 / 12%);
    color: #189f52;
    font-size: 12px;
    font-weight: 700;
}

.paytx-profile-photo-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.paytx-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 6px 20px;
    border: 2px solid #255eca;
    border-radius: 8px;
    background: #fff;
    color: #255eca;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.paytx-secondary-btn:hover {
    background: var(--paytx-profile-accent);
    color: #fff;
}

.paytx-export-actions .paytx-secondary-btn:hover {
    background: #255eca;
    color: #fff;
}

.paytx-profile-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .8fr);
    align-items: start;
    gap: 10px;
}

.paytx-profile-section-card {
    padding: 24px;
}

.paytx-profile-security-card {
    position: sticky;
    top: 92px;
}

.paytx-profile-section-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.paytx-profile-section-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(22, 95, 101, .1);
    color: var(--paytx-profile-accent);
    font-size: 15px;
}

.paytx-profile-section-head h2 {
    margin: 0 0 3px;
    color: var(--paytx-profile-ink);
    font-size: 18px;
    line-height: 1.3;
}

.paytx-profile-section-head p {
    margin: 0;
    color: var(--paytx-profile-muted);
    font-size: 12px;
    line-height: 1.5;
}

.paytx-profile-page .paytx-form-grid, .paytx-password-fields {
    gap: 5px;
}

.paytx-password-fields {
    display: grid;
}

.paytx-profile-page .paytx-profile-form label > span {
    margin-bottom: 0;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.paytx-profile-page .paytx-profile-form input,
.paytx-profile-page .paytx-profile-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: var(--paytx-profile-ink);
    box-shadow: 0 1px 2px rgba(23, 32, 51, .04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.paytx-profile-page .paytx-profile-form input:focus,
.paytx-profile-page .paytx-profile-form textarea:focus {
    outline: 0;
    border-color: var(--paytx-profile-accent);
    box-shadow: 0 0 0 3px rgba(22, 95, 101, .12);
}

.paytx-profile-page .paytx-form-msg:empty {
    display: none;
}


.paytx-profile-page .paytx-primary-btn:hover,
.paytx-profile-page .paytx-primary-btn:focus {
    background: #fff;
    color: var(--paytx-profile-accent);
}

.paytx-password-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 12px 0 0;
    color: var(--paytx-profile-muted);
    font-size: 12px;
}

.paytx-profile-page .logo-preview-box {
    min-height: 102px;
}
