html {
	font-size: 1rem;
}
body {
	font-family: 'Inter', Arial, sans-serif;
	color: #222;
	background: #fafbfc;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	margin-bottom: 0.5em;
}

/*Login Page Customise Css*/

.login-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	min-width: 520px;
}
.login-card {
	background: #fff;
	border-radius: 16px;
	/* box-shadow: 0 4px 24px rgba(0,0,0,0.08); */
	padding: 40px 32px 32px 32px;
	width: 480px;
	max-width: 95vw;
}
.tab-row {
	display: flex;
	margin-bottom: 24px;
}
.tab-row button {
	flex: 1;
	padding: 12px 0;
	border: none;
	background: #f5f5f5;
	font-weight: 600;
	font-size: .875rem;
	line-height: 1.25rem;
	color: #222;
	border-radius: 8px 8px 0 0;
	transition: background 0.2s;
	outline: none;
}
.tab-row button.active {
	background: #fff;
	color: #1a73e8;
	/* box-shadow: 0 -2px 0 #1a73e8 inset; */
}
.login-title {
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 8px;
	font-family: 'Inter', Arial, sans-serif;
	line-height: 2rem;
}
.login-subtitle {
	text-align: center;
	color: #666;
	margin-bottom: 24px;
	font-size: .875rem;
	font-family: 'Inter', Arial, sans-serif;
	line-height: 1.25rem;
}
.form-label {
	font-size: .875rem;
	font-weight: 600;
	margin-bottom: 6px;
	line-height: 1.25rem;
}
.form-control {
	width: 100%;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	margin-bottom: 18px;
	font-size: 1rem;
}
.btn-primary {
	width: 100%;
	padding: 14px;
	background: #2196f3;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	border: none;
	border-radius: 8px;
	margin-top: 8px;
	transition: background 0.2s;
}
.btn-primary:hover {
	background: #1976d2;
}
.btn {
	font-size: 14px;
	font-weight: 400;
}

.login-main {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background: #fafbfc;
}
.login-wrapper {
	flex: 1 1 700px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
}
.login-card {
	background: #fff;
	border-radius: 16px;
	/* box-shadow: 0 4px 24px rgba(0,0,0,0.08); */
	padding: 40px 32px 32px 32px;
	width: 480px;
	max-width: 95vw;
}
.info-panel {
	flex: 1 1 600px;
	height: 100vh;
	background: #22a6f7;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0 60px;
}
.info-panel h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 24px;
	color: #fff;
}
.info-panel p {
	font-size: 1.2rem;
	margin-bottom: 32px;
	max-width: 500px;
}
.info-feature {
	display: flex;
	align-items: flex-start;
	margin-bottom: 28px;
}
.info-feature-icon {
	font-size: 1.6rem;
	margin-right: 18px;
	color: #fff;
}
.info-feature-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 2px;
}
.info-feature-desc {
	font-size: 1rem;
	color: #eaf6ff;
}
@media (max-width: 900px) {
	.login-main {
		flex-direction: column;
		height: auto;
	}
	.info-panel {
		height: auto;
		padding: 40px 24px;
		align-items: center;
	}
	.login-wrapper {
		padding: 32px 0;
	}
}
@media (max-width: 600px) {
	.login-main {
		flex-direction: column;
	}
	.info-panel {
		padding: 32px 10px;
	}
	.login-card {
		padding: 24px 8px;
		width: 100%;
	}
}


body, .app, .app-content, #content, .sidebar, .app-sidebar, .sidebar-menu {
    background: #fff !important;
}

.app-sidebar {
	border-right: 1px solid #e5e7eb;
	box-shadow: none;
}
input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    /* box-shadow: 0 0 0 1px rgba(0, 123, 255, 0.25); */
    border-color: #80bdff; /* Optional: match Bootstrap's primary border */
}

/* Rendered text styles */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444 !important;
    line-height: 40px !important;
    font-size: 16px !important;
    padding-left: 12px !important;
    padding-right: 28px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Main selection box styles */
.select2-container--default .select2-selection--single {
    height: 44px !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    padding: 0px !important;
}

/* Dropdown arrow alignment */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 8px !important;
    top: 0px !important;
}

