
:root {
	--green: #126b4b;
	--green2: #0b5038;
	--gold: #d5a84c;
	--ink: #20312a;
	--muted: #718078;
	--bg: #f4f7f5;
	--line: #e5ece7;
}

.subscription-table th, .subscription-table td {
    white-space: nowrap;
    font-size: 14px !important;
}
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #efefef;
	color: var(--ink);
	font-family: 'SolaimanLipi', 'Hindsiliguri', sans-serif;
	font-size: 14px;
}

.topbar {
    height: 68px;
    background: #dadde5;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--green2);
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.brand i {
	font-size: 25px;
	color: var(--gold);
}

.top-user {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: 'NotoB','Hindsiliguri';
    color: #006bc6;
}
.role {
    background: #6fc998;
    color: #000000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-family: 'Encode';
}

.app-shell {
	display: flex;
	min-height: calc(100vh - 68px);
}

.sidebar {
    width: 245px;
    background: #fff;
    border-right: 1px solid #81b6f7;
    padding: 10px 14px;
    flex-shrink: 0;
}

.text-muted {
    --bs-text-opacity: 1;
    color: rgb(255 0 0 / 75%) !important;
    font-size: 16px;
}

#notefotmute {
    --bs-text-opacity: 1;
    color: rgb(255 0 0 / 75%) !important;
    font-size: 11px;
    font-family: Noto, 'HindSiliguri';
}

#heightlow458k, .form-control {
    min-height: 40px !important;
}

#higinlog87 {
    min-height: 50px !important;
}

.side-title {
    font-size: 16px;
    color: #006527;
    padding: 0 12px 12px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    color: #005689;
    text-decoration: none;
    margin: 3px 0;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #b3daf1;
}

.nav-link i {
	width: 20px;
	text-align: center;
	color: black;
}

.nav-link:hover,
.nav-link.active {
	background: #009ae394;
	color: black;
}

.logout {
    margin-top: 24px;
    color: red !important;
    background:none !important;
    border:1px solid red;
}
.logout i{
    color:red;
}

.logout:hover{
    background:red !important;
    color:white!important;
}
.logout i:hover{
    color:white;
}
.main-content {
    min-width: 0;
    flex: 1;
    padding: 10px 28px;
    max-width: 1600px;
    margin: 0 auto;
}
.public-content {
	min-height: calc(100vh - 68px);
}

.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}


.page-heading h2 {
    font-size: 25px;
    font-weight: 800;
    margin: 0 0 -4px;
    color: #00451f;
}
.page-heading p {
	color: var(--muted);
	margin: 0;
}

.eyebrow {
	color: var(--green);
	font-weight: 700;
}

.today-chip {
	background: #fff;
	border: 1px solid var(--line);
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

#rowof6create {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

.stat-card, .mini-stat {
    background: #fff;
    border: 1px solid #a9daf1;
    border-radius: 12px;
    padding: 9px 18px;
    box-shadow: 0 4px 16px #173e2710;
}

.stat-card {
	min-height: 125px;
	position: relative;
}

.stat-card span,
.mini-stat span {
	display: block;
	color: var(--muted);
	font-size: 13px;
}

.stat-card strong {
    display: block;
    font-size: 22px;
    margin-top: -5px;
    color: black;
}

.stat-icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	margin-bottom: 12px;
}

.stat-icon.green {
	background: #e8f5ed;
	color: #168252;
}

.stat-icon.blue {
	background: #eaf1fb;
	color: #477bc1;
}

.stat-icon.red {
	background: #fff0ed;
	color: #d06b55;
}

.stat-icon.gold {
	background: #fbf4e5;
	color: #b88a2e;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 11px 0 6px;
}

.section-title h3 {
	font-size: 18px;
	font-weight: 800;
	margin: 0;
}

.section-title h3 i {
	color: var(--green);
	margin-right: 7px;
}

.section-title a {
	color: var(--green);
	text-decoration: none;
}
#allviewa54 {
    font-family: 'HindSiliguri';
    color: #0072ff;
}

.friday-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mini-stat b {
    font-size: 18px;
    display: block;
    margin-top: -2px;
    color: #001412;
}
.mini-stat small {
	color: var(--muted);
}

.table-wrap {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow-x: auto;
	box-shadow: 0 4px 16px #173e2708;
}

.data-table {
	margin: 0;
	min-width: 720px;
	vertical-align: middle;
}

