:root {
    --abrit-primary: #5046e5;
    --abrit-primary-2: #5e4ef8;
    --abrit-primary-soft: #f5f3ff;
    --abrit-canvas: #f7f9fd;
    --abrit-surface: #ffffff;
    --abrit-ink: #0f172a;
    --abrit-text: #334155;
    --abrit-muted: #94a3b8;
    --abrit-border: #e2e8f0;
    --abrit-border-soft: #f1f5f9;
    --abrit-success: #059669;
    --abrit-warning: #d97706;
    --abrit-danger: #dc2626;
    --abrit-radius-sm: 10px;
    --abrit-radius: 14px;
    --abrit-radius-lg: 20px;
    --abrit-shadow: 0 8px 30px -20px rgba(15, 23, 42, .25), 0 2px 8px -5px rgba(15, 23, 42, .12);
    --abrit-sidebar: 280px;
    --abrit-header: 84px;
    --abrit-content: 1440px;
    --abrit-body-size: 15.5px;
    --abrit-leading: 1.6;
}

body.abrit-modern-page {
    background: var(--abrit-canvas);
    color: var(--abrit-text);
    font-family: "Open Sans", Vazirmatn, Arial, sans-serif;
    font-size: var(--abrit-body-size);
    line-height: var(--abrit-leading);
}
[dir="rtl"] body.abrit-modern-page { font-family: Vazirmatn, Tahoma, Arial, sans-serif; line-height: 1.72; }