/* Full-width container */
.select2-container {
    width: 100% !important;
}
.serial-number {
	font-weight: bold;
	color: #495057;
	text-align: center;
	width: 50px;
}
.table th {
	vertical-align: middle;
	text-align: center;
}
.table td {
	vertical-align: middle;
}
.progress {
	height: 8px;
}
/* Reduce width of search input box */
.dataTables_filter input {
	max-width: 150px !important;
	width: 100%;
	font-size: 14px;
	padding: 4px 8px;
}
.btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem
}

.info-card {
    border-left: 4px solid #007bff;
    background: #f8f9fa;
    transition: transform 0.2s;
}
/* .info-card:hover {
    transform: translateY(-2px);
} */
.info-card.success {
    border-left-color: #28a745;
}
.info-card.warning {
    border-left-color: #ffc107;
}
.info-card.danger {
    border-left-color: #dc3545;
}
.progress-ring {
    width: 120px;
    height: 120px;
}
.progress-ring circle {
    stroke-width: 8;
    fill: transparent;
    r: 52;
    cx: 60;
    cy: 60;
}
.progress-ring .progress-ring-background {
    stroke: #e9ecef;
}
.progress-ring .progress-ring-progress {
    stroke: #28a745;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dasharray 0.3s ease-in-out;
}
.timeline-item {
    border-left: 2px solid #e9ecef;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #007bff;
}
.timeline-item.completed::before {
    background: #28a745;
}
.timeline-item.current::before {
    background: #ffc107;
    width: 12px;
    height: 12px;
    left: -7px;
}
.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
    padding: 12px 24px;
}
.nav-tabs .nav-link.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    background: none;
}
.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #007bff;
}
.card {
    transition: box- 0.15s ease-in-out;
}
.badge {
    font-size: 0.75em;
    padding: 0.4em 0.8em;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}
.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}
.activity-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.activity-item:last-child {
    border-bottom: none;
}
.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/*
========================
  Page Loading 
========================
*/

.nk-block table tbody tr {
    background-color: #fff;
}

.page_loading {
    margin: 0px auto;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999999;
    top: 0px;
    background: rgba(46, 60, 84, 0.6);
    display: none;
}

.overlay {
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.loading_image {
    background: rgba(255, 255, 255, 1);
    width: 250px;
    height: 250px;
    position: fixed;
    top: 33%;
    left: 41%;
    z-index: 11;
    border-radius: 20px;
}

.load_img {
    text-align: center;
    margin-top: 0px;
    font-size: 16px;
}

.load_img img {
    width: auto;
    overflow: hidden;
    margin: 45px auto 0 auto;
}

.load_text {
    text-align: center;
    margin: 0px 0 18px 0;
    font-size: 18px;
    position: absolute;
    font-weight: bold;
    bottom: 10px;
    width: 100%;
}

@media (max-width: 748px) {
    .loading_image {
        background: #FFF;
        width: 180px;
        height: 180px;
        position: fixed;
        top: 33%;
        left: 27%;
        z-index: 11;
        border-radius: 10px;
    }

    .load_img img {
        width: 55%;
        overflow: hidden;
        margin: 25px auto 0 auto;
    }

    .load_text {
        text-align: center;
        margin-top: 0px;
        font-size: 14px;
        position: absolute;
        bottom: 0px;
        width: 100%;
    }
}

.bg-theme-light {
	background-color: #2094f3 !important;
	font-weight: 400;
	color:white !important;
}
.bg-theme-light:hover {
	background-color: #2094f3 !important; /* slightly darker blue */
	border-color: #2094f3 !important;
	color: white !important;
}
.export-button {
    color: black !important;
    font-weight: 400;
    border: 1px lightgray solid;
}
.export-button:hover {
	background-color: lightgrey;
    opacity: 0.9;
}

.info-icon{
	color: #2094f3 !important;
    font-size: 30px;
}
.info-text{
	color: #000000;
    font-size: 17px;
    opacity: 0.9;
	text-transform: uppercase;
}
.info-sub-text{
	color: #2094f3;
	font-size: 17px;
}
.info-card {
    border-left: 4px solid #007bff;
    background: white;
}
/* .info-card:hover {
    transform: translateY(-2px);
} */
.badge-info{
	background-color: rgb(239 246 255) !important;
	color: rgb(30 64 175);
}

.danger-icon{
	color: #ef4444 !important;
    font-size: 30px;
}
.danger-text{
	color: #ef4444;
    font-size: 15px;
    opacity: 0.9;
	text-transform: uppercase;
}
.danger-sub-text{
	color: #ef4444;
	font-size: 17px;
}
.danger-card {
    border-left: 4px solid #ef4444;
    background: white;
}
/* .danger-card:hover {
    transform: translateY(-2px);
} */
.badge-danger{
	background-color: #fee2e27a !important;
	color: rgb(153 27 27)
}


.warning-icon{
	color: #d97706 !important;
    font-size: 30px;
}
.warning-text{
	color: #d97706;
    font-size: 15px;
    opacity: 0.9;
	text-transform: uppercase;
}
.warning-sub-text{
	color: #d97706;
	font-size: 17px;
}
.warning-card {
    border-left: 4px solid #d97706;
    background: white;
}
/* .warning-card:hover {
    transform: translateY(-2px);
} */
.badge-warning{
	background-color: rgb(254 243 199) !important;
	color:rgb(146 64 14);
}

.success-icon{
	color: #16a34a !important;
    font-size: 30px;
}
.success-text{
	color: #16a34a;
    font-size: 15px;
    opacity: 0.9;
	text-transform: uppercase;
}
.success-sub-text{
	color: #16a34a;
	font-size: 17px;
}
.success-card {
    border-left: 4px solid #16a34a;
    background: white;
}
/* .success-card:hover {
    transform: translateY(-2px);
} */

.badge-success {
	background-color: rgb(220 252 231);
	color: rgb(22 163 74)
}

.badge-secondary{
	background-color: rgb(229, 231, 235); /* light gray */
	color: rgb(55, 65, 81);  
}

.badge-primary{
	background-color: rgb(181, 216, 244);
	color: rgb(32, 148, 243)
}

#hazard-status-tabs > li > .nav-link.active{
	color: black !important;
	background-color: white !important;
	font-size: 13px !important;
	font-weight: 500;
}

