:root {
  --jaskin-radius: 0.75rem;
}

body {
  -webkit-tap-highlight-color: transparent;
}

.jaskin-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.jaskin-logo-auth {
  height: 84px;
  width: 84px;
}

.jaskin-logo-sidebar {
  height: 38px;
  width: 38px;
}

.jaskin-auth-card {
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem rgba(67, 89, 113, 0.12);
}

.authentication-wrapper.authentication-basic {
  --bs-auth-basic-inner-max-width: 400px;
  padding-inline: 1rem;
}

.authentication-wrapper.authentication-basic .authentication-inner {
  margin-inline: auto;
}

@media (max-width: 575.98px) {
  .authentication-wrapper.authentication-basic .authentication-inner {
    max-inline-size: 100%;
  }
}

.jaskin-page-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.jaskin-page-header h4 {
  margin-bottom: 0.15rem;
}

.jaskin-page-header .jaskin-subtitle {
  color: #697a8d;
  font-size: 0.9rem;
}

.card {
  border: 0;
  box-shadow: 0 0.125rem 0.5rem rgba(67, 89, 113, 0.12);
  border-radius: var(--jaskin-radius);
}

.card .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(67, 89, 113, 0.08);
}

.table > :not(caption) > * > * {
  padding: 0.7rem 0.75rem;
  vertical-align: middle;
}

.table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #697a8d;
  white-space: nowrap;
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
}

.avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-weight: 600;
}

.stat-card .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  font-size: 1.5rem;
}

.stat-card .stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
}

.trip-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trip-timeline li {
  position: relative;
  padding: 0 0 1.25rem 2rem;
  border-left: 2px solid #e7e7ff;
}

.trip-timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.trip-timeline li::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 0.2rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #696cff;
  box-shadow: 0 0 0 3px #e7e7ff;
}

.trip-timeline li.is-trouble::before {
  background: #ff3e1d;
  box-shadow: 0 0 0 3px #ffe0d9;
}

.trip-timeline li.is-finished::before {
  background: #71dd37;
  box-shadow: 0 0 0 3px #e8fadf;
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 8px;
}

.menu .app-brand-text {
  letter-spacing: -0.4px;
}

.menu-inner .menu-item .badge {
  font-size: 0.65rem;
}

.jaskin-empty-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #697a8d;
}

.jaskin-empty-state i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.attendance-table td,
.attendance-table th {
  min-width: 110px;
}

.attendance-table .employee-cell {
  min-width: 180px;
}

.attendance-monthly th,
.attendance-monthly td {
  min-width: 30px;
  font-size: 0.75rem;
}

.attendance-monthly .sticky-col,
.trip-calendar .sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bs-paper-bg, #fff);
}

.attendance-monthly .sticky-col {
  min-width: 170px;
}

.trip-calendar th,
.trip-calendar td {
  min-width: 28px;
  padding: 0.25rem;
  font-size: 0.7rem;
}

.trip-calendar .sticky-col {
  min-width: 190px;
}

.legend-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.35rem;
}

@media (max-width: 767.98px) {
  .container-p-y {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .jaskin-page-header {
    margin-bottom: 1rem;
  }

  .jaskin-page-header h4 {
    font-size: 1.15rem;
  }

  .card-body {
    padding: 1rem;
  }

  .stat-card .stat-value {
    font-size: 1.35rem;
  }

  .table > :not(caption) > * > * {
    padding: 0.55rem;
    font-size: 0.82rem;
  }

  .btn-sm {
    padding: 0.28rem 0.55rem;
    font-size: 0.75rem;
  }

  .attendance-table {
    min-width: 760px;
  }

  .navbar-detached {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 575.98px) {
  .jaskin-page-header .jaskin-actions {
    width: 100%;
  }

  .jaskin-page-header .jaskin-actions .btn {
    flex: 1 1 auto;
  }

  .modal-dialog {
    margin: 0.5rem;
  }
}

@media print {
  .layout-menu,
  .layout-navbar,
  .content-footer,
  .jaskin-actions,
  .jaskin-print-hide,
  .d-print-none {
    display: none !important;
  }

  .layout-wrapper,
  .layout-container,
  .layout-page,
  .content-wrapper,
  .container-xxl {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .card {
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
  }

  .report-table {
    font-size: 10px;
  }

  .report-table th,
  .report-table td {
    padding: 0.25rem 0.35rem;
  }
}
