/*==================================================
    Variables
==================================================*/
:root {
  --primary: #e5092f;
  --primary-light: #fde4e8;
  --sidebar-width: 220px;
  --header-height: 70px;
  --text: #111111;
  --muted: #7b7b92;
  --border: #ececec;
  --white: #ffffff;
  --bs-primary-bg-subtle: #eff6ff;
  --transition: 0.3s ease;
}
/*==================================================
    Reset
==================================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: var(--text);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  border: none;
  background: none;
}
.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--primary);
}
.flatpickr-input + .input-group-text {
  font-size: 24px;
}
.flatpickr-input:focus + .input-group-text {
  border: 1px solid var(--primary);
}
.flatpickr-input {
  border-right: none !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--primary);
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  border-color: var(--primary);
}
/*=====================================
    Layout Starts
=====================================*/
/*=====================================
    Sidebar
=====================================*/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  z-index: 1050;
}
.sidebar-header {
  flex-shrink: 0;
  padding: 24px 17px 18px;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  border-radius: 10px;
  padding: 5px 0;
}
.sidebar-brand img {
  max-width: 170px;
  width: 100%;
  height: auto;
}
.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 20px;
}
.sidebar-content::-webkit-scrollbar {
  width: 5px;
}
.sidebar-content::-webkit-scrollbar-thumb {
  background: #d7d7d7;
  border-radius: 20px;
}
.sidebar-footer {
  display: flex;
  flex-shrink: 0;
  padding: 20px 16px;
  justify-content: center;
}
/*=====================================
    Menu
=====================================*/
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-item {
  width: 100%;
}
.menu-item > a,
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.menu-content {
  display: flex;
  align-items: center;
  gap: 5px;
}
.menu-icon {
  width: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 20px;
  color: var(--primary);
}
.menu-text {
  white-space: nowrap;
  font-weight: 600;
}
.menu-item > a:hover,
.menu-link:hover {
  background: #fde4e8;
  color: var(--primary);
}
.menu-item.active > a {
  background: var(--primary-light);
  /* color: var(--primary); */
}
.menu-item.active .menu-icon i {
  color: var(--primary);
}
.menu-icon iconify-icon {
  font-size: inherit;
}
/*=====================================
    Submenu
=====================================*/
.has-submenu {
  margin-top: 8px;
}
.menu-arrow {
  font-size: 18px;
  color: #999;
  transition: 0.25s;
  display: flex;
  align-items: center;
}
.menu-link[aria-expanded="true"] .menu-arrow {
  transform: rotate(180deg);
}
.submenu {
  margin: 6px 0 12px 34px;
}
.submenu li {
  margin-bottom: 10px;
}
.submenu li:last-child {
  margin-bottom: 0;
}
.submenu a {
  display: flex;
  color: var(--muted);
  font-size: 13px;
  padding: 15px;
  transition: 0.25s;
}
.submenu a:hover {
  background: #fde4e8;
  color: var(--primary);
}
.submenu .menu-item .submenu a {
  display: flex;
  color: var(--muted);
  font-size: 13px;
  padding: 0 5px;
  transition: 0.25s;
  min-height: 44px;
  align-items: center;
}
.submenu .menu-item .submenu a:hover {
  display: flex;
  color: var(--primary);
  font-size: 13px;
  padding: 0 5px;
  transition: 0.25s;
  min-height: 44px;
  align-items: center;
  border-radius: 8px;
  font-weight: 500;
}
.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 80%;
  height: 48px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.logout-btn:hover {
  background: #c90528;
  color: #fff;
}
/*=====================================
    Header
=====================================*/
.topbar {
  height: var(--header-height);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom-left-radius: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}
