:root {
    --side: #253852;
    --blue: #079df2;
    --purple: #7957ee;
    --green: #08b996;
    --dark: #1f2b30;
    --text: #172033;
    --muted: #6b7482;
}
* {
    font-family: Poppins, Arial, sans-serif;
}
body {
    background: #f7f7f8;
    color: var(--text);
}
.vidyaan-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 20%, rgba(121, 87, 238, .15), transparent 28%),
        linear-gradient(135deg, #edf6ff 0%, #f7f8ff 48%, #ffffff 100%);
}
.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 430px;
    align-items: center;
    gap: 56px;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}
.login-brand-panel {
    color: #172033;
}
.login-brand-logo {
    width: 108px;
    height: 108px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 45px rgba(21, 35, 62, .14);
}
.login-brand-panel h1 {
    font-size: 44px;
    font-weight: 800;
    margin: 28px 0 14px;
}
.login-brand-panel p {
    max-width: 590px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}
.login-card {
    background: #fff;
    border-radius: 14px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(21, 35, 62, .16);
    border: 1px solid #edf0f5;
}
.login-card-head {
    text-align: center;
    margin-bottom: 28px;
}
.login-card-head img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    margin-bottom: 14px;
}
.login-card-head h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}
.login-card .form-label {
    font-weight: 700;
    color: #28364d;
}
.login-input {
    height: 48px;
    border: 1px solid #d7deea;
    border-radius: 6px;
    box-shadow: none;
}
.login-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 .18rem rgba(7, 157, 242, .14);
}
.login-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}
.login-submit {
    height: 48px;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}
.login-submit:hover {
    background: #078bd5;
    color: #fff;
}
.erp-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 270px;
    height: 100vh;
    background: var(--side);
    color: #fff;
    z-index: 1030;
    overflow: auto;
}
.erp-logo {
    height: 76px;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
}
.erp-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}
.erp-search {
    padding: 8px;
}
.erp-search input {
    width: 100%;
    height: 42px;
    border: 1px solid #d8dde6;
    padding: 0 12px;
    outline: none;
}
.erp-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    padding: 11px 22px;
    font-size: 17px;
    font-weight: 500;
}
.erp-menu a:hover,
.erp-menu a.active {
    background: #18283e;
}
.submenu {
    padding-left: 34px;
}
.submenu a {
    font-size: 16px;
    padding: 8px 22px;
}
.erp-main {
    margin-left: 270px;
    min-height: 100vh;
}
.erp-topbar {
    height: 72px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    position: sticky;
    top: 0;
    z-index: 1020;
    gap: 16px;
}
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}
.icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #049eea;
    font-size: 30px;
    display: grid;
    place-items: center;
}
.top-btn {
    border: 0;
    border-radius: 8px;
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.btn-purple {
    background: #7157e8;
}
.btn-green {
    background: #00b89c;
}
.btn-blue {
    background: #069deb;
}
.btn-black {
    background: #20282b;
}
.session-pill {
    background: #7b55ef;
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 5px 14px #b9a7ff;
    white-space: nowrap;
}
.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #574ee6;
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
}
.content {
    padding: 22px 28px;
}
.erp-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.04);
}
.setup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.setup-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    min-height: 145px;
}
.setup-card .ico {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f1f5f9;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px #dbe2ea;
    color: #1d5278;
    font-size: 24px;
}
.setup-card h4 {
    font-size: 22px;
    margin: 5px 0 20px;
}
.setup-card p {
    color: #777;
    margin: 0;
}
.fee-setup-header {
    margin-bottom: 18px;
}
.fee-setup-header .page-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #172033;
}
.fee-setup-panel {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    box-shadow: 0 5px 18px rgba(21, 35, 62, .07);
    padding: 16px;
}
.fee-setup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.fee-setup-col {
    min-width: 0;
}
.fee-setup-card {
    width: 100%;
    min-height: 132px;
    border: 1px solid #edf0f5;
    border-radius: 6px;
    background: #fff;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 18px;
    color: #111827;
    text-decoration: none;
    text-align: left;
    box-shadow: 0 7px 18px rgba(21, 35, 62, .08);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fee-setup-card:hover {
    color: #111827;
    border-color: #cfd8e6;
    box-shadow: 0 10px 22px rgba(21, 35, 62, .13);
    transform: translateY(-1px);
}
.fee-setup-card-button {
    cursor: pointer;
    font: inherit;
}
.fee-setup-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #295372;
    display: grid;
    place-items: center;
    font-size: 24px;
    box-shadow: 0 8px 18px rgba(148, 163, 184, .35);
}
.fee-setup-title {
    margin: 4px 0 14px;
    color: #1d2736;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
}
.fee-setup-copy {
    margin: 0;
    color: #7b8491;
    font-size: 14px;
    line-height: 1.5;
}
.fee-setup-modal .modal-content {
    border: 0;
    border-radius: 6px;
    box-shadow: 0 16px 46px rgba(15, 23, 42, .2);
}
.fee-setup-modal .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.fee-setup-modal .modal-title {
    font-weight: 800;
}
.fee-setup-modal-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    padding: 14px;
}
.fee-setup-modal-card .form-label {
    color: #344256;
    font-weight: 700;
}
.print-theme-modal .modal-dialog {
    width: calc(100vw - 345px);
    max-width: none;
    margin: 48px 0 0 auto;
}
.print-theme-modal .modal-content {
    min-height: calc(100vh - 48px);
    border: 0;
    border-radius: 0;
    box-shadow: -12px 0 36px rgba(15, 23, 42, .24);
}
.print-theme-modal .modal-header {
    gap: 14px;
    justify-content: flex-start;
    padding: 22px 20px;
}
.print-theme-modal .modal-title {
    font-size: 34px;
    font-weight: 500;
}
.print-theme-close {
    border: 0;
    background: transparent;
    color: #000;
    font-size: 21px;
    padding: 0;
}
.print-theme-heading {
    border-bottom: 3px solid #d5d5d5;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 6px;
    margin-bottom: 28px;
}
.print-theme-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 36px 12px;
}
.print-theme-card {
    margin: 0;
    cursor: pointer;
    min-width: 0;
}
.print-theme-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.print-theme-preview {
    position: relative;
    min-height: 350px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
    display: block;
    overflow: visible;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .12);
}
.print-theme-card input:checked + .print-theme-preview {
    border-color: #13a10e;
    box-shadow: 0 0 0 2px #13a10e, 0 3px 8px rgba(15, 23, 42, .12);
}
.print-selected-mark {
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 38px;
    height: 38px;
    margin-left: -19px;
    border-radius: 50%;
    background: #18ad11;
    color: #fff;
    display: none;
    place-items: center;
    z-index: 4;
    font-size: 24px;
}
.print-theme-card input:checked + .print-theme-preview .print-selected-mark {
    display: grid;
}
.print-preview-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 20, .58);
    color: #fff;
    text-align: center;
    padding: 13px 9px;
    font-size: 26px;
    line-height: 1;
}
.receipt-preview-mini {
    padding: 16px 16px 56px;
    color: #111827;
    font-family: "Times New Roman", serif;
}
.receipt-preview-mini .receipt-preview-title {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
}
.receipt-preview-mini .receipt-preview-school {
    display: block;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    margin-top: 4px;
}
.receipt-preview-line {
    display: block;
    height: 1px;
    background: #555;
    margin: 8px 0;
}
.receipt-preview-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 8px;
    font-size: 10px;
}
.receipt-preview-meta b,
.receipt-preview-meta em {
    font-style: normal;
    border-bottom: 1px solid #c5c5c5;
}
.receipt-preview-table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid #555;
    margin-top: 10px;
}
.receipt-preview-table i {
    height: 24px;
    padding: 3px 4px;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
    font-size: 10px;
    font-style: normal;
    overflow: hidden;
    white-space: nowrap;
}
.receipt-preview-table i:nth-child(3n) {
    border-right: 0;
}
.receipt-preview-total {
    display: block;
    margin-top: 8px;
    border: 1px solid #555;
    padding: 8px;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}