#hazard-status-tabs > li > .nav-link{
	color: grey !important;
	font-size: 13px !important;
	font-weight: 700;
}

#permits-status-tabs > li > .nav-link.active{
	color: white !important
}

#users-status-tabs > li > .nav-link.active{
	color: black !important;
	background-color: white !important;
	font-size: 13px !important;
	font-weight: 500;
}
#users-status-tabs > li > .nav-link{
	color: grey !important;
	font-size: 13px !important;
	font-weight: 700;
}

#incident-status-tabs > li > .nav-link.active{
	color: white !important;
	background-color: #0B89F2 !important;
	font-size: 13px !important;
	font-weight: 500;
}
#incident-status-tabs > li > .nav-link{
	color: black !important;
	font-size: 13px !important;
	font-weight: 700;
}

.app-sidebar .app-sidebar-content .menu .menu-item.active{
    color: white !important;
    font-weight: normal !important;
}

.app-sidebar .app-sidebar-content .menu .menu-item.active:not(.has-sub)>.menu-link {
    background: #0B89F2 !important;
}

.back-button:hover{
	background-color: rgba(211, 211, 211, 0.837);
}
.back-button:focus {
    background-color: rgba(211, 211, 211, 0.837) !important;
    border: 1px solid rgba(211, 211, 211, 0.837) !important;
}
/* Style error labels */
label.error {
    color: #dc3545;
    font-size: 0.875em;
    margin: 2px 0 4px 0;
    display: block;
}

/* Highlight red border on error */
input.error,
textarea.error,
select.error,
.select2-container--default .select2-selection--single.error,
.select2-container--default .select2-selection--multiple.error {
    border-color: #dc3545 !important;
}

.back-button {
    font-weight: bold !important;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.clamped.line-2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.clamped.line-3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.read-toggle {
	cursor: pointer;
	color: #007bff;
	font-size: 0.875rem;
	margin-left: 8px;
}


.expanded {
    -webkit-line-clamp: unset !important;
}

.clamped.line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#currentVideoDescription.expanded {
    -webkit-line-clamp: unset !important;
}

.line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.px-6 {
  padding-left: 4rem;
  padding-right: 4rem;
}

.form-control.error {
	margin-bottom: 5px !important;
}