/*=====================================
    Left
=====================================*/
.topbar-left {
  display: flex;
  align-items: center;
}
.breadcrumb-area {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.breadcrumb-area iconify-icon {
  font-size: 18px;
}
.breadcrumb-area .separator {
  font-size: 20px;
  opacity: 0.7;
}
.active-page {
  font-weight: 600;
}
/*=====================================
    Right
=====================================*/
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-box {
  width: 260px;
  height: 42px;
  background: rgb(100 100 100 / 15%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 20px;
}
.search-box i {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin-right: 10px;
}
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding-left: 5px;
}
.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.header-action {
  width: 42px;
  height: 42px;
  border-radius: 20px;
  background: rgb(100 100 100 / 12%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  font-size: 28px;
}
.header-action i {
  font-size: 18px;
}
.header-action:hover {
  background: rgba(255, 255, 255, 0.22);
}
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition:
    margin-left 0.3s ease,
    width 0.3s ease;
}
/*=====================================
    Footer
=====================================*/
.footer {
  margin-top: auto;
  background: var(--white);
  padding: 14px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-copyright {
  font-size: 13px;
  font-weight: 500;
  color: #7f8192;
}
.footer-powered {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.footer-logo {
  display: inline-flex;
}
.footer-logo img {
  height: 55px;
  width: auto;
  display: block;
}
/*=====================================
    Layout Ends
=====================================*/
/*=====================================
    Page Content Starts
=====================================*/
.page-content {
  padding: 24px 24px 32px;
}
/*=====================================
    Dashboard Starts
=====================================*/
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-title {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.page-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none !important;
}
.page-filter:hover,
.page-filter:focus {
  color: var(--text);
  background: transparent;
}
.page-filter i {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.page-filter.show i {
  transform: rotate(180deg);
}
/*Dashboard Statistics*/
.dashboard-stats {
  margin-bottom: 32px;
}
.dashboard-stat {
  padding: 18px 18px 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-pink {
  background: #fdeced;
}
.stat-blue {
  background: #eaf3ff;
}
.stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.stat-title {
  margin: 10px 0 0;
  font-size: 17px;
  /* font-weight: 600; */
  color: #171717;
}
.stat-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
}
.stat-pink .stat-icon {
  background: #fad9de;
  color: #e12243;
}
.stat-blue .stat-icon {
  background: #d8e9ff;
  color: #0f6de8;
}
.stat-icon i {
  font-size: 34px;
}
/*==============================*/
.stat-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.stat-value {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  color: #111;
}
.stat-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin-bottom: 4px;
}
.stat-info iconify-icon {
  font-size: 20px;
}
/*Dashboard Panel*/
.dashboard-row {
  margin-bottom: 30px;
}
.dashboard-panel {
  background: #f9f9f9;
  border-radius: 22px;
  padding: 20px;
  height: 100%;
}
.dashboard-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.dashboard-panel-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}
.dashboard-panel-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.panel-tab {
  padding: 0;
  border: 0;
  background: none;
  color: #8b8b8b;
  font-size: 17px;
  font-weight: 500;
}
.panel-tab.active {
  color: var(--primary);
  font-weight: 700;
}
.dashboard-panel-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.legend-red {
  background: #ff405c;
}
.legend-blue {
  background: #8cbcff;
}
/*Notifications*/
.dashboard-panel-notification .dashboard-panel-header {
  display: block;
  padding: 0 8px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid #cfd3da;
}
.notification-list {
  display: flex;
  flex-direction: column;
}
.notification-item {
  padding: 12px 8px;
  border-bottom: 1px solid #cfd3da;
}
.notification-item:last-child {
  border-bottom: 0;
}
.notification-item.stat-blue,
.notification-item.stat-pink {
  margin: 6px 0;
  padding: 14px 12px;
  border-radius: 16px;
  border-bottom: 0;
}
.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.notification-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.notification-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8fb;
  border-radius: 14px;
  background: rgb(234 237 255 / 64%);
  color: #222;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notification-details {
  min-width: 0;
}
.notification-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #222;
}
.notification-time {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #9b9b9b;
  line-height: 1.2;
}
.notification-right {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  flex-shrink: 0;
}
/*=====================================
    Dashboard Table
=====================================*/
.dashboard-table {
  margin: 0;
  --bs-table-bg: transparent;
}
.dashboard-table tbody tr {
  border: 0;
}
.dashboard-table td {
  border: 0;
  font-size: 14px;
  font-weight: 400;
  color: #2d2d2d;
  vertical-align: middle;
  white-space: nowrap;
}
.dashboard-table tbody tr:first-child td {
  padding-top: 0;
}
.dashboard-table tbody tr:last-child td {
  padding-bottom: 0;
}
.table-user {
  display: flex;
  align-items: center;
  gap: 12px;
  /* min-width: 250px; */
}
.table-user img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.table-user span {
  font-size: 14px;
  font-weight: 500;
  color: #2d2d2d;
}
.table-time {
  color: #a5acb8;
}
/*=====================================
    Attendance Table
=====================================*/
.dashboard-attendance-table {
  margin: 0;
}
.dashboard-attendance-table thead th {
  padding: 18px 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1f1f1f;
  border-bottom: 1px solid #d9d9d9;
  background: transparent;
  white-space: nowrap;
}
.dashboard-attendance-table tbody td {
  padding: 16px 12px;
  font-size: 16px;
  font-weight: 400;
  color: #2d2d2d;
  border: 0;
  white-space: nowrap;
}
.dashboard-attendance-table tbody tr {
  border: 0;
}
.dashboard-attendance-table tbody tr:hover {
  background: transparent;
}
.attendance-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
}
.status-success {
  color: #1db954;
  background: #dff8e8;
  border-color: #1db954;
}
.status-danger {
  color: #e53935;
  background: #fde9e9;
  border-color: #e53935;
}
.status-primary {
  color: #5c6bc0;
  background: #ececff;
  border-color: #5c6bc0;
}
div.dt-container div.dt-paging ul.pagination {
  justify-content: end;
}
div.dt-container div.dt-length select {
  margin-left: 0.5em;
}
.active > .page-link,
.page-link.active {
  color: #fde4e8;
  background-color: #e5092f;
  border-color: #e5092f;
}
.page-item .page-link,
.page-item.disabled .page-link {
  height: 100%;
}
/*=====================================
    Dashboard Ends
=====================================*/
/*=====================================
    Common Form
=====================================*/
.common-form {
  padding: 30px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-label {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #1f1f1f;
}
.common-form .form-control,
.common-form .form-select {
  height: 50px;
  border: 1px solid #d9dce6;
  border-radius: 10px;
  font-size: 16px;
  color: #212529;
  box-shadow: none;
}
.common-form textarea.form-control {
  min-height: 110px;
  resize: vertical;
  padding-top: 14px;
}
.common-form .form-control::placeholder {
  color: #8b8f9f;
}
.common-form .form-control:focus,
.common-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: none;
}
.common-form .input-group-text {
  width: 50px;
  justify-content: center;
  border: 1px solid #d9dce6;
  border-left: 0 !important;
  background: #fff;
  color: var(--primary);
  border-radius: 10px;
}
/* .common-form .input-group .form-control {
  border-right: 0;
} */
.common-form .input-group .form-control:focus {
  z-index: 3;
}
.form-control[type="date"]::-webkit-calendar-picker-indicator,
.form-control[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: invert(18%) sepia(97%) saturate(4162%) hue-rotate(339deg)
    brightness(95%) contrast(97%);
}
.common-form .form-control.upload-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.common-form .table-upload iconify-icon {
  font-size: 20px;
}
/*=====================================
    Dynamic Sections
=====================================*/
.dynamic-section {
  margin-top: 40px;
}
.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1d;
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.section-title span {
  font-size: 16px;
  font-weight: 400;
}
.dynamic-item + .dynamic-item {
  margin-top: 30px;
}
.btn-add-row,
.btn-remove-row {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
/*=====================================
    Management Table
=====================================*/
.management-table {
  margin-bottom: 0;
  border: 1px solid #bfc3cf;
}
.management-table th,
.management-table td {
  border: 1px solid #bfc3cf;
  padding: 10px 12px;
  vertical-align: middle;
  font-size: 15px;
}
.management-table thead th {
  color: #4b4ee8;
  font-weight: 700;
  background: #fff;
  white-space: nowrap;
}
.management-table tbody td {
  color: #5f6375;
}
.management-table tbody td strong {
  color: #444;
  font-weight: 600;
}
/*=====================================
    Upload
=====================================*/
.table-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  color: #666;
  font-size: 14px;
  width: 100%;
}
.table-upload i {
  color: var(--primary);
  font-size: 15px;
}
.table-upload .upload-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.table-upload iconify-icon {
  font-size: 18px;
  color: var(--primary);
}
/*=====================================
    Date
=====================================*/
.table-date {
  position: relative;
}
.table-date .form-control {
  height: auto;
  background: transparent;
  box-shadow: none;
  color: #666;
  padding-right: 10px;
  font-size: 12px;
}
.table-date .form-control:focus {
  border-right: 0 !important;
}
.table-date .form-control::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  cursor: pointer;
}
.table-date i {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
}
.table-date .input-group-text {
  font-size: 18px;
  color: var(--primary);
}
/*=====================================
    Form Footer
=====================================*/
.page-form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.btn-form-cancel,
.btn-form-submit {
  min-width: 120px;
  height: 46px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}