.data-table th {
    background: #88d7e9;
    color: #060e09;
    font-size: 16px;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
    padding: 7px 14px;
}

.data-table td {
    font-size: 15px;
    padding: 6px 14px;
    border-color: #cfcfcf;
    color: #000000;
    font-family: 'Noto','SolaimanLipi';
}
.data-table tr:last-child td {
    border-bottom: none;
}

.subscription-table th, .subscription-table td {
    white-space: nowrap;
    font-size: 15px;
    font-family: 'NotoB', 'SolaimanLipi';
}

.btn {
    border-radius: 9px;
    font-size: 16px;
    font-weight: 600;
    padding: 7px 14px;
}

.btn-primary {
	background: var(--green);
	border-color: var(--green);
}

.btn-primary:hover {
	background: var(--green2);
	border-color: var(--green2);
}

.addnewstyelsinb {
	background: var(--green);
	border-color: var(--green);
}
.addnewstyelsinb:hover {
    background: #fb00002e;
    border-color: #e70000;
    color: red;
}


.heading-actions {
	display: flex;
	gap: 9px;
}

.type-pill {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 5px;
    font-size: 14px;
}

.type-pill.income, .type-pill.approved {
    background: #187849;
    color: #ffffff;
    font-family: 'Noto', 'HindSiliguri';
}

.type-pill.expense, .type-pill.pending {
    background: #ff0000;
    color: #fff9f7;
     font-family: 'Noto', 'HindSiliguri';
}

.actions {
	white-space: nowrap;
}

.icon-btn {
    border: 0;
    background: #00671a;
    color: #f1f9f6;
    padding: 6px 9px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 2px;
    font-family: 'Noto', 'HindSiliguri';
}

.icon-btn.danger {
    background: #ffc7c7;
    color: #ff0000;
}

.empty-state {
	text-align: center;
	color: #89968e;
	padding: 28px !important;
}

.pagination-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 2px;
    color: var(--muted);
}

.pagination-row > div {
	display: flex;
	gap: 5px;
}

.page-link-custom {
	padding: 6px 10px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--green);
	text-decoration: none;
}

.page-link-custom.active {
	background: var(--green);
	color: #fff;
}

.modal-content {
	border: 0;
	border-radius: 16px;
	overflow: hidden;
}

.modal-header {
    background: #00d0ff;
    padding: 18px 22px;
}

.modal-header h5 {
	font-weight: 800;
	font-size: 18px;
	margin: 0;
}

.modal-body {
	padding: 22px;
}

.modal-footer {
    padding: 14px 22px;
    border-top: 1px solid #1da9d375;
}

label {
    font-weight: 600;
    color: #00185d;
    margin-bottom: 1px;
}
.form-control, .form-select {
    border-color: #4787e7;
    border-radius: 9px;
    min-height: 55px;
    font-size: 16px;
    color: black;
    border-radius: 5px;
    font-family: 'NotoB','SolaimanLipi';
}
#heightmanagment458{
    min-height: 38px;
}
.form-control:focus,
.form-select:focus {
	border-color: #76ae8f;
	box-shadow: 0 0 0 .2rem #126b4b18;
	color:red;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.form-grid .full {
	grid-column: 1 / -1;
}

.content-card,
.filter-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 15px;
	padding: 22px;
}

.filter-card {
	display: flex;
	align-items: end;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.filter-card > div {
	min-width: 150px;
	flex: 1;
}

.inline-form {
	display: flex;
	gap: 6px;
	align-items: center;
	min-width: 190px;
}

.print-heading {
	display: none;
}

.toast-box {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 2000;
	display: none;
	max-width: min(380px, calc(100vw - 32px));
	padding: 14px 18px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 35px #0002;
	border-left: 4px solid var(--green);
	font-weight: 600;
}

.toast-box.error,
.toast-box.duplicate {
	border-left-color: #c45a4d;
}

.toast-box.show {
	display: block;
	animation: toastIn .25s ease;
}

@keyframes toastIn {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

#lendengridlev45 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.compact .stat-card {
	min-height: 90px;
}

.compact #lowHtO4 {
    min-height: 66px;
}

.compact .stat-card strong {
	font-size: 20px;
}

@media (max-width: 1100px) {
	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.friday-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sidebar {
		width: 210px;
	}

	.main-content {
		padding: 22px;
	}
}