.abrit-modern-page a { color: var(--abrit-primary); }
.abrit-modern-page a:hover { color: #4338ca; text-decoration: none; }
.abrit-modern-page a:focus-visible,
.abrit-modern-page button:focus-visible,
.abrit-modern-page summary:focus-visible,
.abrit-modern-page input:focus-visible,
.abrit-modern-page select:focus-visible,
.abrit-modern-page textarea:focus-visible { outline: 3px solid rgba(99,102,241,.25); outline-offset: 2px; }
.abrit-modern-page .btn { border-radius: 10px; font-weight: 600; }
.abrit-modern-page .btn-primary,
.abrit-modern-page .btn-success,
.abrit-modern-page .btn-info {
    border-color: var(--abrit-primary);
    background: linear-gradient(90deg, var(--abrit-primary-2), var(--abrit-primary));
    box-shadow: 0 4px 8px rgba(79, 70, 229, .18);
}
.abrit-modern-page .btn-primary:hover,
.abrit-modern-page .btn-success:hover,
.abrit-modern-page .btn-info:hover { border-color: #4338ca; background: #4338ca; }
.abrit-modern-page .form-control,
.abrit-modern-page .custom-select {
    min-height: 42px;
    border: 1px solid var(--abrit-border);
    border-radius: 10px;
    background-color: #fff;
    color: var(--abrit-ink);
    box-shadow: none;
}
.abrit-modern-page .form-control:focus,
.abrit-modern-page .custom-select:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}

body.abrit-has-sidebar { padding-inline-start: var(--abrit-sidebar); }
.abrit-app-sidebar {
    position: fixed;
    z-index: 1040;
    inset-block: 0;
    inset-inline-start: 0;
    width: var(--abrit-sidebar);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border-inline-end: 1px solid var(--abrit-border-soft);
    overflow-y: auto;
}
.abrit-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 28px; color: var(--abrit-ink) !important; }
.abrit-brand-mark {
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--abrit-primary), var(--abrit-primary-2));
    box-shadow: 0 4px 8px rgba(99, 102, 241, .24);
}
.abrit-brand-name { color: var(--abrit-ink); font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.abrit-brand-name span { color: var(--abrit-primary-2); }
.abrit-sidebar-nav { display: flex; flex-direction: column; gap: 5px; }
.abrit-sidebar-nav > a,
.abrit-nav-group > summary {
    min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 10px 14px;
    border-radius: 12px; color: #475569; font-size: 14px; font-weight: 600; cursor: pointer;
}
.abrit-sidebar-nav > a i,
.abrit-nav-group > summary > i:first-child { width: 18px; text-align: center; color: #94a3b8; }
.abrit-sidebar-nav > a span,
.abrit-nav-group > summary span { min-width: 0; flex: 1; }
.abrit-sidebar-nav b { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: var(--abrit-primary-soft); color: var(--abrit-primary); font-size: 11px; text-align: center; }
.abrit-sidebar-nav > a:hover,
.abrit-nav-group > summary:hover { background: #f8fafc; color: var(--abrit-ink); }
.abrit-sidebar-nav > a.active,
.abrit-sidebar-nav > a.is-active,
.abrit-nav-group.active > summary {
    color: #fff; background: linear-gradient(90deg, var(--abrit-primary-2), var(--abrit-primary));
    box-shadow: 0 4px 9px rgba(99, 102, 241, .28);
}
.abrit-sidebar-nav > a.active i,
.abrit-sidebar-nav > a.active b,
.abrit-nav-group.active > summary i,
.abrit-nav-group.active > summary b { color: #fff; }
.abrit-sidebar-nav > a.active b,
.abrit-nav-group.active > summary b { background: rgba(255,255,255,.18); }
.abrit-nav-label { margin: 20px 12px 6px; color: #7c8ba1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.abrit-nav-divider { display: block; height: 1px; margin: 8px 14px; background: var(--abrit-border-soft); }
.abrit-nav-group { margin: 0; }
.abrit-nav-group > summary { list-style: none; }
.abrit-nav-group > summary::-webkit-details-marker { display: none; }
.abrit-nav-chevron { width: auto !important; flex: 0 0 auto; font-size: 10px; transition: transform .18s ease; }
.abrit-nav-group[open] .abrit-nav-chevron { transform: rotate(180deg); }
.abrit-nav-children { display: grid; gap: 3px; padding: 4px 0 7px 30px; }
[dir="rtl"] .abrit-nav-children { padding: 4px 30px 7px 0; }
.abrit-nav-children > a { min-height: 36px; display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 9px; color: #64748b; font-size: 13px; font-weight: 500; }
.abrit-nav-children > a:hover,
.abrit-nav-children > a.active { color: var(--abrit-primary); background: var(--abrit-primary-soft); }
.abrit-nav-children > a span { min-width: 0; flex: 1; }
.abrit-sidebar-bottom { display: grid; gap: 12px; }
.abrit-help-card {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px;
    border: 1px solid #e0e7ff; border-radius: 16px; background: linear-gradient(180deg, #f3f0ff, #f8f6ff); text-align: center;
}
.abrit-help-card i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: #fff; background: var(--abrit-primary); font-size: 21px; box-shadow: 0 5px 10px rgba(79,70,229,.25); }
.abrit-help-card strong { color: var(--abrit-ink); font-size: 13px; }
.abrit-help-card span { color: var(--abrit-muted); font-size: 10px; }
.abrit-user-strip { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border: 1px solid var(--abrit-border-soft); border-radius: 12px; color: var(--abrit-text) !important; }
.abrit-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #ddd6fe; border-radius: 50%; color: var(--abrit-primary); background: var(--abrit-primary-soft); font-weight: 700; }
.abrit-user-strip > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.abrit-user-strip strong, .abrit-user-strip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.abrit-user-strip strong { color: var(--abrit-ink); font-size: 11px; }
.abrit-user-strip small { color: var(--abrit-muted); font-size: 9px; }

.abrit-has-sidebar #header { min-height: var(--abrit-header); border-bottom: 1px solid var(--abrit-border-soft); background: rgba(255,255,255,.88); backdrop-filter: blur(12px); }
.abrit-has-sidebar #header .master-breadcrumb,
.abrit-has-sidebar #header .main-navbar-wrapper,
.abrit-has-sidebar #header .navbar-brand { display: none !important; }
.abrit-has-sidebar #header > .navbar { min-height: calc(var(--abrit-header) - 1px); padding: 0 36px; }
.abrit-has-sidebar #header > .navbar > .container { max-width: none; padding: 0; }
.abrit-topbar-welcome { min-width: 260px; display: flex; flex-direction: column; }
.abrit-topbar-welcome strong { color: var(--abrit-ink); font-size: 20px; font-weight: 800; letter-spacing: -.25px; }
.abrit-topbar-welcome span { color: #64748b; font-size: 13px; }
.abrit-topbar-search { width: min(320px, 32vw); }
.abrit-topbar-search .input-group { width: 100%; }
.abrit-topbar-search .form-control { height: 38px; min-height: 38px; border-inline-start: 0; }
.abrit-topbar-search .input-group-prepend .btn { height: 38px; border-color: var(--abrit-border); border-inline-end: 0; border-radius: 10px 0 0 10px; background: #fff; color: var(--abrit-muted); box-shadow: none; }
[dir="rtl"] .abrit-topbar-search .input-group-prepend .btn { border-radius: 0 10px 10px 0; }
.abrit-has-sidebar #header .toolbar .nav-link {
    position: relative; width: 38px; height: 38px; display: inline-grid; place-items: center; margin-inline-start: 8px;
    border: 1px solid var(--abrit-border); border-radius: 12px; color: #64748b; background: #fff;
}
.abrit-has-sidebar #header .toolbar .client-top-access-item-count { background: var(--abrit-primary); }
.abrit-has-sidebar #main-body { padding: 32px 36px 56px; }
.abrit-has-sidebar #main-body > .container { width: 100%; max-width: var(--abrit-content); padding: 0; }
.abrit-has-sidebar[data-template-file="clientareahome"] #main-body > .container,
.abrit-has-sidebar[data-template-file="clientareaproducts"] #main-body > .container,
.abrit-has-sidebar[data-template-file="clientareadomains"] #main-body > .container,
.abrit-has-sidebar[data-template-file="clientareainvoices"] #main-body > .container,
.abrit-has-sidebar[data-template-file="supportticketslist"] #main-body > .container { max-width: 1180px; }
.abrit-has-sidebar[data-template-file="clientareaproducts"] #main-body .row > .col-lg-4,
.abrit-has-sidebar[data-template-file="clientareadomains"] #main-body .row > .col-lg-4,
.abrit-has-sidebar[data-template-file="clientareainvoices"] #main-body .row > .col-lg-4,
.abrit-has-sidebar[data-template-file="supportticketslist"] #main-body .row > .col-lg-4 { display: none; }
.abrit-has-sidebar[data-template-file="clientareadetails"] #main-body .row > .col-lg-4,
.abrit-has-sidebar[data-template-file="user-security"] #main-body .row > .col-lg-4,
.abrit-has-sidebar[data-template-file="clientareasecurity"] #main-body .row > .col-lg-4 { display: none; }
.abrit-has-sidebar[data-template-file="clientareaproducts"] #main-body .primary-content,
.abrit-has-sidebar[data-template-file="clientareadomains"] #main-body .primary-content,
.abrit-has-sidebar[data-template-file="clientareainvoices"] #main-body .primary-content,
.abrit-has-sidebar[data-template-file="supportticketslist"] #main-body .primary-content { flex: 0 0 100%; max-width: 100%; }
.abrit-has-sidebar[data-template-file="clientareadetails"] #main-body .primary-content,
.abrit-has-sidebar[data-template-file="user-security"] #main-body .primary-content,
.abrit-has-sidebar[data-template-file="clientareasecurity"] #main-body .primary-content { flex: 0 0 100%; max-width: 100%; }
.abrit-has-sidebar footer.bg-footer { display: none; }
.abrit-app-footer { display: flex; justify-content: space-between; gap: 24px; padding: 22px 32px; border-top: 1px solid var(--abrit-border-soft); color: var(--abrit-muted); background: var(--abrit-canvas); font-size: 11px; }
.abrit-app-footer nav { display: flex; gap: 24px; }
.abrit-app-footer a { color: var(--abrit-muted); }
.abrit-notification-list { display: grid; gap: 8px; }
.abrit-notification-list > a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--abrit-border-soft); border-radius: 10px; color: var(--abrit-text); }
.abrit-notification-list .icon { color: var(--abrit-primary); }

.abrit-page-heading { margin-bottom: 22px; }
.abrit-page-heading h1 { margin: 0 0 5px; color: var(--abrit-ink); font-size: clamp(25px, 2vw, 30px); font-weight: 800; letter-spacing: -.35px; }
.abrit-page-heading p { margin: 0; color: #64748b; font-size: 14px; }
.abrit-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.abrit-kpi-grid-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.abrit-kpi { min-height: 146px; display: flex; align-items: center; gap: 16px; padding: 25px; border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow); }
.abrit-kpi-icon { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 14px; color: var(--abrit-primary-2); background: var(--abrit-primary-soft); font-size: 20px; }
.abrit-kpi-copy { display: flex; flex-direction: column; }
.abrit-kpi-copy strong { color: var(--abrit-ink); font-size: 15px; }
.abrit-kpi-copy b { color: var(--abrit-ink); font-size: 32px; line-height: 1.18; }
.abrit-kpi-copy small { color: #64748b; font-size: 12px; }
.abrit-panel, .abrit-modern-page .table-container {
    margin-bottom: 22px; padding: 24px; border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow);
}
.abrit-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.abrit-panel-title h2 { margin: 0 0 3px; color: var(--abrit-ink); font-size: 16px; font-weight: 700; }
.abrit-panel-title p { margin: 0; color: var(--abrit-muted); font-size: 11px; }
.abrit-panel-link { padding: 7px 12px; border-radius: 9px; background: var(--abrit-primary-soft); font-size: 11px; font-weight: 700; }
.abrit-dashboard-panels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.abrit-native-panel, .abrit-native-addon-output {
    min-width: 0; overflow: hidden; border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow);
}
.abrit-native-addon-output { grid-column: 1 / -1; margin-bottom: 22px; padding: 20px; }
.abrit-native-panel-wide { grid-column: 1 / -1; }
.abrit-native-panel-header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--abrit-border-soft); }
.abrit-native-panel-header h2 { margin: 0; color: var(--abrit-ink); font-size: 15px; font-weight: 700; }
.abrit-native-panel-header h2 > i { margin-inline-end: 8px; color: var(--abrit-primary); }
.abrit-native-panel-body { padding: 20px; }
.abrit-native-panel-list { display: grid; }
.abrit-native-panel-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--abrit-border-soft); color: var(--abrit-text) !important; }
.abrit-native-panel-item:last-child { border-bottom: 0; }
.abrit-native-panel-item:hover, .abrit-native-panel-item.active { background: #fafaff; }
.abrit-native-panel-item i { width: 18px; margin-inline-end: 8px; color: var(--abrit-primary); text-align: center; }
.abrit-native-panel-item .badge, .abrit-native-panel-header .badge { border-radius: 999px; background: var(--abrit-primary-soft); color: var(--abrit-primary); }
.abrit-native-panel-footer { padding: 12px 20px; border-top: 1px solid var(--abrit-border-soft); color: var(--abrit-muted); font-size: 11px; }
.abrit-modern-page .home-status-badge-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0 0 22px; }
.abrit-modern-page .home-status-badge-row > [class*="col-"] { max-width: none; padding: 0; }
.abrit-modern-page .widget-stat { height: 100%; border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow); }
.abrit-modern-page .widget-stat .card-body { padding: 22px; }
.abrit-modern-page .widget-stat .progress { display: none; }
.abrit-modern-page .widget-stat .media { align-items: center; }
.abrit-modern-page .widget-stat .media > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--abrit-primary-soft); color: var(--abrit-primary) !important; font-size: 18px; }
.abrit-modern-page .widget-stat .media-body p { margin: 0 !important; color: var(--abrit-text) !important; font-size: 12px; font-weight: 600; }
.abrit-modern-page .widget-stat .media-body h4 { color: var(--abrit-primary); font-size: 24px; }
.abrit-modern-page .table-container > h5 { margin: 0; color: var(--abrit-ink) !important; font-size: 18px; font-weight: 700; }
.abrit-modern-page .table-container > p { color: var(--abrit-muted); font-size: 11px; }
.abrit-modern-page .table-container > hr { border-color: var(--abrit-border-soft); }
.abrit-modern-page table.table-list { border: 1px solid var(--abrit-border-soft); border-radius: 12px; overflow: hidden; }
.abrit-modern-page table.table-list thead th { border: 0; background: #fbfdff; color: var(--abrit-muted); font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.abrit-modern-page table.table-list tbody td { padding-block: 15px; border-top-color: var(--abrit-border-soft); color: #475569; vertical-align: middle; }
.abrit-modern-page .label.status { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.abrit-modern-page .status-active, .abrit-modern-page .status-paid { background: #d1fae5; color: #047857; }
.abrit-modern-page .status-pending, .abrit-modern-page .status-unpaid { background: #fffbeb; color: var(--abrit-warning); }
.abrit-modern-page .dataTables_wrapper .dataTables_filter input,
.abrit-modern-page .dataTables_wrapper .dataTables_length select { border: 1px solid var(--abrit-border); border-radius: 9px; background: #fff; }
.abrit-modern-page .dataTables_wrapper .pagination .page-link { border-color: var(--abrit-border-soft); color: #64748b; }
.abrit-modern-page .dataTables_wrapper .pagination .active .page-link { border-color: var(--abrit-primary); background: var(--abrit-primary); color: #fff; }

.abrit-auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--abrit-canvas); }
.abrit-auth-topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; border-bottom: 1px solid var(--abrit-border-soft); background: #fff; }
.abrit-auth-topbar .abrit-brand { padding: 0; }
.abrit-auth-topbar nav { display: flex; gap: 10px; }
.abrit-auth-topbar .btn { min-height: 38px; padding-inline: 18px; border-color: var(--abrit-border); background: #fff; color: var(--abrit-text); }
.abrit-auth-main { width: 100%; max-width: 1224px; flex: 1; display: grid; grid-template-columns: 42% 58%; gap: 32px; margin: 50px auto 28px; padding: 0 24px; }
.abrit-auth-info, .abrit-auth-card { border: 1px solid var(--abrit-border-soft); border-radius: 20px; background: #fff; box-shadow: var(--abrit-shadow); }
.abrit-auth-info { min-height: 700px; display: flex; flex-direction: column; padding: 38px; }
.abrit-auth-info h1 { margin: 0 0 12px; color: var(--abrit-ink); font-size: 30px; font-weight: 800; letter-spacing: -.6px; }
.abrit-auth-info p { color: #64748b; line-height: 1.65; }
.abrit-auth-illustration { min-height: 210px; display: flex; align-items: center; justify-content: center; gap: 18px; color: #a5b4fc; font-size: 54px; }
.abrit-auth-illustration span { width: 82px; height: 72px; display: grid; place-items: center; border: 8px solid #eef2ff; border-radius: 18px; color: #22d3ee; background: #172033; box-shadow: 0 14px 30px rgba(79,70,229,.16); font-size: 30px; }
.abrit-auth-info ul { display: grid; gap: 18px; margin: 0 0 28px; padding: 0; list-style: none; }
.abrit-auth-info li { display: flex; align-items: flex-start; gap: 14px; }
.abrit-auth-info li > i { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 11px; color: var(--abrit-primary); background: #eef2ff; }
.abrit-auth-info li span { display: flex; flex-direction: column; }
.abrit-auth-info li strong { color: var(--abrit-ink); font-size: 13px; }
.abrit-auth-info li small, .abrit-auth-info > small { color: var(--abrit-muted); font-size: 10px; line-height: 1.55; }
.abrit-auth-info > small { margin-top: auto; }
.abrit-auth-card { display: grid; place-items: center; padding: 50px; }
.abrit-auth-card-inner { width: 100%; max-width: 590px; text-align: center; }
.abrit-auth-icon { width: 64px; height: 64px; display: inline-grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--abrit-border); border-radius: 50%; color: var(--abrit-primary); background: #f8fafc; box-shadow: inset 0 0 0 12px #eef2ff; }
.abrit-auth-card h2 { margin: 0 0 12px; color: var(--abrit-ink); font-size: 26px; font-weight: 800; }
.abrit-auth-card-inner > p { max-width: 430px; margin: 0 auto 35px; color: #64748b; line-height: 1.45; }
.abrit-login-form { text-align: initial; }
.abrit-login-form label { color: var(--abrit-text); font-size: 11px; font-weight: 700; }
.abrit-login-form .input-group-text { min-width: 42px; justify-content: center; border-color: var(--abrit-border); border-radius: 10px 0 0 10px; color: var(--abrit-muted); background: #fff; }
[dir="rtl"] .abrit-login-form .input-group-text { border-radius: 0 10px 10px 0; }
.abrit-label-row, .abrit-login-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.abrit-label-row a { font-size: 10px; }
.abrit-login-actions { margin-top: 26px; }
.abrit-login-actions .btn { min-width: 92px; padding: 11px 24px; }
.abrit-login-actions .form-check { color: #64748b; font-weight: 400; }
.abrit-auth-switch { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--abrit-border-soft); color: #64748b; text-align: initial; font-size: 11px; }
.abrit-auth-footer { padding: 18px; color: var(--abrit-muted); text-align: center; font-size: 10px; }

.abrit-modern-page .auth-register { min-height: 100vh; padding: 42px 20px; background: var(--abrit-canvas); }
.abrit-modern-page .auth-register__shell { max-width: 1040px; }
.abrit-modern-page .auth-register__card,
.abrit-modern-page .auth-section { border-color: var(--abrit-border-soft); border-radius: 16px; box-shadow: var(--abrit-shadow); }
.abrit-modern-page .auth-register__tab.is-active { border-color: var(--abrit-primary); background: var(--abrit-primary-soft); color: var(--abrit-primary); }
.abrit-modern-page .auth-register__form .btn-primary { background: linear-gradient(90deg,var(--abrit-primary-2),var(--abrit-primary)); }

.abrit-modern-page .abrit-account-form > .card,
.abrit-modern-page .abrit-security-layout > .card,
.abrit-modern-page[data-template-file="clientareadetails"] .card,
.abrit-modern-page[data-template-file="user-security"] .card {
    margin-bottom: 22px; border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow);
}
.abrit-modern-page .abrit-account-form > .card > .card-body,
.abrit-modern-page .abrit-security-layout > .card > .card-body { padding: 24px; }
.abrit-modern-page .abrit-account-form .card-title,
.abrit-modern-page .abrit-security-layout .card-title { margin-bottom: 20px; color: var(--abrit-ink); font-size: 17px; font-weight: 700; }
.abrit-modern-page .abrit-account-form label,
.abrit-modern-page .abrit-security-layout label { color: var(--abrit-text); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.abrit-modern-page .abrit-account-form > .form-group.text-center { display: flex; justify-content: flex-end; gap: 10px; }
.abrit-modern-page .abrit-security-layout { display: grid; gap: 22px; }
.abrit-modern-page .abrit-add-funds .card { border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow); overflow: hidden; }
.abrit-modern-page .abrit-add-funds .table { margin: 0; }
.abrit-modern-page .abrit-add-funds .card-body { padding: 24px; }

.abrit-modern-page[data-template-file="supportticketsubmit-stepone"] .primary-content > .card,
.abrit-modern-page[data-template-file="supportticketsubmit-steptwo"] .primary-content > .card,
.abrit-modern-page[data-template-file="clientareasecurity"] .primary-content > .card,
.abrit-modern-page[data-template-file="clientareaproductdetails"] .primary-content > .card {
    border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow);
}
.abrit-modern-page[data-template-file="supportticketsubmit-steptwo"] textarea.form-control { min-height: 180px; }
.abrit-modern-page[data-template-file="supportticketsubmit-steptwo"] .ticket-attachments-message,
.abrit-modern-page[data-template-file="supportticketsubmit-steptwo"] .file-upload { border-radius: 12px; }

.abrit-modern-page .primary-content > .card,
.abrit-modern-page .primary-content > .panel,
.abrit-modern-page .invoice-container,
.abrit-modern-page .ticket-reply,
.abrit-modern-page .ticket-reply-submit {
    margin-bottom: 22px; border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow);
}
.abrit-modern-page .primary-content > .card > .card-header,
.abrit-modern-page .primary-content > .panel > .panel-heading { border-bottom-color: var(--abrit-border-soft); background: #fff; }
.abrit-modern-page .nav-tabs { border-bottom-color: var(--abrit-border-soft); }
.abrit-modern-page .nav-tabs .nav-link { border-radius: 10px 10px 0 0; color: #64748b; }
.abrit-modern-page .nav-tabs .nav-link.active { border-color: var(--abrit-border-soft) var(--abrit-border-soft) #fff; color: var(--abrit-primary); font-weight: 700; }
.abrit-modern-page .alert { border-radius: 12px; }
.abrit-modern-page .primary-content h1,
.abrit-modern-page .primary-content h2,
.abrit-modern-page .primary-content h3,
.abrit-modern-page .primary-content h4,
.abrit-modern-page .primary-content h5 { color: var(--abrit-ink); font-weight: 750; }
.abrit-modern-page .primary-content label { color: #334155; font-size: 13px; font-weight: 650; }
.abrit-modern-page .primary-content .card-header { padding: 16px 20px; }
.abrit-modern-page .primary-content .card-body { padding: 22px; }
.abrit-modern-page .primary-content .btn { min-height: 40px; padding: 8px 16px; }
.abrit-modern-page .primary-content .btn-sm { min-height: 34px; padding: 5px 12px; }
.abrit-modern-page .primary-content .badge,
.abrit-modern-page .primary-content .label { font-size: 11px; font-weight: 650; }
.abrit-modern-page .modal-content,
.abrit-modern-page .dropdown-menu { border: 1px solid var(--abrit-border-soft); border-radius: 14px; box-shadow: 0 18px 50px -24px rgba(15,23,42,.35); }
.abrit-modern-page .dropdown-item { padding-block: 8px; font-size: 14px; }
.abrit-modern-page .pagination .page-link { min-width: 38px; min-height: 38px; display: grid; place-items: center; }

[dir="rtl"] .abrit-modern-page input[type="email"],
[dir="rtl"] .abrit-modern-page input[type="tel"],
[dir="rtl"] .abrit-modern-page input[name*="domain"],
[dir="rtl"] .abrit-modern-page input[name*="hostname"],
[dir="rtl"] .abrit-modern-page input[name*="ip"],
[dir="rtl"] .abrit-modern-page [dir="ltr"] {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}
[dir="rtl"] .abrit-modern-page .domain,
[dir="rtl"] .abrit-modern-page .domain-name,
[dir="rtl"] .abrit-modern-page .invoice-number,
[dir="rtl"] .abrit-modern-page .transaction-id,
[dir="rtl"] .abrit-modern-page .amount,
[dir="rtl"] .abrit-modern-page code,
[dir="rtl"] .abrit-modern-page pre { direction: ltr; unicode-bidi: plaintext; }
[dir="rtl"] .abrit-modern-page .dataTables_filter { text-align: left; }
[dir="rtl"] .abrit-modern-page .dataTables_length { text-align: right; }

.abrit-commerce-header { position: sticky; z-index: 1030; top: 0; min-height: 76px; border-bottom: 1px solid var(--abrit-border-soft); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.abrit-commerce-bar { width: 100%; max-width: 1440px; min-height: 75px; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; gap: 24px; margin: 0 auto; padding: 0 32px; }
.abrit-commerce-bar .abrit-brand { padding: 0; }
.abrit-commerce-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.abrit-commerce-nav a { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 11px; color: #64748b; font-size: 13px; font-weight: 650; }
.abrit-commerce-nav a:hover,
.abrit-commerce-nav a.is-active { color: var(--abrit-primary); background: var(--abrit-primary-soft); }
.abrit-commerce-nav b { min-width: 20px; padding: 1px 6px; border-radius: 999px; color: #fff; background: var(--abrit-primary); font-size: 10px; text-align: center; }
.abrit-commerce-actions { display: flex; justify-content: flex-end; gap: 8px; }
.abrit-commerce-actions .btn { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--abrit-border); color: #64748b; background: #fff; box-shadow: none; }
.abrit-modern-page.is-shopping-cart #main-body { padding: 38px 32px 72px; }
.abrit-modern-page.is-shopping-cart #main-body > .container { width: 100%; max-width: 1440px; padding: 0; }
.abrit-modern-page.is-shopping-cart footer.bg-footer { display: none; }

@media (max-width: 1199.98px) {
    body.abrit-has-sidebar { padding-inline-start: 0; }
    .abrit-app-sidebar { transform: translateX(-105%); transition: transform .22s ease; box-shadow: 14px 0 40px rgba(15,23,42,.12); }
    [dir="rtl"] .abrit-app-sidebar { transform: translateX(105%); }
    body.abrit-sidebar-open .abrit-app-sidebar { transform: none; }
    .abrit-has-sidebar #header .navbar-brand { display: flex !important; }
    .abrit-topbar-welcome, .abrit-topbar-search { display: none !important; }
    .abrit-has-sidebar #main-body { padding-inline: 20px; }
    .abrit-commerce-bar { grid-template-columns: auto 1fr auto; padding-inline: 20px; }
}
@media (max-width: 767.98px) {
    .abrit-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .abrit-dashboard-panels { grid-template-columns: 1fr; }
    .abrit-native-panel-wide { grid-column: auto; }
    .abrit-modern-page .home-status-badge-row { grid-template-columns: 1fr; }
    .abrit-app-footer { flex-direction: column; }
    .abrit-app-footer nav { flex-wrap: wrap; gap: 12px; }
    .abrit-auth-topbar { padding-inline: 18px; }
    .abrit-auth-main { grid-template-columns: 1fr; margin-top: 24px; }
    .abrit-auth-info { display: none; }
    .abrit-auth-card { min-height: calc(100vh - 150px); padding: 28px 20px; }
    .abrit-commerce-bar { min-height: 68px; grid-template-columns: 1fr auto; }
    .abrit-commerce-nav { position: fixed; z-index: 1035; inset-inline: 12px; bottom: 12px; justify-content: space-around; padding: 8px; border: 1px solid var(--abrit-border); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 18px 45px rgba(15,23,42,.18); }
    .abrit-commerce-nav a { flex: 1; justify-content: center; padding-inline: 8px; font-size: 11px; }
    .abrit-commerce-actions { grid-column: 2; }
    .abrit-modern-page.is-shopping-cart #main-body { padding: 24px 16px 96px; }
}
@media (max-width: 479.98px) {
    .abrit-kpi-grid { grid-template-columns: 1fr; }
    .abrit-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ABRIT refinement: self-contained icons, richer dashboard and commerce shell. */
.abrit-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.abrit-icon { width: 1.25em; height: 1.25em; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }
.abrit-brand-mark .abrit-icon { width: 22px; height: 22px; stroke-width: 1.7; }
.abrit-sidebar-nav > a > .abrit-icon,
.abrit-nav-group > summary > .abrit-icon:first-child { width: 20px; height: 20px; flex: 0 0 20px; color: #7c8ba1; }
.abrit-sidebar-nav > a:hover > .abrit-icon,
.abrit-nav-group > summary:hover > .abrit-icon:first-child { color: var(--abrit-primary); }
.abrit-sidebar-nav > a.active > .abrit-icon,
.abrit-sidebar-nav > a.is-active > .abrit-icon,
.abrit-nav-group.active > summary > .abrit-icon { color: #fff; }
.abrit-nav-child-marker { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #cbd5e1; transition: background .18s ease, transform .18s ease; }
.abrit-nav-children > a:hover .abrit-nav-child-marker,
.abrit-nav-children > a.active .abrit-nav-child-marker { background: var(--abrit-primary); transform: scale(1.25); }
.abrit-help-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--abrit-primary); box-shadow: 0 5px 10px rgba(79,70,229,.25); }
.abrit-help-icon .abrit-icon { width: 23px; height: 23px; }
.abrit-user-arrow { width: 15px; height: 15px; color: #94a3b8; }
.abrit-kpi-icon .abrit-icon { width: 25px; height: 25px; }
.abrit-has-sidebar #header .toolbar .abrit-icon { width: 19px; height: 19px; }

.abrit-dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.abrit-page-eyebrow { display: block; margin-bottom: 7px; color: var(--abrit-primary); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.abrit-heading-action { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding-inline: 17px; white-space: nowrap; }
.abrit-kpi { position: relative; overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.abrit-kpi::after { content: ''; position: absolute; inset-block: 18px; inset-inline-end: 0; width: 3px; border-radius: 3px 0 0 3px; background: var(--abrit-primary); opacity: 0; transition: opacity .18s ease; }
.abrit-kpi:hover { border-color: #ddd6fe; box-shadow: 0 18px 36px -28px rgba(79,70,229,.55); transform: translateY(-2px); }
.abrit-kpi:hover::after { opacity: 1; }

.abrit-dashboard-overview { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(280px,.8fr); gap: 22px; margin-bottom: 22px; }
.abrit-overview-card,
.abrit-attention-card,
.abrit-quick-actions { border: 1px solid var(--abrit-border-soft); border-radius: var(--abrit-radius); background: #fff; box-shadow: var(--abrit-shadow); }
.abrit-overview-card { padding: 24px; }
.abrit-overview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.abrit-overview-head h2,
.abrit-attention-card h2,
.abrit-section-heading h2 { margin: 0 0 4px; color: var(--abrit-ink); font-size: 17px; font-weight: 800; }
.abrit-overview-head p,
.abrit-section-heading p { margin: 0; color: var(--abrit-muted); font-size: 12px; }
.abrit-credit-pill { min-width: 140px; display: flex; flex-direction: column; align-items: flex-end; padding: 9px 13px; border: 1px solid #ddd6fe; border-radius: 11px; background: #fafaff; }
.abrit-credit-pill small { color: #64748b; font-size: 10px; }
.abrit-credit-pill strong { color: var(--abrit-primary); font-size: 14px; }
.abrit-account-chart { display: grid; gap: 17px; }
.abrit-chart-row { display: grid; grid-template-columns: minmax(105px,145px) minmax(80px,1fr) 32px; align-items: center; gap: 14px; }
.abrit-chart-row > span { overflow: hidden; color: #475569; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.abrit-chart-row > div { height: 9px; overflow: hidden; border-radius: 999px; background: #eef2f7; }
.abrit-chart-row > div > i { width: var(--abrit-chart-size, 8%); height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#8b5cf6,#5046e5); transition: width .55s cubic-bezier(.2,.8,.2,1); }
.abrit-chart-row.is-warning > div > i { background: linear-gradient(90deg,#fbbf24,#f59e0b); }
.abrit-chart-row.is-support > div > i { background: linear-gradient(90deg,#38bdf8,#0ea5e9); }
.abrit-chart-row > b { color: var(--abrit-ink); font-size: 13px; text-align: end; }
.abrit-attention-card { padding: 24px; background: linear-gradient(160deg,#fff,#fffaf2); }
.abrit-attention-card.is-clear { background: linear-gradient(160deg,#fff,#f2fbf7); }
.abrit-attention-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 13px; color: #b45309; background: #fef3c7; }
.abrit-attention-card.is-clear .abrit-attention-icon { color: #047857; background: #d1fae5; }
.abrit-attention-card > a { display: block; margin-top: 12px; padding: 12px 14px; border: 1px solid #fde7bd; border-radius: 11px; color: #475569; background: rgba(255,255,255,.78); }
.abrit-attention-card > a span { display: block; font-size: 12px; }
.abrit-attention-card > a b { color: var(--abrit-ink); font-size: 15px; }
.abrit-attention-card > a small { color: var(--abrit-primary); font-size: 10px; font-weight: 700; }
.abrit-attention-card > p { margin: 10px 0 0; color: #64748b; font-size: 12px; line-height: 1.8; }
.abrit-quick-actions { margin-bottom: 22px; padding: 22px 24px 24px; }
.abrit-section-heading { margin-bottom: 17px; }
.abrit-quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.abrit-quick-grid > a { min-height: 72px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--abrit-border-soft); border-radius: 12px; color: #334155; background: #fbfcff; transition: border-color .18s ease, background .18s ease; }
.abrit-quick-grid > a:hover { border-color: #c4b5fd; color: var(--abrit-primary); background: #fafaff; }
.abrit-quick-grid > a > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--abrit-primary); background: var(--abrit-primary-soft); }
.abrit-quick-grid strong { min-width: 0; font-size: 12px; font-weight: 700; }
.abrit-action-arrow { width: 15px; height: 15px; color: #94a3b8; }
[dir="rtl"] .abrit-action-arrow { transform: scaleX(-1); }

.abrit-commerce-footer { max-width: 1380px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 36px; margin: 0 auto; padding: 32px 32px 38px; color: #64748b; }
.abrit-commerce-footer .abrit-brand { display: inline-flex; padding: 0 0 9px; }
.abrit-commerce-footer p { margin: 0; font-size: 12px; }
.abrit-commerce-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; }
.abrit-commerce-footer small { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid var(--abrit-border-soft); font-size: 10px; }

@media (max-width: 991.98px) {
    .abrit-dashboard-overview { grid-template-columns: 1fr; }
    .abrit-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 575.98px) {
    .abrit-dashboard-heading { align-items: stretch; flex-direction: column; }
    .abrit-heading-action { justify-content: center; }
    .abrit-overview-head { flex-direction: column; }
    .abrit-credit-pill { width: 100%; align-items: flex-start; }
    .abrit-chart-row { grid-template-columns: 92px minmax(70px,1fr) 28px; gap: 9px; }
    .abrit-quick-grid { grid-template-columns: 1fr; }
    .abrit-commerce-footer { grid-template-columns: 1fr; padding: 28px 18px 100px; }
    .abrit-commerce-footer small { grid-column: auto; }
}