.btn-form-cancel {
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #212529;
}
.btn-form-cancel:hover {
  background: var(--bs-btn-hover-bg);
}
.btn-form-submit {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-form-submit:hover {
  background: #c80828;
  border-color: #c80828;
}
/*=====================================
    Report Header
=====================================*/
.report-header {
  margin-bottom: 30px;
}
.report-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  color: #8b92a6;
  font-size: 16px;
}
.report-meta strong {
  color: #8b92a6;
  font-weight: 600;
}
.report-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}
.report-form {
  padding: 30px;
}
.report-form .form-control {
  background: #fff;
}
.report-form .form-control[readonly] {
  background: #fff;
  color: #73798d;
  cursor: default;
}
.report-form .form-control:focus {
  box-shadow: none;
}
/*=====================================
    Report Sections
=====================================*/
.report-section {
  margin-top: 22px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.report-section-header {
  background: #ffd7db;
  color: #111;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 20px;
  line-height: 1.3;
}
.report-section-body {
  padding: 18px 22px;
  color: #6f7687;
  font-size: 17px;
  line-height: 1.7;
  min-height: 90px;
}
.report-image {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
}
/*=====================================
    Report Table
=====================================*/
.report-section-header small {
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}
.report-table {
  margin-bottom: 0;
  border: 1px solid #dfe3ea;
}
.report-table th,
.report-table td {
  border: 1px solid #dfe3ea;
  padding: 12px 14px;
  vertical-align: middle;
}
.report-table thead th {
  background: #fff;
  color: #4b4ee8;
  font-size: 14px;
  font-weight: 700;
}
.report-table tbody td {
  color: #707789;
  font-size: 15px;
}
/*=====================================
    Management View Table
=====================================*/
.management-view-table {
  margin-bottom: 0;
  border: 1px solid #dfe3ea;
}
.management-view-table th,
.management-view-table td {
  border: 1px solid #dfe3ea;
  padding: 12px 14px;
  vertical-align: middle;
}
.management-view-table thead th {
  color: #4b4ee8;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
}
.management-view-table tbody td {
  color: #707789;
  font-size: 15px;
}
.management-view-table tbody td strong {
  color: #444;
  font-weight: 600;
}
.file-link {
  color: #5f667a;
  text-decoration: none;
}
.file-link:hover {
  color: var(--primary);
}
/*=====================================
    Approval Footer
=====================================*/
.approval-footer {
  margin: 40px 0;
}
.approval-item {
  font-size: 14px;
  color: #7a8092;
}
.approval-label {
  margin-right: 4px;
}
.approval-item strong {
  color: #1d1d1d;
  font-weight: 600;
}
/*=====================================
    Page Action Button
=====================================*/
.btn-page-action {
  min-width: 220px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  gap: 6px;
}
/*=====================================
    Incident Charts
=====================================*/
.incident-ratio-legend,
.lost-found-ratio-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}
.incident-ratio-legend li,
.lost-found-ratio-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 16px;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-text {
  flex: 1;
}
.legend-value {
  font-weight: 500;
  color: #222;
}
.legend-purple {
  background: #6b5cff;
}
.legend-purple-text {
  color: #6b5cff;
}
.incident-ratio-legend li {
  cursor: pointer;
  transition: 0.25s;
}
.incident-ratio-legend li:hover {
  opacity: 0.75;
}
.incident-ratio-legend li.inactive {
  opacity: 0.35;
}
.incident-ratio-legend li.inactive .legend-text,
.incident-ratio-legend li.inactive .legend-value {
  text-decoration: line-through;
}
.leave-ratio-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
/*=====================================
    Search Box
=====================================*/
.search-box-lg {
  position: relative;
}
.search-box-lg iconify-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa3b2;
  font-size: 16px;
}
.search-box-lg .form-control {
  height: 50px;
  padding-left: 48px;
  border-radius: 12px;
}
#incidentStatusFilter,
#patrollingStatusFilter,
#roleStatusFilter,
#companyStatusFilter,
#lostFoundStatusFilter,
#materialGatePassStatusFilter,
#leaveStatusFilter {
  height: 50px;
  border-radius: 12px;
}
/*=====================================
    Export Buttons
=====================================*/
.export-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.export-buttons iconify-icon {
  font-size: 22px;
}
.btn-export-excel,
.btn-export-pdf,
.btn-export-print {
  min-width: 95px;
  height: 50px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.btn-export-excel {
  background: #ef233c;
  border-color: #ef233c;
}
.btn-export-excel:hover {
  background: #d90429;
  border-color: #d90429;
  color: #fff;
}
.btn-export-pdf {
  background: #1f2456;
  border-color: #1f2456;
}
.btn-export-pdf:hover {
  background: #15193f;
  border-color: #15193f;
  color: #fff;
}
.btn-export-print {
  background: #495057;
  color: #fff;
}
.btn-export-print:hover {
  background: #343a40;
  color: #fff;
}
/*=====================================
    Incident DataTable
=====================================*/
.incident-table {
  margin-bottom: 0 !important;
}
.incident-table thead th {
  border: 0 !important;
  border-bottom: 2px solid #f1f3f7 !important;
  color: #4b4ee8;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 12px;
  white-space: nowrap;
  background: #fff;
}
.incident-table tbody td {
  padding: 18px 12px;
  vertical-align: top;
  border-top: 1px solid #eceff4;
  color: #2d3748;
  font-size: 15px;
}
.incident-table tbody tr:first-child td {
  border-top: 0;
}
.incident-table tbody tr.highlight-row {
  background: #ffe3e8;
}
.incident-table tbody tr:hover {
  background: #fff8f9;
}
/*--------------------------------------------------------------
# Table Action Buttons
--------------------------------------------------------------*/
.table-action-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.btn-table-action {
  width: 42px;
  height: 42px;
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  color: #6c63ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  text-decoration: none;
  font-size: 20px;
}
.btn-table-action:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-table-action i {
  font-size: 17px;
}
.btn-table-edit {
  color: #6c63ff;
}
.btn-table-delete {
  color: #ef4444;
}
.btn-table-view {
  color: #4f46e5;
}
/*=====================================
    Attachment
=====================================*/
.attachment-link {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #b8bec9;
  border-radius: 6px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
}
.attachment-link:hover {
  color: var(--primary);
  text-decoration: none;
}
/*=====================================
    Status
=====================================*/
.status-pending {
  color: #2962ff;
  font-weight: 500;
}
/*=====================================
    Action Buttons
=====================================*/
.table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-actions .action-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.25s;
  font-size: 20px;
}
.table-actions .action-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.action-download {
  color: #ef4444;
}
.action-view {
  color: #635bff;
}
.action-edit {
  color: #7b61ff;
}
.action-delete {
  color: #ef4444;
}
/*=====================================
    DataTables
=====================================*/
#incidentTable_wrapper .dt-layout-row:first-child {
  display: none;
}
#incidentTable_wrapper .dt-layout-row:last-child {
  margin-top: 20px;
}
#incidentTable_wrapper .dt-info {
  color: #7b8190;
  font-size: 14px;
}
#incidentTable_wrapper .dt-paging {
  margin-left: auto;
}
#incidentTable_wrapper .pagination {
  margin-bottom: 0;
}
.common-form .form-input-icon {
  display: flex;
  align-items: stretch;
}
.common-form .form-input-icon-left {
  width: 45px;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  color: var(--primary);
  font-size: 20px;
}
.common-form .form-input-icon .form-control {
  border-left: 0;
  border-radius: 0 10px 10px 0;
}
.common-form .form-input-icon .form-control:focus {
  border-left: 0;
}
.common-form .form-input-icon:focus-within .form-input-icon-left {
  border-color: var(--primary);
}
.common-form .form-input-icon .form-select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
  padding-left: 20px;
}
.checklist-options {
  display: flex;
  align-items: center;
  gap: 18px;
}
.checklist-options .form-check {
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 0;
}
.checklist-options .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin: 0 6px 0 0;
  border: 2px solid #d5d5d5;
  border-radius: 4px;
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
  box-shadow: none;
  transition: all 0.2s ease;
}
.checklist-options .form-check-label {
  margin-bottom: 0;
  font-size: 15px;
  color: #6f7287;
  cursor: pointer;
}
/* YES */
.checklist-success .form-check-input {
  border-color: #22c55e;
}
.checklist-success .form-check-input:checked {
  background-color: #22c55e;
  border-color: #22c55e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.3 2.9 8l-1.1 1.1 4.4 4.4L14.2 5.5l-1.1-1.1z'/%3E%3C/svg%3E");
}
/* NO */
.checklist-danger .form-check-input {
  border-color: #ef4444;
}
.checklist-danger .form-check-input:checked {
  background-color: #ef4444;
  border-color: #ef4444;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.3 2.9 8l-1.1 1.1 4.4 4.4L14.2 5.5l-1.1-1.1z'/%3E%3C/svg%3E");
}
/* N/A */
.checklist-secondary .form-check-input {
  border-color: #bfc4cc;
}
.checklist-secondary .form-check-input:checked {
  background-color: #bfc4cc;
  border-color: #bfc4cc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.3 2.9 8l-1.1 1.1 4.4 4.4L14.2 5.5l-1.1-1.1z'/%3E%3C/svg%3E");
}
.view-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 16px;
}
.view-info-label {
  color: #6f7287;
  font-weight: 500;
}
.view-info-value {
  color: #212529;
  font-weight: 600;
}
/* Compact Flatpickr inside tables */
.flatpickr-table-group {
  width: 100%;
  min-width: 130px;
}
.flatpickr-table-group .form-control {
  min-width: 0;
}
.flatpickr-table-group .input-group-text {
  width: 42px;
  justify-content: center;
  flex-shrink: 0;
}
.common-datatable th,
.common-datatable td {
  white-space: nowrap;
}
.permission-table .form-check-input {
  border-color: #d51f3b;
}
.permission-table .form-check-input:checked {
  background-color: #d51f3b;
  border-color: #d51f3b;
}
.permission-table th:first-child,
.permission-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  min-width: 220px;
  width: 220px;
  font-weight: 600;
}
.permission-table thead th {
  border: 1px solid var(--bs-table-border-color) !important;
}
.form-view-text {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.6;
}
a.form-view-text {
  color: var(--primary);
}
/* Notification Filters */
.notification-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.notification-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #dfe3eb;
  border-radius: 10px;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s ease;
}
.notification-filter-btn:hover {
  border-color: #cfd5df;
}
.notification-filter-btn.active {
  background: #1d2557;
  border-color: #1d2557;
  color: #fff;
}
.notification-filter-text {
  line-height: 1;
}
.notification-filter-count {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  background: #edf1f7;
  color: #3d4657;
}
.notification-filter-btn.active .notification-filter-count {
  background: #fff;
  color: #1d2557;
}
.notification-filter-btn:nth-child(2) .notification-filter-count {
  background: #ebe8ff;
  color: #7266f0;
}
.notification-filter-btn:nth-child(3) .notification-filter-count {
  background: #ffe8ec;
  color: #e63946;
}
.notification-filter-btn:nth-child(4) .notification-filter-count {
  background: #e7f8eb;
  color: #22a559;
}
.notification-filter-btn:nth-child(5) .notification-filter-count {
  background: #e7f1ff;
  color: #0d6efd;
}
/* Notification Cards */
.notification-card {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
}
.notification-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.notification-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.notification-time {
  color: #667085;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
/* Icons */
.notification-page-icon {
  width: 22px;
  height: 22px;
  /* border: 1px solid #e2e8fb; */
  border-radius: 14px;
  /* background: rgb(234 237 255 / 64%); */
  color: #222;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notification-icon-danger {
  color: #ef233c;
}
.notification-icon-warning {
  color: #ff9800;
}
.notification-icon-info {
  color: #0d6efd;
}
/* Badges */
.notification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.notification-badge-danger {
  background: #e31d3b;
  color: #fff;
}
.notification-badge-dark {
  background: #1d2557;
  color: #fff;
}
.notification-badge-secondary {
  background: #eef0f3;
  color: #2f3640;
}
.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
}
/* Typography */
.notification-title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: #1b1b1b;
}
.notification-description {
  margin: 0 0 16px;
  color: #4b5565;
  font-size: 15px;
  line-height: 1.7;
}
/* Notification Location */
.notification-location {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: #f5f6fa;
  border-radius: 8px;
  color: #374151;
  font-size: 15px;
  line-height: 1.4;
}
.notification-location iconify-icon {
  font-size: 18px;
  color: #ef233c;
  flex-shrink: 0;
}
.notification-location span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Notification Footer */
.notification-card-footer {
  margin-top: 14px;
}
/* Mark as Read Button */
.btn-notification-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  background: #e9f2ff;
  color: #0d6efd;
  border: 1px solid #d8e8ff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}