@media (max-width: 700px) {
	.topbar {
		height: auto;
		min-height: 60px;
		padding: 12px 14px;
	}

	.brand {
		font-size: 14px;
	}

	.brand i {
		font-size: 21px;
	}

	.top-user {
		font-size: 12px;
	}

	.app-shell {
		display: block;
	}

	.sidebar {
		width: 100%;
		display: flex;
		overflow-x: auto;
		padding: 8px;
		gap: 4px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
		position: sticky;
		top: 58px;
		z-index: 15;
	}

	.side-title {
		display: none;
	}

	.nav-link {
		white-space: nowrap;
		padding: 9px 11px;
		font-size: 12px;
		margin: 0;
	}

	.nav-link i {
		width: auto;
	}

	.logout {
		margin: 0;
	}

	.main-content {
		padding: 18px 12px;
	}

	.page-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 18px;
	}
    .onlythisp8997{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    
	.page-heading h2 {
		font-size: 21px;
	}

	.heading-actions {
		width: 100%;
		flex-wrap: wrap;
	}

	.heading-actions .btn {
		flex: 1;
	}

	.stats-grid,
	.friday-grid,
	.compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.stat-card,
	.mini-stat {
		padding: 13px;
		border-radius: 12px;
	}

	.stat-card strong {
		font-size: 17px;
	}

	.mini-stat b {
		font-size: 15px;
	}

	.stat-card span,
	.mini-stat span {
		font-size: 12px;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.form-grid .full {
		grid-column: auto;
	}

	.filter-card {
		padding: 14px;
	}

	.filter-card > div {
		min-width: calc(50% - 8px);
	}

	.pagination-row {
		gap: 10px;
		flex-direction: column;
		align-items: flex-start;
	}

	.today-chip {
		font-size: 12px;
	}

	.table-wrap {
		border-radius: 10px;
	}

	.section-title h3 {
		font-size: 16px;
	}
	
    #rowof6create {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 12px;
    }

    #rdivd54{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
	
	
	
	
}

@media (max-width: 380px) {
	.stats-grid,
	.friday-grid,
	.compact {
		/*grid-template-columns: 1fr;*/
	}

	.top-user .role {
		display: none;
	}
}

@media print {
	body {
		background: #fff;
	}

	.topbar,
	.sidebar,
	.heading-actions,
	.filter-card,
	.pagination-row,
	.toast-box,
	.btn,
	.actions {
		display: none !important;
	}

	.app-shell {
		display: block;
	}

	.main-content {
		padding: 0;
		max-width: none;
	}

	.table-wrap {
		border: 0;
		overflow: visible;
		box-shadow: none;
	}

	.data-table {
		min-width: 0;
		width: 100%;
		font-size: 11px;
	}

	.data-table th,
	.data-table td {
		padding: 7px;
		border: 1px solid #ddd !important;
	}

	.print-heading {
		display: block;
		text-align: center;
		position: relative;
		margin: 0 0 18px;
	}

	.print-heading span {
		position: absolute;
		right: 0;
		top: 0;
		font-size: 10px;
	}

	.print-heading h3 {
		font-size: 18px;
	}

	.print-heading p {
		margin: 0;
	}

	.data-table tr {
		break-inside: avoid;
	}
}


#anomodon{
   min-height: 38px !important;
}

#formwidheilow{
    min-height: 39px !important;
}

.formwidheilow{
    min-height: 39px !important;
}
#padtdthisonpage th, td{
    padding: 6px 6px !important;
}

.no-print{
    padding:6px 2px !important;
}

.newaddasdf{
   height:40px !important;
   margin-top:5px;
}

















/*Extra Code*/
.data-table th,
.data-table td {
    text-align: center !important;
    vertical-align: middle;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2),
.data-table th:nth-child(3),
.data-table td:nth-child(3) {
    text-align: left !important;
}
    
    #subwidthprintbut78{
        min-height: 42px;
    }
@media print {
    .no-print {
        display: none !important;
    }
    #centerteee{
        width:100%;
    }
    #centerteee h2,p{
        text-align:center !important;
    }
    #centerteee p{
        margin-top:-5px;
    }
    
    #rdivd54{
        display:none;
    }
    #printingheading444 h3{
        font-size:20px;
    }
    #printingheading444 p{
        font-size:18px;
        margin-top:-7px;
    }
    
    #noprintcom45{
        display:none;
    }
    
    #cpmcenter457{
        width:100%;
    }
    #cpmcenter457 h2, p{
        text-align:center;
    }
     #cpmcenter457 p{
         margin-top:-5px !important;
     }
}