.receipt-preview-sign {
    display: block;
    margin-top: 14px;
    text-align: right;
    font-size: 10px;
    font-weight: 800;
}
.receipt-preview-mini.theme-2 .receipt-preview-school,
.receipt-preview-mini.theme-2 .receipt-preview-title {
    text-align: left;
}
.receipt-preview-mini.theme-3 {
    border-style: dashed;
}
.receipt-preview-mini.theme-3 .receipt-preview-title {
    background: #eef2ff;
    padding: 4px;
    border: 1px solid #777;
}
.receipt-preview-mini.theme-4 .receipt-preview-school {
    text-transform: uppercase;
    border-bottom: 2px double #333;
    padding-bottom: 4px;
}
.receipt-preview-mini.theme-5 {
    background: #fbfbfb;
}
.receipt-preview-mini.theme-5 .receipt-preview-table {
    grid-template-columns: 1.4fr 1fr 1fr;
}
.receipt-preview-mini.theme-6 .receipt-preview-title {
    font-size: 14px;
    margin-top: 24px;
}
.receipt-preview-mini.theme-6 .receipt-preview-school {
    font-size: 18px;
}
.receipt-theme {
    max-width: 1050px;
    margin: 0 auto;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    padding: 16px;
    font-size: 13px;
}
.receipt-theme-head {
    display: grid;
    grid-template-columns: 90px 1fr 120px;
    gap: 14px;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #111;
    padding-bottom: 10px;
}
.receipt-theme-head img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.receipt-theme-head h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
}
.receipt-theme-head p {
    margin: 1px 0;
}
.receipt-theme-head span {
    font-weight: 800;
    align-self: start;
}
.receipt-theme-title {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    margin: 10px 0;
}
.receipt-theme-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #111;
    border-bottom: 0;
}
.receipt-theme-info > div {
    padding: 8px 10px;
    border-right: 1px solid #111;
}
.receipt-theme-info > div:last-child {
    border-right: 0;
}
.receipt-theme-table {
    width: 100%;
    border-collapse: collapse;
}
.receipt-theme-table th,
.receipt-theme-table td,
.receipt-theme-summary table th,
.receipt-theme-summary table td {
    border: 1px solid #111;
    padding: 7px 8px;
}
.receipt-theme-table th {
    background: #f1f5f9;
}
.receipt-theme-table td:last-child,
.receipt-theme-table td:nth-child(4),
.receipt-theme-summary table td {
    text-align: right;
}
.receipt-theme-summary {
    display: grid;
    grid-template-columns: 1fr 310px;
}
.receipt-theme-summary > div {
    border: 1px solid #111;
    border-top: 0;
    padding: 10px;
}
.receipt-theme-summary table {
    width: 100%;
    border-collapse: collapse;
}
.receipt-theme-sign {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    gap: 20px;
    padding-top: 38px;
    text-align: center;
}
.receipt-theme-sign span:first-child,
.receipt-theme-sign span:last-child {
    border-top: 1px solid #111;
    padding-top: 6px;
}
.receipt-cut-line {
    max-width: 1050px;
    margin: 20px auto;
    border-top: 2px dotted #000;
}
.receipt-theme-2 .receipt-theme-head {
    text-align: left;
}
.receipt-theme-3 {
    border-style: dashed;
}
.receipt-theme-3 .receipt-theme-title {
    background: #eef2ff;
    border: 1px solid #111;
    padding: 8px;
}
.receipt-theme-4 .receipt-theme-head h2 {
    text-transform: uppercase;
    letter-spacing: 0;
}
.receipt-theme-4 .receipt-theme-head {
    border-bottom: 3px double #111;
}
.receipt-theme-5 {
    max-width: 780px;
}
.receipt-theme-5 .receipt-theme-summary {
    grid-template-columns: 1fr;
}
.receipt-theme-6 .receipt-theme-head {
    grid-template-columns: 1fr;
}
.receipt-theme-6 .receipt-theme-head img {
    margin: 0 auto;
}
.print-design-card {
    margin-top: 28px !important;
}
.print-design-card h6 {
    color: #172033;
    font-size: 18px;
    font-weight: 800;
    border-bottom: 1px solid #dbe4ef;
    padding-bottom: 8px;
    margin-bottom: 14px;
}
.receipt-header-left .receipt-theme-head {
    text-align: left;
}
.receipt-border-double {
    border: 3px double #111;
}
.receipt-border-dashed {
    border-style: dashed;
}
.receipt-no-logo .receipt-theme-head {
    grid-template-columns: 1fr 120px;
}
.receipt-no-logo .receipt-theme-head > span:first-child {
    display: none;
}
.branch-profile-page {
    display: grid;
    gap: 18px;
}
.branch-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.branch-page-head h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}
.branch-hero-card,
.branch-section-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(21, 35, 62, .08);
}
.branch-hero-card {
    display: grid;
    grid-template-columns: 120px 1fr 120px;
    gap: 20px;
    align-items: center;
    padding: 24px;
}
.branch-logo-box,
.branch-board-logo {
    text-align: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.branch-logo-box img,
.branch-board-logo img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin: 6px auto 0;
}
.branch-hero-main span {
    color: #64748b;
    font-weight: 700;
}
.branch-hero-main h2 {
    margin: 4px 0 2px;
    font-size: 28px;
    font-weight: 900;
}
.branch-hero-main h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
}
.branch-hero-main p {
    margin: 4px 0 10px;
    color: #475569;
}
.branch-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.branch-hero-meta b {
    background: #f1f5f9;
    border: 1px solid #dbe4ef;
    border-radius: 99px;
    padding: 6px 10px;
    font-size: 13px;
}
.branch-section-card {
    padding: 18px;
}
.branch-section-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
}
.branch-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: #1a73e8;
    font-size: 20px;
}
.branch-section-head h5 {
    margin: 0;
    font-weight: 900;
}
.branch-section-head p {
    margin: 0;
    color: #64748b;
}
.branch-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.branch-detail-item {
    border: 1px solid #e5eaf2;
    border-radius: 6px;
    padding: 12px;
    background: #fbfdff;
}
.branch-detail-item label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.branch-detail-item p {
    margin: 5px 0 0;
    color: #172033;
    font-weight: 800;
}
.branch-social-view {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.branch-social-chip {
    border-radius: 99px;
    color: #fff;
    padding: 9px 14px;
    font-weight: 800;
    text-decoration: none;
}
.branch-social-chip.facebook { background: #1877f2; }
.branch-social-chip.instagram { background: #d62976; }
.branch-social-chip.linkedin { background: #0a66c2; }
.branch-social-chip.youtube { background: #ff0000; }
.branch-social-chip.google { background: #34a853; }
.branch-profile-modal .modal-header {
    background: linear-gradient(135deg, #1e2d6e, #1a73e8);
    color: #fff;
}
.branch-profile-modal label {
    font-weight: 800;
    color: #344256;
}
.branch-profile-modal .modal-title {
    font-weight: 800;
}
.table-vidyaan {
    background: #fff;
}
.table-vidyaan th {
    border-bottom: 2px solid #000;
    font-weight: 700;
}
.feedback {
    position: fixed;
    right: 0;
    bottom: 90px;
    writing-mode: vertical-rl;
    background: #064aa4;
    color: #fff;
    padding: 14px 8px;
    border-radius: 8px 0 0 8px;
}
.page-footer {
    text-align: center;
    color: #555;
    padding: 18px;
    background: #fff;
}
.stat-box {
    border-radius: 14px;
    color: #fff;
    padding: 22px;
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stat-box h3 {
    font-size: 30px;
    font-weight: 800;
    margin: 0;
}
.certificate-page {
    width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #333;
    padding: 28px;
    min-height: 1120px;
}
.watermark {
    position: absolute;
    opacity: 0.08;
    left: 32%;
    top: 35%;
    width: 430px;
}
.fee-panel {
    border: 1px solid #333;
    background: #fff;
}
.student-strip {
    background: linear-gradient(90deg, #214665, #069cf0);
    color: #fff;
    padding: 8px 18px;
    font-weight: 600;
}
.month-list {
    width: 145px;
    border-right: 1px solid #333;
}
.month-item {
    display: flex;
    gap: 6px;
    align-items: center;
    border-bottom: 1px solid #999;
    padding: 5px;
    color: red;
    font-weight: 700;
}
.month-item.paid {
    color: green;
}
.fake-check {
    width: 22px;
    height: 22px;
    border: 1px solid #bbb;
    border-radius: 5px;
    background: #fff;
}
.fake-check.on {
    background: #78c27d;
}
.fee-table th {
    text-align: center;
    background: #f8f8f8;
    border-bottom: 2px solid #333;
}
.fee-side {
    border-left: 1px solid #333;
    padding: 14px;
}
.fee-interface-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
}
.fee-interface-container .card {
    border-radius: 0.75rem;
    border: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.fee-interface-container .table-hover tbody tr:hover {
    background-color: #f8f9fa;
}
.fee-interface-container .form-control-sm {
    border: 1px solid #dee2e6;
    padding: 0.4rem 0.5rem;
    font-size: 0.875rem;
}
.fee-interface-container .btn-link {
    transition: all 0.3s ease;
}
.fee-interface-container .btn-link:hover {
    color: #0d6efd !important;
}
.fee-interface-container .card-header {
    background-color: #0d6efd;
    color: #fff;
}
.fee-interface-container .month-checkbox {
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: all 0.2s;
}
.fee-interface-container .month-checkbox:hover {
    background: #f1f5f9;
}
.fee-interface-container .fee-summary-panel {
    position: sticky;
    top: 100px;
}
[x-cloak] {
    display: none !important;
}
.nff-page {
    --nff-blue: #1a73e8;
    --nff-deep: #253852;
    --nff-border: #dfe5ef;
    --nff-soft: #f6f8fb;
}
.nff-search-page {
    max-width: 860px;
}
.nff-search-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(21, 35, 62, .12);
    overflow: hidden;
}
.nff-search-head {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nff-search-head.individual {
    background: linear-gradient(90deg, #e53935, #e776dd);
}
.nff-search-head.sibling {
    background: #11a5d9;
}
.nff-search-body {
    padding: 18px;
}
.nff-search-body label {
    font-weight: 700;
    color: #31425a;
}
.nff-student-card {
    background: linear-gradient(90deg, #244b6b, #079df2);
    color: #fff;
    border-radius: 8px 8px 0 0;
    padding: 12px 18px;
    box-shadow: 0 6px 18px rgba(26, 54, 91, .12);
}
.nff-student-main {
    display: flex;
    gap: 14px;
    align-items: center;
}
.nff-student-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, .4);
}
.nff-student-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
}
.nff-student-card h3 span {
    font-size: 16px;
    font-weight: 600;
    opacity: .88;
}
.nff-student-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 14px;
}
.nff-tab-nav {
    background: #fff;
    border: 1px solid var(--nff-border);
    border-top: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    margin-bottom: 14px;
}
.nff-tab-btn {
    border: 0;
    border-right: 1px solid var(--nff-border);
    background: #fff;
    color: #5f6b7a;
    text-decoration: none;
    padding: 13px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-weight: 700;
}
.nff-tab-btn.active {
    color: var(--nff-blue);
    box-shadow: inset 0 -3px 0 var(--nff-blue);
}
.nff-due-chip {
    margin-left: auto;
    padding: 13px 18px;
    color: #dc3545;
    font-weight: 800;
    white-space: nowrap;
}
.nff-due-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 14px;
}
.nff-due-box {
    border-radius: 6px;
    padding: 12px 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
}
.nff-due-box span {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: .92;
}
.nff-due-box strong {
    font-size: 22px;
}
.nff-due-box.previous {
    background: #7358eb;
}
.nff-due-box.current {
    background: #f08b22;
}
.nff-due-box.total {
    background: #e74f5f;
}
.nff-fee-layout {
    display: grid;
    grid-template-columns: 155px minmax(380px, 1fr) 360px;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border: 1px solid #30343b;
    min-height: 590px;
}
.nff-month-col {
    border-right: 1px solid #30343b;
    background: #fff;
}
.nff-month-title {
    background: #f0f4f9;
    padding: 11px 12px;
    font-weight: 800;
    border-bottom: 1px solid #30343b;
}
.nff-month-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #b8c0cc;
    background: #fff;
    color: #d71920;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-weight: 800;
    text-align: left;
}
.nff-month-item.active {
    background: #fff8e7;
}
.nff-month-item.paid {
    color: #12823b;
}
.nff-month-dot {
    width: 22px;
    height: 22px;
    border: 1px solid #b7bfcc;
    border-radius: 5px;
    background: #fff;
    flex: 0 0 auto;
}
.nff-month-item.active .nff-month-dot,
.nff-month-item.paid .nff-month-dot {
    background: #76c17c;
    border-color: #64ae69;
}
.nff-fee-grid {
    min-width: 0;
}
.nff-table-wrap {
    overflow: auto;
    height: 100%;
}
.nff-fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.nff-fee-table th {
    background: #f8f9fb;
    padding: 10px 8px;
    text-align: center;
    border-bottom: 2px solid #30343b;
    color: #202735;
}
.nff-fee-table td {
    border-bottom: 1px solid #e4e8ef;
    padding: 7px 8px;
    vertical-align: middle;
}
.nff-fee-table tr.selected {
    background: #f4f9ff;
}
.nff-fee-table tr.paid {
    color: #198754;
    background: #f7fff9;
}
.nff-cell-input {
    width: 96px;
    height: 34px;
    border: 1px solid #cfd7e4;
    border-radius: 3px;
    padding: 4px 8px;
}
.misc-header td {
    background: #fff3cd;
    text-align: center;
}
.misc-header button {
    border: 0;
    background: transparent;
    color: #d79900;
    font-weight: 800;
}
.nff-summary-col {
    border-left: 1px solid #30343b;
    padding: 14px;
    background: #fff;
}
.nff-summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
.nff-summary-row > div:only-child {
    grid-column: 1 / -1;
}
.nff-summary-label,
.nff-form-group label {
    display: block;
    color: #4f5f73;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.nff-summary-input,
.nff-input,
.nff-select {
    width: 100%;
    height: 38px;
    border: 1px solid #cfd7e4;
    border-radius: 3px;
    padding: 6px 9px;
    background: #fff;
}
.payamount {
    color: #0b70d7;
    font-size: 18px;
    font-weight: 800;
}
.nff-dual-input {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 8px;
}
.nff-dual-input input {
    width: 100%;
    height: 38px;
    border: 1px solid #cfd7e4;
    border-radius: 3px;
    padding: 6px 9px;
}
.nff-bank-panel {
    border: 1px solid #d8e0ec;
    border-radius: 6px;
    background: #f8fbff;
    padding: 12px;
    margin: 8px 0 14px;
}
.nff-bank-panel .nff-form-group {
    margin-bottom: 10px;
}
.nff-bank-link {
    border: 0;
    color: var(--nff-blue);
    background: transparent;
    padding: 0;
    font-weight: 800;
}
.pm-action-bar {
    border-top: 1px solid #e2e7ef;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.pm-print-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 700;
}
.pm-print-toggle input {
    display: none;
}
.pm-toggle-pill {
    width: 42px;
    height: 22px;
    border-radius: 99px;
    background: #1a73e8;
    padding: 3px;
    display: inline-flex;
    align-items: center;
}
.pm-toggle-knob {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transform: translateX(20px);
}
.pm-print-toggle input:not(:checked) + .pm-toggle-pill {
    background: #aab3c1;
}
.pm-print-toggle input:not(:checked) + .pm-toggle-pill .pm-toggle-knob {
    transform: translateX(0);
}
.btn-submit-fee {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    min-width: 150px;
    height: 42px;
    background: #14a5f5;
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-submit-fee:disabled {
    background: #b5c0ce;
    cursor: not-allowed;
}
.nff-modal .modal-header {
    background: #f6f8fb;
    border-bottom: 1px solid #dfe5ef;
}
.prevdue-page {
    display: grid;
    gap: 18px;
}
.prevdue-form-card,
.prevdue-history-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(21, 35, 62, .1);
    border: 1px solid #e2e8f0;
    padding: 18px;
}
.prevdue-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}
.prevdue-metric {
    border-radius: 6px;
    padding: 14px 16px;
    color: #fff;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.prevdue-metric span {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: .9;
}
.prevdue-metric strong {
    font-size: 26px;
    line-height: 1;
}
.prevdue-metric.total {
    background: #574ee6;
}
.prevdue-metric.remaining {
    background: #e74f5f;
}
.prevdue-metric.paid {
    background: #08a783;
}
.prevdue-form-card label {
    font-weight: 800;
    color: #31425a;
    margin-bottom: 5px;
}
.prevdue-method-panel {
    background: #f8fbff;
    border: 1px solid #dbe5f2;
    border-radius: 6px;
    padding: 14px;
}
.prevdue-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}
.prevdue-actions .btn {
    min-width: 150px;
    font-weight: 800;
}
.prevdue-history-card .table th {
    background: #f6f8fb;
    color: #253852;
    white-space: nowrap;
}
.statement-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 14px;
}
.statement-actions .btn {
    min-width: 108px;
    border-radius: 4px;
    font-weight: 800;
}
.fee-statement-sheet {
    background: #fff;
    border: 1px solid #d8e0eb;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(21, 35, 62, .1);
    padding: 28px 30px;
    color: #1f2d3d;
}
.statement-school-head {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 16px;
    text-align: center;
    border-bottom: 2px solid #222;
    padding-bottom: 14px;
}
.statement-school-head img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}
.statement-school-head h2 {
    margin: 0 0 4px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0;
}
.statement-school-head p {
    margin: 1px 0;
    font-size: 13px;
    color: #334155;
}
.statement-title {
    margin: 18px 0 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    text-decoration: underline;
}
.statement-date {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #334155;
}
.statement-student-line {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    padding: 9px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}
.statement-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.statement-table th,
.statement-table td {
    border: 1px solid #3f3f46;
    padding: 8px 9px;
    vertical-align: top;
}
.statement-table th {
    background: #e7eef8;
    font-weight: 900;
    color: #172033;
    white-space: nowrap;
}
.statement-table td:nth-child(3),
.statement-table td:nth-child(4),
.statement-table td:nth-child(5),
.statement-table td:nth-child(6),
.statement-table td:nth-child(7),
.statement-table tfoot th:nth-child(n+3) {
    text-align: right;
}
.statement-table tfoot th {
    background: #f1f5f9;
    font-weight: 900;
}
.structure-table td:first-child,
.structure-table th:first-child {
    width: 150px;
    white-space: nowrap;
}
.structure-table td:last-child,
.structure-table th:last-child {
    width: 150px;
    text-align: right;
}
.structure-sign-row {
    grid-template-columns: 240px;
    justify-content: start;
}
.statement-due-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}
.statement-due-summary div {
    border: 1px solid #cbd5e1;
    background: #f8fbff;
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.statement-due-summary span {
    color: #475569;
    font-weight: 800;
}
.statement-due-summary strong {
    color: #0f172a;
}
.statement-sign-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    font-weight: 800;
    color: #111827;
}
.statement-sign-row span {
    border-top: 1px solid #111827;
    padding-top: 8px;
    text-align: center;
}
@media print {
    body {
        background: #fff !important;
    }
    .erp-sidebar,
    .erp-topbar,
    .no-print {
        display: none !important;
    }
    .erp-main {
        margin-left: 0 !important;
    }
    .erp-content {
        padding: 0 !important;
    }
    .fee-statement-sheet {
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
}
@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0;
    }
    .login-brand-panel {
        text-align: center;
    }
    .login-brand-panel p {
        margin: 0 auto;
    }
    .login-brand-panel h1 {
        font-size: 32px;
    }
    .erp-sidebar {
        transform: translateX(-100%);
    }
    .erp-main {
        margin-left: 0;
    }
    .setup-grid {
        grid-template-columns: 1fr;
    }
    .fee-setup-grid {
        grid-template-columns: 1fr;
    }
    .fee-setup-card {
        grid-template-columns: 50px 1fr;
        gap: 14px;
        min-height: 118px;
    }
    .fee-setup-icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }
    .fee-setup-title {
        font-size: 18px;
    }
    .print-theme-grid {
        grid-template-columns: 1fr 1fr;
    }
    .erp-topbar {
        overflow: auto;
        height: auto;
        min-height: 72px;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: flex-start;
    }
    .topbar-actions {
        gap: 12px;
    }
    .fee-interface-container .row {
        margin-right: 0;
        margin-left: 0;
    }
    .nff-fee-layout {
        grid-template-columns: 1fr;
    }
    .nff-month-col,
    .nff-summary-col {
        border: 0;
        border-bottom: 1px solid #30343b;
    }
    .nff-month-col {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .nff-month-title {
        grid-column: 1 / -1;
    }
    .nff-due-chip {
        margin-left: 0;
    }
    .nff-due-breakdown {
        grid-template-columns: 1fr;
    }
    .prevdue-metrics {
        grid-template-columns: 1fr;
    }
    .statement-actions {
        justify-content: stretch;
        flex-wrap: wrap;
    }
    .statement-actions .btn {
        flex: 1 1 120px;
    }
    .fee-statement-sheet {
        padding: 18px 14px;
        overflow-x: auto;
    }
    .statement-school-head {
        grid-template-columns: 1fr;
    }
    .statement-due-summary,
    .statement-sign-row {
        grid-template-columns: 1fr;
    }
}