.btn-notification-read:hover {
  background: #dbeaff;
  color: #0b5ed7;
  border-color: #c8dcff;
}
/* Mark All as Read */
.btn-notification-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 10px;
  background: #eaf3ff;
  color: #0d6efd;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-notification-read:hover {
  background: #dcecff;
  color: #0d6efd;
}
/* Spacing */
.notification-card-body,
.notification-card-footer {
  padding-left: 32px;
}
.notification-card-body .notification-location {
  margin-top: 14px;
}
/* Leave Request Modal Start */
#leaveRequestModal .modal-dialog {
  max-width: 1000px;
}
#leaveRequestModal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}
#leaveRequestModal .modal-body {
  padding: 2rem;
}
.leave-modal-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.3px;
}
.leave-received-date {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
}
#leaveRequestModal hr {
  margin: 1.5rem 0;
  border-color: #bfc8d8;
  opacity: 1;
}
.leave-summary-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 16px;
}
.leave-summary-primary {
  background: #eef4ff;
}
.leave-summary-secondary {
  background: #fff0f5;
}
.leave-summary-item {
  display: flex;
  align-items: center;
}
.leave-summary-item + .leave-summary-item {
  margin-top: 1.25rem;
}
.leave-summary-label {
  min-width: 145px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
}
.leave-summary-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
}
.leave-reason {
  font-size: 1.2rem;
  color: #111;
}
.leave-reason strong {
  font-weight: 600;
}
.leave-attachment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 280px;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border: 2px solid #6ea8fe;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}
.leave-attachment:hover {
  color: #111;
  background: #f8fbff;
}
.leave-attachment iconify-icon {
  font-size: 1.2rem;
}
.leave-approval-panel {
  padding: 1.5rem;
  background: #eef4ff;
  border-radius: 16px;
}
.leave-modal-label {
  color: #244ea3;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}
.leave-approval-panel .form-select,
.leave-approval-panel .form-control {
  border: 0;
  min-height: 46px;
  font-size: 1rem;
}
.leave-approval-panel textarea.form-control {
  min-height: 120px;
  resize: none;
  padding-top: 0.85rem;
}
.leave-modal-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.leave-modal-footer .btn {
  min-width: 170px;
}
/* Leave Request Modal End */
