* {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	/* appearance: none; */
	text-decoration: none;
	list-style: none;
	box-sizing: border-box;
}

html,
body {
	overflow: auto;
	height: 100%;
	margin: 0;
	padding: 0;
}

html {
	font-size: 12px;
}

body {
	background: var(--color-background);
	font-family: poppins, sans-serif;
	min-height: 100vh;
	color: var(--color-text);
}

a {
	text-decoration: none;
}

h1 {
	font-size: 2.2rem;
}

h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.2rem;
}

h4 {
	font-size: 1rem;
}

h5 {
	font-size: 0.86rem;
	font-weight: 500;
}

h6 {
	font-size: 0.7rem;
}

p {
	font-size: 0.86rem;
	color: var(--color-grey-dark);
}

small {
	font-weight: 300;
	font-size: 0.77rem;
}

.container-fluid {
	padding-right: 20px;
	padding-left: 20px;
}

.clickable {
	user-select: none;
	cursor: pointer;
}

.text-muted {
	color: var(--color-grey-light);
}

.primary {
	color: var(--color-primary);
}

.danger {
	color: var(--color-danger);
}

.success {
	color: var(--color-success);
}

.purple {
	color: var(--color-purple);
}

.bg-primary {
	background: var(--color-primary);
	box-shadow: 0 0.8rem 0.8rem var(--color-primary-light);
}

.bg-danger {
	background: var(--color-danger);
	box-shadow: 0 0.8rem 0.8rem var(--color-danger-light);
}

.bg-success {
	background: var(--color-success);
	box-shadow: 0 0.8rem 0.8rem var(--color-success-light);
}

.bg-purple {
	background: var(--color-purple);
	box-shadow: 0 0.8rem 0.8rem var(--color-purple-light);
}

.bg-dark {
	background: #27282f;
	box-shadow: 0 0.8rem 0.8rem rgba(0, 0, 0.2);
}

.close-msg-box {
	font-size: 12px;
	font-weight: 900;
	margin-top: 2px;
}

@media (max-width: 480px) {
	aside,
	#menu-btn {
		display: none !important;
	}
	.logo img {
		padding: 0px !important;
	}
	.topbar-div {
		font-size: 7px !important;
		padding-left: 4px;
	}
	.all-btn-top {
		width: auto !important;
		font-size: 7px !important;
		gap: 3px;
	}
	.all-btn-top svg {
		font-size: 7px !important;
	}
	.all-btn-top span {
		font-size: 3px !important;
	}
	.theme-btn span {
		font-size: 0.7rem !important;
	}
	#language_dd .trn {
		font-size: 7px !important;
	}
	#language_dd .select-drop-box {
		padding: 0px !important;
		font-size: 3px !important;
		border: none !important;
		text-align: unset !important;
	}
	#language_dd .select-drop-box select {
		padding: 0px !important;
		font-size: 7px !important;
		width: auto !important;
		background: none !important;
		padding-right: 13px !important;
	}
	nav .profile h5,
	nav .profile span {
		display: block !important;
	}
	.material-symbols-sharp {
		font-size: 7px !important;
	}
	.material-symbols-outlined {
		font-size: 10px !important;
	}
	nav .profile .profile-submenu {
		top: 30px !important;
	}
	.profile-submenu {
		font-size: 7px !important;
		right: 0px !important;
		margin-right: 13px !important;
	}
	.lng-div {
		margin-left: 10px !important;
		margin-right: auto !important;
		width: 100% !important;
	}
	.flex-grow-1,
	.topbar-div {
		width: 100% !important;
	}

	.multi-btn-div {
		width: 100% !important;
		align-items: center !important;
	}
	.profile h5 {
		font-size: 7px !important;
	}
	html,
	body {
		font-size: 7px !important;
	}
	.master .logo {
		display: none !important;
	}
	.head-title,
	.all-head {
		width: 100% !important;
	}
	button {
		width: auto !important;
	}
	nav .profile .profile-submenu {
		width: auto !important;
		padding: 0 !important;
	}
	.logo img {
		padding: 3px !important;
		height: 25px !important;
		width: 50px !important;
		border-radius: 2px !important;
	}
	.profile-area {
		width: 100% !important;
	}
	nav .profile-area .profile-photo {
		margin: 0 !important;
	}
	.login_logo_box {
		top: -45px !important;
	}
	.log-div {
		width: 100% !important;
	}
	/* #checkbox_dd1 {
		margin-left: 10px !important;
	} */
	nav {
		margin-top: 35px !important;
	}
	.header_submit_btn {
		bottom: -5px !important;
	}
	.header_submit_btn {
		right: 0 !important;
	}
	#date_filters div:first-child {
		margin: 0px 13px 0px 0px !important;
	}
	.whsta-pdf,
	.topbar-div {
		display: none !important;
	}
	.img-pdf-bt {
		width: 40px !important;
		font-size: 5px !important;
	}
	.all-btn-top button:nth-of-type(1) {
		width: 80px !important;
		font-size: 5px !important;
	}
	.all-btn-top button:nth-of-type(1) span {
		width: 100% !important;
	}
}
@media (min-width: 500px) and (max-width: 900px) {
	aside,
	#menu-btn {
		display: none !important;
	}
	.logo img {
		padding: 0px !important;
	}
	.topbar-div {
		font-size: 7px !important;
		padding-left: 4px;
	}
	.all-btn-top {
		width: auto !important;
		font-size: 7px !important;
		gap: 3px;
	}
	.all-btn-top svg {
		font-size: 7px !important;
	}
	.all-btn-top span {
		font-size: 3px !important;
	}
	.theme-btn span {
		font-size: 0.7rem !important;
	}
	#language_dd .trn {
		font-size: 7px !important;
	}
	#language_dd .select-drop-box {
		padding: 0px !important;
		font-size: 3px !important;
		border: none !important;
		text-align: unset !important;
	}
	#language_dd .select-drop-box select {
		padding: 0px !important;
		font-size: 7px !important;
		width: auto !important;
		background: none !important;
		padding-right: 13px !important;
	}
	nav .profile h5,
	nav .profile span {
		display: block !important;
	}
	.material-symbols-sharp {
		font-size: 7px !important;
	}
	.material-symbols-outlined {
		font-size: 10px !important;
	}
	nav .profile .profile-submenu {
		top: 30px !important;
	}
	.profile-submenu {
		font-size: 7px !important;
		right: 0px !important;
		margin-right: 13px !important;
	}
	.lng-div {
		margin-left: 10px !important;
		margin-right: auto !important;
		width: 100% !important;
	}
	.flex-grow-1,
	.topbar-div {
		width: 100% !important;
	}

	.multi-btn-div {
		width: 100% !important;
		align-items: center !important;
	}
	.profile h5 {
		font-size: 7px !important;
	}
	html,
	body {
		font-size: 7px !important;
	}
	.master .logo {
		display: none !important;
	}
	.head-title,
	.all-head {
		width: 100% !important;
	}
	button {
		width: auto !important;
	}
	nav .profile .profile-submenu {
		width: auto !important;
		padding: 0 !important;
	}
	.logo img {
		padding: 3px !important;
		height: 25px !important;
		width: 50px !important;
		border-radius: 2px !important;
	}
	.profile-area {
		width: 100% !important;
	}
	nav .profile-area .profile-photo {
		margin: 0 !important;
	}
	.login_logo_box {
		top: -45px !important;
	}
	.log-div {
		width: 100% !important;
	}
	/* #checkbox_dd1 {
		margin-left: 10px !important;
	} */
	nav {
		margin-top: 35px !important;
	}
	.header_submit_btn {
		bottom: -5px !important;
	}
	.header_submit_btn {
		right: 0 !important;
	}
	#date_filters div:first-child {
		margin: 0px 13px 0px 0px !important;
	}
	.whsta-pdf,
	.topbar-div {
		display: none !important;
	}
	.img-pdf-bt {
		width: 40px !important;
		font-size: 5px !important;
	}
	.all-btn-top button:nth-of-type(1) {
		width: 80px !important;
		font-size: 5px !important;
	}
	.all-btn-top button:nth-of-type(1) span {
		width: 100% !important;
	}
}