/* Admin shell theme */
:root {
    --side: #111a2e;
    --erp-sidebar-width: 272px;
    --erp-primary: #6259d9;
    --erp-primary-dark: #4d44c2;
    --erp-accent: #20b486;
    --erp-bg: #f3f5f9;
    --erp-surface: #ffffff;
    --erp-border: #e5e9f0;
    --erp-text: #172033;
    --erp-muted: #748096;
}
html {
    scroll-behavior: smooth;
}
body.erp-admin-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 85% 0, rgba(98, 89, 217, .06), transparent 26rem),
        var(--erp-bg);
    color: var(--erp-text);
}
.erp-admin-body .erp-sidebar {
    width: var(--erp-sidebar-width);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .25s ease;
    background:
        radial-gradient(circle at 15% 0, rgba(120, 107, 238, .25), transparent 16rem),
        linear-gradient(180deg, #17233d 0%, #10192c 62%, #0b1323 100%);
    border-right: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 10px 0 35px rgba(18, 27, 47, .12);
    transition: transform .25s ease;
}
.erp-brand {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.erp-brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    padding: 5px;
    overflow: hidden;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}
.erp-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.erp-brand-copy {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}
.erp-brand-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.erp-brand-copy small {
    margin-top: 3px;
    color: #9eabc3;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.erp-sidebar-close {
    display: none;
    border: 0;
    background: transparent;
    color: #b9c4d8;
    font-size: 18px;
}
.erp-sidebar-session {
    margin: 14px 14px 7px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
}
.erp-sidebar-session span,
.erp-sidebar-session strong {
    display: block;
}
.erp-sidebar-session span {
    color: #9daac1;
    font-size: 10px;
}
.erp-sidebar-session span i {
    margin-right: 5px;
    color: #a99fff;
}
.erp-sidebar-session strong {
    margin-top: 3px;
    color: #fff;
    font-size: 13px;
}
.erp-admin-body .erp-search {
    position: relative;
    padding: 7px 14px 11px;
}
.erp-admin-body .erp-search > i {
    position: absolute;
    left: 27px;
    top: 50%;
    z-index: 1;
    color: #8190aa;
    transform: translateY(-60%);
}
.erp-admin-body .erp-search input {
    height: 39px;
    padding: 0 42px 0 36px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    outline: none;
    background: rgba(8, 15, 28, .38);
    color: #fff;
    font-size: 12px;
    transition: border-color .2s, background .2s;
}
.erp-admin-body .erp-search input::placeholder {
    color: #7e8da8;
}
.erp-admin-body .erp-search input:focus {
    border-color: rgba(145, 132, 255, .65);
    background: rgba(8, 15, 28, .65);
}
.erp-admin-body .erp-search kbd {
    position: absolute;
    right: 25px;
    top: 17px;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 5px;
    background: rgba(255, 255, 255, .07);
    color: #8492aa;
    font: 10px inherit;
}
.erp-admin-body .erp-menu {
    flex: 1;
    overflow-y: auto;
    padding: 3px 11px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .16) transparent;
}
.erp-menu-label {
    display: block;
    padding: 13px 11px 6px;
    color: #697993;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.erp-admin-body .erp-menu a,
.erp-menu-toggle {
    width: 100%;
    min-height: 41px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #b8c3d7;
    text-align: left;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background .18s, color .18s, transform .18s;
}
.erp-admin-body .erp-menu a > i:first-child,
.erp-menu-toggle > i:first-child {
    width: 20px;
    flex: 0 0 20px;
    color: #8292ad;
    font-size: 15px;
    text-align: center;
}
.erp-admin-body .erp-menu a:hover,
.erp-menu-toggle:hover {
    background: rgba(255, 255, 255, .065);
    color: #fff;
    transform: translateX(2px);
}
.erp-admin-body .erp-menu a.active,
.erp-menu-toggle.active {
    background: linear-gradient(100deg, rgba(105, 94, 227, .95), rgba(82, 72, 196, .9));
    color: #fff;
    box-shadow: 0 7px 18px rgba(35, 29, 105, .28);
}
.erp-admin-body .erp-menu a.active > i,
.erp-menu-toggle.active > i:first-child {
    color: #fff;
}
.erp-menu-arrow {
    margin-left: auto;
    color: #64748e;
    font-size: 11px;
    transition: transform .2s;
}
.erp-menu-group.is-open .erp-menu-arrow {
    transform: rotate(180deg);
}
.erp-admin-body .submenu {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0;
    transition: grid-template-rows .22s ease;
}
.erp-admin-body .submenu::before {
    content: "";
    display: none;
}
.erp-admin-body .submenu > a {
    min-height: 35px;
    margin-left: 18px;
    padding: 7px 10px;
    border-left: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0 8px 8px 0;
    font-size: 11px;
}
.erp-admin-body .submenu > a:first-child {
    margin-top: 4px;
}
.erp-admin-body .submenu > a:last-child {
    margin-bottom: 5px;
}
.erp-menu-group:not(.is-open) .submenu > a {
    min-height: 0;
    height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border-color: transparent;
    opacity: 0;
    pointer-events: none;
}
.erp-menu-group.is-open .submenu {
    grid-template-rows: 1fr;
}
.erp-menu-group.is-open .submenu > a {
    opacity: 1;
}
.erp-menu-empty {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 24px 10px;
    color: #7f8da5;
    font-size: 11px;
}
.erp-menu-empty.show {
    display: flex;
}
.erp-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(5, 10, 20, .25);
}
.erp-sidebar-footer .user-avatar {
    width: 35px;
    height: 35px;
    font-size: 12px;
}
.erp-sidebar-footer > div {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}
.erp-sidebar-footer strong {
    overflow: hidden;
    color: #eef2f8;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.erp-sidebar-footer small {
    color: #7f8da5;
    font-size: 9px;
}
.erp-sidebar-footer form button {
    border: 0;
    background: transparent;
    color: #8997af;
    font-size: 16px;
}
.erp-sidebar-footer form button:hover {
    color: #ff7474;
}
.erp-admin-body .erp-main {
    margin-left: var(--erp-sidebar-width);
    transition: margin-left .25s ease;
}
.erp-admin-body.erp-sidebar-collapsed .erp-sidebar {
    transform: translateX(-100%);
}
.erp-admin-body.erp-sidebar-collapsed .erp-main {
    margin-left: 0;
}
.erp-admin-body .erp-topbar {
    height: 74px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(224, 228, 236, .9);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 18px rgba(31, 40, 65, .035);
    backdrop-filter: blur(12px);
}
.erp-topbar-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.erp-admin-body .icon-btn {
    width: 39px;
    height: 39px;
    border: 1px solid #e5e8ef;
    border-radius: 10px;
    background: #fff;
    color: #5f58c9;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(28, 37, 60, .05);
}
.erp-page-context {
    min-width: 135px;
    display: flex;
    flex-direction: column;
    padding-right: 14px;
    border-right: 1px solid #e8ebf1;
}
.erp-page-context small {
    color: #8a94a6;
    font-size: 9px;
}
.erp-page-context strong {
    color: #253047;
    font-size: 12px;
}
.erp-quick-actions {
    display: flex;
    gap: 7px;
}
.erp-admin-body .top-btn {
    padding: 8px 11px;
    border-radius: 8px;
    font-size: 10px;
    box-shadow: none;
}
.erp-admin-body .top-btn:hover {
    color: #fff;
    filter: brightness(.96);
    transform: translateY(-1px);
}
.erp-admin-body .btn-purple {
    background: #665dd9;
}
.erp-admin-body .btn-green {
    background: #1baa82;
}
.erp-admin-body .btn-black {
    background: #253047;
}
.erp-admin-body .topbar-actions {
    gap: 11px;
}
.erp-admin-body .session-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid #e4e1fb;
    border-radius: 9px;
    background: #f4f2ff;
    /* color: #5d54c8; */
    box-shadow: none;
    font-size: 11px;
}
.erp-user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border: 1px solid transparent;
    border-radius: 10px;
}
.erp-user-menu:hover,
.erp-user-menu.show {
    border-color: #e2e5ec;
    background: #f8f9fb;
}
.erp-admin-body .user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #746be5, #5148c3);
    font-size: 12px;
}
.erp-user-copy {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.erp-user-copy b {
    color: #263148;
    font-size: 11px;
}
.erp-user-copy small {
    color: #8992a3;
    font-size: 9px;
}
.erp-profile-menu {
    min-width: 220px;
    padding: 7px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 16px 42px rgba(27, 35, 57, .18);
}
.erp-profile-head {
    display: flex;
    flex-direction: column;
    padding: 9px 11px 11px;
}
.erp-profile-head strong {
    color: #263047;
    font-size: 12px;
}
.erp-profile-head small {
    color: #8993a5;
    font-size: 10px;
}
.erp-profile-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 11px;
}
.erp-profile-menu .dropdown-item i {
    width: 17px;
    color: #798398;
}
.erp-admin-body .content {
    min-height: calc(100vh - 126px);
    padding: 24px 26px;
}
.erp-admin-body .erp-card {
    border: 1px solid var(--erp-border);
    box-shadow: 0 8px 26px rgba(30, 39, 66, .05);
}
.erp-admin-body .form-control,
.erp-admin-body .form-select {
    border-color: #dfe4ec;
}
.erp-admin-body .form-control:focus,
.erp-admin-body .form-select:focus {
    border-color: #8b83e8;
    box-shadow: 0 0 0 .18rem rgba(98, 89, 217, .12);
}
.erp-admin-body .dropdown-menu {
    border-color: var(--erp-border);
}
.erp-admin-body .table > :not(caption) > * > * {
    border-color: #edf0f5;
}
.erp-admin-body .page-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px 18px;
    color: #7c8799;
    font-size: 10px;
}
.erp-admin-body .page-footer span {
    color: #4d586d;
    font-weight: 700;
}
.erp-admin-body .page-footer small::before {
    content: "•";
    margin-right: 8px;
    color: #b4bbc7;
}
.erp-admin-body .feedback {
    right: 0;
    bottom: 90px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(135deg, #665dd9, #5047bd);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    box-shadow: 0 8px 20px rgba(64, 54, 166, .25);
}
.erp-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 1025;
    display: none;
    border: 0;
    background: rgba(8, 14, 27, .58);
    backdrop-filter: blur(2px);
}
@media (max-width: 1180px) {
    .erp-page-context {
        display: none;
    }
    .erp-admin-body .top-btn span {
        display: none;
    }
    .erp-admin-body .top-btn {
        width: 36px;
        height: 36px;
        justify-content: center;
        padding: 0;
    }
}
@media (max-width: 991px) {
    .erp-admin-body.erp-sidebar-collapsed .erp-sidebar {
        transform: translateX(-100%);
    }
    .erp-admin-body .erp-sidebar {
        z-index: 1040;
        transform: translateX(-100%);
    }
    .erp-admin-body.erp-sidebar-open {
        overflow: hidden;
    }
    .erp-sidebar-open .erp-sidebar {
        transform: translateX(0);
    }
    .erp-sidebar-open .erp-sidebar-overlay {
        display: block;
    }
    .erp-sidebar-close {
        display: block;
    }
    .erp-admin-body .erp-main {
        margin-left: 0;
    }
    .erp-admin-body .erp-topbar {
        min-height: 68px;
        height: 68px;
        padding: 0 14px;
        overflow: visible;
        align-items: center;
    }
    .erp-admin-body .content {
        padding: 18px 15px;
    }
}
@media (max-width: 640px) {
    .erp-quick-actions,
    .erp-admin-body .session-pill {
        display: none;
    }
    .erp-user-copy {
        display: none;
    }
    .erp-admin-body .erp-topbar {
        justify-content: space-between;
    }
    .erp-admin-body .feedback span {
        display: none;
    }
    .erp-admin-body .page-footer {
        flex-direction: column;
        gap: 2px;
    }
    .erp-admin-body .page-footer small::before {
        display: none;
    }
}