/* ========== FULLSCREEN / FULL VIEW MODE ========== */
#fullscreen-exit-btn {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 999999 !important;
    background-color: #0fd46c !important;
    color: #0d333f !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    transition: 0.3s !important;
    width: auto !important;
    display: none !important; /* hidden by default */
    align-items: center !important;
}

#fullscreen-exit-btn:hover {
    background-color: #0bbf5f !important;
    transform: scale(1.05) !important;
}

body.report-fullscreen #fullscreen-exit-btn {
    display: flex !important;
}

body.report-fullscreen nav,
body.report-fullscreen aside,
body.report-fullscreen #menu-btn {
    display: none !important;
}

body.report-fullscreen #fullscreen-topbar-btn {
    display: none !important;
}

body.report-fullscreen main {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 1.5rem !important;
}

body.report-fullscreen .middle {
    width: 100% !important;
}

/* ---- Scale up components in fullscreen ---- */

/* Base font bump */
body.report-fullscreen {
    font-size: 13px !important; /* was 14px */
}

/* Headers inside report */
body.report-fullscreen h1 { font-size: 2.4rem !important; } /* was 2.6 */
body.report-fullscreen h2 { font-size: 1.8rem !important; } /* was 2.0 */
body.report-fullscreen h3 { font-size: 1.4rem !important; } /* was 1.6 */
body.report-fullscreen h4 { font-size: 1.1rem !important; } /* was 1.3 */
body.report-fullscreen h5 { font-size: 0.95rem !important; } /* was 1.1 */
body.report-fullscreen p,
body.report-fullscreen small,
body.report-fullscreen span { font-size: 1em !important; } /* was 1.1em */

/* Tables - fit full width, no horizontal scroll */
body.report-fullscreen table {
    width: 100% !important;
    table-layout: auto !important;
}

body.report-fullscreen table th,
body.report-fullscreen table td {
    font-size: 11px !important;  /* slightly smaller to fit */
    padding: 8px 6px !important; /* tighter padding */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Remove horizontal scroll only */
body.report-fullscreen .table-responsive,
body.report-fullscreen [style*="overflow"],
body.report-fullscreen div:has(> table) {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Buttons */
body.report-fullscreen .btn,
body.report-fullscreen button:not(#fullscreen-exit-btn) {
    font-size: 12px !important; /* was 13px */
    padding: 6px 14px !important; /* was 8px 16px */
}

/* Inputs */
body.report-fullscreen input[type="date"],
body.report-fullscreen select {
    font-size: 12px !important; /* was 13px */
    padding: 5px 8px !important; /* was 6px 10px */
}


