@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
:root {
  --activeColor: #eb6106;
  --brandColor: #eb6106;
  --brandColorHover: #d45605;
  --whiteColor: #ffffff;
  --bodyColor: #505050;
  --headingColor: #221d1a;
  --leadColor: #707070;
  --blackColor: #000000;
  --primaryBorderRadius: 12px;
}
body {
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
}
a,
a:hover {
  color: var(--activeColor);
  text-decoration: none;
}
p {
  font-size: 16px;
  color: var(--bodyColor);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--headingColor);
  margin: 0 0 30px;
  line-height: 1.3;
}
h5 {
  font-size: 21px;
}
.lead {
  font-size: 16px;
  font-weight: 500;
  color: var(--leadColor);
  margin: 0 0 24px 0;
}
::-webkit-scrollbar {
  width: 5px;
  height: 2px;
}
::-webkit-scrollbar-thumb {
  background: #525965;
  border-radius: 0;
}
::-webkit-scrollbar-track {
  background: transparent;
}
.btn-custom {
  background-color: #eb6106;
  color: var(--whiteColor);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: none;
}
.btn-custom:hover {
  background-color: #d45605;
  color: var(--whiteColor);
}
.form-control {
  padding: 12px 15px;
  border-radius: 30px;
  font-size: 15px;
  color: #909090;
}
.form-control:focus {
  border-color: #ced4da;
  outline: 0;
  box-shadow: none;
}
.form-control:not(:placeholder-shown) {
  background-color: #ffffff !important;
  border-color: #ced4da !important;
}
.form-floating > label {
  font-size: 16px;
  padding: 12px 20px;
  color: #909090;
}
.form-floating > .form-control {
  height: calc(3.2rem + 2px);
  border-radius: 5px;
  padding: 12px 20px;
}
.login-section {
  background-color: #ffffff;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
}
.login-section .btn-custom {
  background-color: #eb6106;
  color: var(--whiteColor);
}
.login-section .btn-custom:hover {
  background-color: #d45605;
  color: var(--whiteColor);
}
.login-section a:not(.btn-custom) {
  color: #eb6106;
}
.login-section a:not(.btn-custom):hover {
  color: #d45605;
}
.wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.middle-section {
  background-color: var(--whiteColor);
  border-radius: 20px;
  padding: 45px 20px 15px 20px;
}
.middle-section .logo {
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eb6106;
  border-radius: 100%;
  margin: 0 auto 15px auto;
  font-size: 42px;
  font-weight: 600;
  color: var(--whiteColor);
  overflow: hidden;
}
.login-section .middle-section .logo {
  background: #fff5ee;
  border: 2px solid #eb6106;
  color: #eb6106;
}
.middle-section .logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.middle-section h5 {
  font-size: 24px;
  margin: 0 0 24px 0;
  color: var(--blackColor);
  text-align: center;
}
.middle-section.shadow-lg {
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.07) !important;
}
.bottom-section p a {
  color: #eb6106;
  transition: ease-in-out all 0.2s;
}
.bottom-section p a:hover {
  color: #d45605;
}
.bottom-section p a b {
  font-weight: 500;
}
.bottom-section hr {
  border-color: #ced4da;
  opacity: 0.5;
}
@media all and (max-width: 1024px) {
  .login-section {
    padding: 0;
  }
  .login-section .container {
    max-width: 100%;
  }
  .wrapper {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  .middle-section {
    padding: 0;
    border-radius: 0;
  }
}
body.dashboard-page {
  background: #f7f8fa;
  min-height: 100vh;
}
.dash-header {
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.dash-header h4 {
  color: #fff;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  padding: 0;
}
.profile-circle:hover,
.profile-circle:focus,
.profile-circle.show {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: scale(1.05);
  box-shadow: none;
}
.profile-circle.dropdown-toggle::after {
  display: none;
}
.profile-menu .profile-dropdown {
  min-width: 220px;
  border: 1px solid #f0e3d8;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 20, 43, 0.12);
  padding: 8px 0;
  margin-top: 10px !important;
}
.profile-menu .profile-dropdown .dropdown-header {
  font-weight: 700;
  color: #1f2430;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}

.profile-menu .profile-dropdown .dropdown-item {
  font-weight: 600;
  color: #374151;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-menu .profile-dropdown .dropdown-item i {
  color: #eb6106;
  font-size: 16px;
}

.profile-menu .profile-dropdown .dropdown-item:hover,
.profile-menu .profile-dropdown .dropdown-item:focus {
  background: #fff5ee;
  color: #eb6106;
}

.profile-menu .profile-dropdown .dropdown-item.text-danger i,
.profile-menu .profile-dropdown .dropdown-item.text-danger {
  color: #b02a37;
}

.profile-menu .profile-dropdown .dropdown-item.text-danger:hover {
  background: #fdeaec;
  color: #b02a37;
}
.dash-header .logout-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}
.dash-header .logout-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.sidebar-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

body.employee-page .dash-header {
  background: #fff;
  color: #EB6106;
  border-bottom: 1px solid #f0e3d8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
body.employee-page .dash-header h4 {
  color: #EB6106;
}
body.employee-page .sidebar-toggle {
  border: 1px solid #f0e3d8;
  background: #fff5ee;
  color: #EB6106;
}
body.employee-page .profile-circle {

  color: #EB6106;
}
body.employee-page .profile-circle:hover,
body.employee-page .profile-circle:focus,
body.employee-page .profile-circle.show {
  background: #EB6106;
  border-color: #EB6106;
  color: #fff;
}

.notif-bell-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding: 0;
  cursor: pointer;
  transition: 0.2s;
}
body.employee-page .notif-bell-btn {
 
  color: #EB6106;
}
.notif-bell-btn:hover,
.notif-bell-btn:focus,
.notif-bell-btn.show {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}
body.employee-page .notif-bell-btn:hover,
body.employee-page .notif-bell-btn:focus,
body.employee-page .notif-bell-btn.show {
  background: #EB6106;
  border-color: #EB6106;
  color: #fff;
}

.notif-bell-btn.dropdown-toggle::after 
{ 
display: none; 
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid #fff;
}

.notif-dropdown {
  width: min(360px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid #f0e3d8;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(20, 20, 43, 0.14);
  overflow: hidden;
  margin-top: 10px !important;
}
.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f2f6;
  background: #fffaf6;
}
.notif-head strong {
  font-size: 14px;
  color: #1f2430;
}
.notif-mark-read {
  border: 0;
  background: transparent;
  color: #EB6106;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}
.notif-mark-read:hover { text-decoration: underline; }
.notif-mark-read:disabled { opacity: .5; cursor: default; text-decoration: none; }
.notif-list {
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
}
.notif-empty {
  padding: 28px 16px;
  text-align: center;
  color: #9aa1ad;
  font-size: 13px;
}
.notif-item {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f7;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: #fff8f2; color: inherit; }
.notif-item.is-unread { background: #fffaf6; }
.notif-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #1f2430;
  margin-bottom: 2px;
}
.notif-item-msg {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.4;
}
.notif-item-time {
  font-size: 11px;
  color: #9aa1ad;
  margin-top: 4px;
  font-weight: 600;
}
.notif-toast-host {
  position: fixed;
  top: 78px;
  right: 16px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: min(360px, calc(100vw - 24px));
}
.notif-toast {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #f0e3d8;
  border-left: 4px solid #EB6106;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 20, 43, 0.14);
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s;
  pointer-events: auto;
}
.notif-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}
.notif-toast-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff5ee;
  color: #EB6106;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
}
.notif-toast-body { min-width: 0; }
.notif-toast-body strong {
  display: block;
  font-size: 13px;
  color: #1f2430;
  margin-bottom: 2px;
}
.notif-toast-body span {
  display: block;
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.35;
}

.dash-layout {
  display: flex;
  min-height: calc(100vh - 72px);
}
.dash-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #eee;
  padding: 20px 14px;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}
.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
  padding: 0 12px 10px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.18s ease;
}
a.sidebar-link:hover,
a.sidebar-link:focus {
  text-decoration: none;
}
.sidebar-link i {
  font-size: 17px;
  width: 20px;
  text-align: center;
  color: #888;
}
.sidebar-link:hover,
.sidebar-link.sidebar-action {
  color: #eb6106;
}
.sidebar-link:hover,
.sidebar-link.sidebar-action:hover {
  background: #fff4e6;
}
.sidebar-link:hover i,
.sidebar-link.sidebar-action i {
  color: #eb6106;
}
.sidebar-link.active {
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(235, 97, 6, 0.28);
}
.sidebar-link.active i {
  color: #fff;
}
.sidebar-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 14px 8px;
}
.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-group-toggle {
  justify-content: flex-start;
}
.sidebar-group-toggle .sidebar-chevron {
  margin-left: auto;
  font-size: 13px;
  color: #aaa;
  transition: transform 0.2s ease;
}
.sidebar-group.is-open .sidebar-chevron {
  transform: rotate(180deg);
}
.sidebar-group-body {
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 6px;
  overflow: hidden;
}
.sidebar-group-body[hidden] {
  display: none !important;
}
.sidebar-group-body:not([hidden]) {
  display: flex;
}
.sidebar-domain-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-domain-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
}
.sidebar-domain-item.is-selected {
  background: #fff4e6;
  font-weight: 600;
}
.sidebar-link.sidebar-sub {
  padding-left: 28px;
  font-size: 13px;
}
.dash-main {
  flex: 1;
  min-width: 0;
  padding: 24px 24px 40px;
}
.dash-container {
  max-width: 1100px;
  margin: 0 auto;
}
.dash-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.dash-card h5 {
  margin-bottom: 0;
}

/* Shared page tabs (Admin Leave Setting look — used on admin + employee) */
.nav-tabs.settings-tabs {
  border-bottom: 2px solid #f0e3d8;
  gap: 4px;
}
.nav-tabs.settings-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #6b7280;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 18px;
  background: transparent;
}
.nav-tabs.settings-tabs .nav-link:hover,
.nav-tabs.settings-tabs .nav-link:focus {
  color: #EB6106;
  border-color: transparent;
  background: transparent;
}
.nav-tabs.settings-tabs .nav-link.active {
  color: #EB6106;
  border-bottom-color: #EB6106;
  background: transparent;
}
.nav-tabs.settings-tabs .nav-link i {
  margin-right: 6px;
}
.tab-pane-body {
  padding-top: 20px;
}
#welcomeCard.welcome-card {
  padding: 22px 28px;
}
.welcome-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}
.domain-switch-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}
.domain-switch-select {
  border-radius: 10px;
  border-color: #e5e7eb;
  font-size: 14px;
  font-weight: 500;
}
.domain-switch-select:focus {
  border-color: #eb6106;
  box-shadow: 0 0 0 0.2rem rgba(235, 97, 6, 0.15);
}
#overviewSection {
  margin-bottom: 4px;
}
.dash-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 20px;
  overflow-x: auto;
  overflow-y: hidden;
}
.dash-tab {
  border: none;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}
.dash-tab:hover {
  color: #eb6106;
}
.dash-tab.active {
  color: #eb6106;
  border-bottom-color: #eb6106;
}
.dash-tab-panel {
  animation: dashTabFade 0.2s ease;
}
@keyframes dashTabFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.verify-result {
  margin-top: 20px;
}
.verify-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.verify-status i {
  font-size: 24px;
  margin-top: 2px;
}
.verify-status h6 {
  margin: 0 0 4px;
  font-weight: 700;
}
.verify-status p {
  margin: 0;
  font-size: 14px;
}
.verify-status.verify-success {
  background: #ecfdf3;
  border: 1px solid #b7ebc6;
  color: #166534;
}
.verify-status.verify-success i {
  color: #16a34a;
}
.verify-status.verify-fail {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  color: #842029;
}
.verify-status.verify-fail i {
  color: #dc3545;
}
.verify-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.verify-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #eee;
}
.verify-check i {
  font-size: 16px;
  margin-top: 2px;
}
.verify-check.is-ok i {
  color: #16a34a;
}
.verify-check.is-fail i {
  color: #dc3545;
}
.verify-check-sub {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}
.settings-card h5 {
  font-size: 16px;
  font-weight: 600;
}
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.settings-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.settings-row:first-child {
  padding-top: 0;
}
.settings-label {
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}
.settings-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
  word-break: break-word;
}
.settings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.settings-badge-success {
  background: #ecfdf3;
  color: #15803d;
}
.settings-badge-warning {
  background: #fff7ed;
  color: #c2410c;
}
.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.settings-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  text-decoration: none;
}
.settings-action-btn:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}
.settings-danger-card {
  border: 1px solid #fecaca;
  background: #fffbfb;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #f0f0f0;
}
.stat-card .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}
.stat-card .stat-label {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  font-weight: 500;
}
.stat-card .stat-sub {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}
.stat-total .stat-icon {
  background: #fff4e6;
  color: #eb6106;
}
.stat-live .stat-icon {
  background: #dcfce7;
  color: #16a34a;
}
.stat-visitors .stat-icon {
  background: #dbeafe;
  color: #2563eb;
}
.stat-pageviews .stat-icon {
  background: #f3e8ff;
  color: #7c3aed;
}
.stat-live.is-active .stat-value {
  color: #16a34a;
}
.stat-live.is-active .live-dot {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
  animation: dashPulse 1.5s infinite;
}
@keyframes dashPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
.btn-primary-custom {
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
}
.btn-primary-custom:hover {
  color: #fff;
  opacity: 0.92;
}
.btn-primary-custom:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn-brand {
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%);
  border: none;
  color: #fff;
  font-weight: 600;
}
.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  filter: brightness(0.96);
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #eb6106;
  --bs-btn-border-color: #eb6106;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d45605;
  --bs-btn-hover-border-color: #d45605;
  --bs-btn-focus-shadow-rgb: 235, 97, 6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c44e05;
  --bs-btn-active-border-color: #c44e05;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #eb6106;
  --bs-btn-disabled-border-color: #eb6106;
}
.btn-outline-primary {
  --bs-btn-color: #eb6106;
  --bs-btn-border-color: #eb6106;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #eb6106;
  --bs-btn-hover-border-color: #eb6106;
  --bs-btn-focus-shadow-rgb: 235, 97, 6;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d45605;
  --bs-btn-active-border-color: #d45605;
  --bs-btn-disabled-color: #eb6106;
  --bs-btn-disabled-border-color: #eb6106;
}
.chart-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.chart-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #221d1a;
  margin: 0;
}
.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
#chartPeriodLabel {
  font-size: 13px;
}
.chart-wrap {
  position: relative;
  height: 280px;
  width: 100%;
}
.chart-empty {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  z-index: 2;
}
.chart-empty.show {
  display: flex;
}
.chart-period-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.chart-period-bar label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin: 0;
}
.chart-period-bar select,
#socialPeriodSelect {
  max-width: 220px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
#socialPeriodSelect {
  max-width: 200px;
}
.script-box {
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  background: #1e1e1e;
  color: #d4d4d4;
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  min-height: 80px;
  border: none;
  resize: vertical;
}
.location-panel {
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}
.location-map-wrap {
  flex: 1 1 320px;
  min-width: 0;
  min-height: 280px;
}
.world-map {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  background: #f8f9fa;
  overflow: hidden;
}
.location-list-col {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 768px) {
  .location-map-wrap,
  .world-map {
    min-height: 240px;
    height: 240px;
  }
}
.location-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f3f3;
}
.location-row:last-child {
  border-bottom: none;
}
.location-meta {
  flex: 1;
  min-width: 0;
}
.location-meta .name {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
}
.location-meta .counts {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.location-share {
  min-width: 90px;
  text-align: right;
}
.location-share .pct {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}
.location-bar {
  height: 6px;
  background: #f1f1f1;
  border-radius: 99px;
  margin-top: 6px;
  overflow: hidden;
}
.location-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%);
  border-radius: 99px;
}
.visitor-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.visitor-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}
.visitor-table th,
.visitor-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.visitor-table th {
  font-size: 12px;
  color: #888;
  font-weight: 600;
  white-space: nowrap;
}
#overviewPanelVisitors .visitor-table th:nth-child(1),
#overviewPanelVisitors .visitor-table td:nth-child(1) {
  width: 16%;
}
#overviewPanelVisitors .visitor-table th:nth-child(2),
#overviewPanelVisitors .visitor-table td:nth-child(2) {
  width: 34%;
}
#overviewPanelVisitors .visitor-table th:nth-child(3),
#overviewPanelVisitors .visitor-table td:nth-child(3) {
  width: 20%;
}
#overviewPanelVisitors .visitor-table th:nth-child(4),
#overviewPanelVisitors .visitor-table td:nth-child(4) {
  width: 30%;
}
.visitor-table td code {
  font-size: 12px;
  color: #1a1a1a;
  background: #f6f7f9;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.visitor-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.visitor-page-summary {
  font-size: 12px;
  color: #888;
}
.visitor-page-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.visitor-page-info {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  min-width: 88px;
  text-align: center;
}
.visitor-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.visitor-page-btn:hover:not(:disabled) {
  border-color: #eb6106;
  color: #eb6106;
  background: #fff8f3;
}
.visitor-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.visitor-table td.visitor-source-cell,
.visitor-table td.visitor-page-url {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.visitor-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
}
.visitor-source i {
  font-size: 14px;
  color: #eb6106;
}
.visitor-ref-url {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.traffic-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.traffic-type-direct {
  background: #f3f4f6;
  color: #4b5563;
}
.traffic-type-social {
  background: #fff4e6;
  color: #c2410c;
}
.traffic-type-referral {
  background: #eff6ff;
  color: #1d4ed8;
}
.bot-name-badge {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.bot-action-cell {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle !important;
  text-align: right;
  padding-right: 8px !important;
}
.btn-unblock-bot {
  all: unset;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 14px 4px 4px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(235, 97, 6, 0.18) !important;
  background: #fff !important;
  color: #221d1a !important;
  font-family: Outfit, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(34, 29, 26, 0.06) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease !important;
}
.btn-unblock-bot__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(235, 97, 6, 0.35);
  flex-shrink: 0;
}
.btn-unblock-bot__icon i {
  font-size: 12px !important;
  line-height: 1 !important;
  color: #fff !important;
}
.btn-unblock-bot__label {
  padding-right: 2px;
  color: #374151;
}
.btn-unblock-bot:hover {
  border-color: rgba(235, 97, 6, 0.45) !important;
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(235, 97, 6, 0.28) !important;
  transform: translateY(-1px);
}
.btn-unblock-bot:hover .btn-unblock-bot__icon {
  background: #fff;
  box-shadow: none;
}
.btn-unblock-bot:hover .btn-unblock-bot__icon i {
  color: #eb6106 !important;
}
.btn-unblock-bot:hover .btn-unblock-bot__label {
  color: #fff;
}
.btn-unblock-bot:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(235, 97, 6, 0.2) !important;
}
.btn-unblock-bot:focus-visible {
  outline: 2px solid rgba(235, 97, 6, 0.45) !important;
  outline-offset: 2px;
}
.btn-unblock-bot:disabled,
.btn-unblock-bot.is-loading {
  opacity: 0.7 !important;
  cursor: wait !important;
  transform: none !important;
  box-shadow: 0 1px 4px rgba(34, 29, 26, 0.05) !important;
}
.btn-unblock-bot .bot-btn-spin {
  display: inline-block;
  animation: botBtnSpin 0.8s linear infinite;
}
@keyframes botBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

.report-card {
  padding: 22px 24px;
}
.report-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #221d1a;
}
.report-card-hint {
  font-size: 12.5px;
  color: #888;
}
.report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.report-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.report-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.report-switch-slider {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #dfe1e6;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.report-switch-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.report-switch input:checked + .report-switch-slider {
  background: linear-gradient(135deg, #eb6106 0%, #ff8533 100%);
}
.report-switch input:checked + .report-switch-slider::after {
  transform: translateX(20px);
}
.report-switch input:focus-visible + .report-switch-slider {
  outline: 2px solid rgba(235, 97, 6, 0.45);
  outline-offset: 2px;
}
.report-switch-text {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  min-width: 24px;
}
.report-emails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.report-email-input {
  position: relative;
  flex: 1;
  min-width: 0;
}
.report-email-input i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 14px;
  pointer-events: none;
}
.report-email-input .form-control {
  padding-left: 42px;
  border-radius: 30px;
  font-size: 14px;
  color: #333;
}
.report-email-input .form-control:focus {
  border-color: #eb6106;
  box-shadow: 0 0 0 0.2rem rgba(235, 97, 6, 0.12);
}
.report-email-remove {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #fff;
  color: #aaa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: 0.18s ease;
}
.report-email-remove:hover {
  border-color: #fecaca;
  background: #fff5f5;
  color: #dc3545;
}
.report-add-more {
  margin-top: 12px;
  border: 1px dashed rgba(235, 97, 6, 0.45);
  background: #fff8f3;
  color: #eb6106;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.18s ease;
}
.report-add-more:hover {
  background: #eb6106;
  border-style: solid;
  border-color: #eb6106;
  color: #fff;
}
.report-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.report-last-sent {
  font-size: 12px;
  color: #999;
}
.report-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.report-card-actions .btn {
  font-size: 13px;
}
.report-card-actions .btn-primary-custom {
  padding: 9px 20px;
}
@media (max-width: 576px) {
  .report-card-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .report-card-actions {
    justify-content: stretch;
  }
  .report-card-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
/*=========================================
    PREMIUM ADD DOMAIN MODAL
=========================================*/

#addWebsiteModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 25px;
  z-index: 999999;
  animation: modalFade 0.25s ease;
}

#addWebsiteModal.show {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  animation: modalScale 0.28s ease;
  padding: 20px;
}

/* Header */

.modal-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f2f2f2;
  background: linear-gradient(135deg, #eb6106, #ff9448);
}

.modal-header h5 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h5 i {
  font-size: 24px;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.25s;
}

.modal-close:hover {
  background: #fff;
  color: #eb6106;
  transform: rotate(90deg);
}

/* Body */

.modal-body {
  padding: 30px;
}

.modal-body p {
  color: #777;
  margin-bottom: 18px;
  font-size: 14px;
}

.modal-body label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  display: block;
}

.modal-body input {
  width: 100%;
  height: 55px;
  border: 2px solid #ececec;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 15px;
  transition: 0.25s;
  background: #fafafa;
}

.modal-body input:focus {
  border-color: #eb6106;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(235, 97, 6, 0.12);
}

#domainError {
  margin-top: 8px;
  font-size: 13px;
  color: #dc3545;
}

/* Footer */

.modal-footer {
  padding: 22px 30px;
  border-top: 1px solid #f3f3f3;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Buttons */

.modal-footer button {
  border: none;
  border-radius: 50px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

#cancelAddWebsite {
  background: #ff7b23;
  color: #fff;
  border-radius: 20px;
}

#cancelAddWebsite:hover {
  background: #dfe5ec;
}

#confirmAddWebsite {
  background: linear-gradient(135deg, #eb6106, #ff9448);
  color: #fff;
  box-shadow: 0 10px 25px rgba(235, 97, 6, 0.28);
}

#confirmAddWebsite:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(235, 97, 6, 0.38);
}

#confirmAddWebsite:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Animation */

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile */

@media (max-width: 576px) {
  .modal-box {
    border-radius: 18px;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer button {
    width: 100%;
  }
}
/* Dashboard Loader */

#dashboardLoader {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;
  padding: 40px;
}

.dash-loader {
  width: 320px;
  text-align: center;
}

.dash-loader-graph {
  width: 100%;
  height: 80px;
}

.dash-loader-graph-svg {
  width: 100%;
  height: 100%;
}

.dash-loader-graph-line {
  fill: none;
  stroke: #eb6106;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 350;
  stroke-dashoffset: 350;
  animation: dashGraph 2s linear infinite;
}

.dash-loader-graph-area {
  fill: url(#dashLoaderFill);
  opacity: 0.5;
  animation: dashArea 2s ease-in-out infinite;
}

@keyframes dashGraph {
  from {
    stroke-dashoffset: 350;
  }

  to {
    stroke-dashoffset: -350;
  }
}

@keyframes dashArea {
  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.7;
  }
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}
/* ==========================================
   RESPONSIVE CSS
========================================== */

/* Laptop */
@media (max-width: 1200px) {
  .dash-main {
    padding: 20px;
  }

  .dash-card,
  .chart-card {
    padding: 20px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .sidebar-toggle {
    display: flex;
  }

  .dash-sidebar {
    position: fixed;
    left: -280px;
    top: 72px;
    width: 260px;
    height: calc(100vh - 72px);
    z-index: 999;
    transition: 0.3s;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  }

  .dash-sidebar.open {
    left: 0;
  }

  .dash-main {
    width: 100%;
    padding: 18px;
  }

  .dash-layout {
    display: block;
  }

  .chart-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-period-bar {
    width: 100%;
  }

  .chart-period-bar select {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .dash-header {
    padding: 14px 16px;
  }

  .dash-header h4 {
    font-size: 18px;
  }

  .header-right {
    gap: 8px;
  }

  .logout-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .dash-main {
    padding: 15px;
  }

  .dash-container {
    padding: 0;
    max-width: 100%;
  }

  .dash-card,
  .chart-card {
    padding: 16px;
    border-radius: 14px;
  }

  .welcome-card h3 {
    font-size: 22px;
  }

  .stat-card {
    margin-bottom: 15px;
  }

  .stat-card .stat-value {
    font-size: 24px;
  }

  .settings-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .settings-value {
    text-align: left;
  }

  .location-panel {
    flex-direction: column;
  }

  .location-map-wrap,
  .location-list-col {
    width: 100%;
  }

  .table-responsive {
    margin: 0 -4px;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive > .table {
    margin-bottom: 0;
  }

  .att-filters .form-control,
  .att-filters .att-filter-btn,
  .att-search {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .settings-tabs,
  .nav-tabs.settings-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
  }

  .settings-tabs .nav-link,
  .nav-tabs.settings-tabs .nav-link {
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 13px;
  }

  .form-row,
  .row.g-3 > [class*="col-"] {
    margin-bottom: 4px;
  }

  .btn-brand,
  .btn-leave-submit {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .dash-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-right {
    justify-content: flex-end;
  }

  .dash-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .dash-tab {
    flex: none;
    font-size: 13px;
    padding: 10px 14px;
  }

  .visitor-pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  .visitor-page-controls {
    width: 100%;
    justify-content: space-between;
  }

  .visitor-table {
    min-width: 650px;
  }

  .script-box {
    font-size: 12px;
  }

  .chart-wrap {
    height: 220px;
  }

  .profile-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .dash-main {
    padding: 12px;
  }

  .dash-card h3,
  .dash-card h4,
  .att-toolbar h3 {
    font-size: 17px !important;
  }

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

/* Very Small Devices */
@media (max-width: 400px) {
  .dash-main {
    padding: 12px;
  }

  .dash-card,
  .chart-card {
    padding: 14px;
  }

  .welcome-card h3 {
    font-size: 18px;
  }

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

  .modal-box {
    width: 95%;
  }
}

#locationViewAllBtn {
  background: #ff7b23;
  color: #fff;
  border-radius: 30px;
  padding: 9px;
  border: none;
}
/* ============ Email Reports panel ============ */
.reports-intro-card p {
  margin-bottom: 0;
}
.report-card {
  padding: 22px 26px;
}
.report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.report-card-title h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #221d1a;
  margin-bottom: 4px;
}
.report-card-desc {
  font-size: 0.82rem;
  color: #8a8a8a;
  margin: 0;
}
.report-card .report-switch {
  padding-left: 2.6em;
  min-height: auto;
  margin: 4px 0 0;
}
.report-card .report-switch .form-check-input {
  width: 2.4em;
  height: 1.25em;
  cursor: pointer;
  margin-left: -2.6em;
  background-color: #e2e2e6;
  border-color: #d5d5da;
  box-shadow: none;
}
.report-card .report-switch .form-check-input:checked {
  background-color: #eb6106;
  border-color: #eb6106;
}
.report-card .report-switch .form-check-input:focus {
  border-color: #ffb17a;
  box-shadow: 0 0 0 0.2rem rgba(235, 97, 6, 0.18);
}
.report-status {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #707070;
  background: #f8f9fb;
  border: 1px solid #ececf0;
  border-radius: 10px;
  padding: 8px 12px;
}
.report-status i {
  color: #eb6106;
}
.report-status-note {
  color: #9a9a9a;
}
.report-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #999;
  margin: 18px 0 8px;
}
.report-emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.report-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.report-email-row .form-control {
  flex: 1 1 auto;
}
.report-email-remove {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #ececf0;
  background: #f8f9fb;
  color: #b04a3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.report-email-remove:hover {
  background: #ffe9e4;
  color: #d9482f;
}
.report-add-more {
  margin-top: 10px;
  background: transparent;
  border: 1px dashed #ffc79c;
  color: #eb6106;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 8px 14px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.report-add-more:hover {
  background: #fff3ea;
  border-color: #ff9a52;
}
.report-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.report-card-actions .btn {
  border-radius: 10px;
  font-size: 0.88rem;
}
.report-card-actions .report-preview,
.report-card-actions .report-send {
  border: 1px solid #ececf0;
}
.reports-mail-alert code {
  color: #b04a00;
}
@media (max-width: 575.98px) {
  .report-card-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Toast / alert notifications */
.toast-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}
.dash-toast {
  pointer-events: auto;
  min-width: 240px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.9rem;
  line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #ff7f2e;
  animation: dashToastIn 0.2s ease-out;
}
.dash-toast.success {
  border-left-color: #22a06b;
}
.dash-toast.error {
  border-left-color: #e5484d;
}
@keyframes dashToastIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 575.98px) {
  .toast-wrap {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

/* ========================================================================== */
/* Page-specific styles (extracted from inline <style> blocks)               */
/* ========================================================================== */

/* ===== Admin Dashboard ===== */
#empMap { height: 460px; width: 100%; border-radius: 12px; z-index: 0; overflow: hidden; }
        .map-legend { font-size: 12px; color: #888; margin-top: 10px; }
        .map-legend .dot { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:4px; vertical-align:middle; }
        .leaflet-tooltip.emp-tip { font-size: 12px; }
        .leaflet-tooltip.emp-tip b { color:#EB6106; }
        .gmap-tip { font-size: 12px; line-height: 1.55; }
        .gmap-tip b { color: #EB6106; }
        .gmap-tip a { color: #1a73e8; }
        .map-dot {
            width: 18px; height: 18px; border-radius: 50%;
            border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35);
            cursor: pointer;
        }

        /* Admin hub dashboard (AttendPro-style) */
        .admin-hub-page .dash-main { background: #f4f6fb; }
        .admin-hub { display: flex; flex-direction: column; gap: 18px; }
        .hub-page-head {
            display: flex; align-items: flex-start; justify-content: space-between;
            gap: 12px; flex-wrap: wrap;
        }
        .hub-page-head h2 { margin: 0 0 4px; font-size: 24px; font-weight: 700; color: #1f2430; }
        .hub-page-head p { margin: 0; font-size: 13.5px; color: #8a8f9c; }
        .hub-date-pill {
            display: inline-flex; align-items: center; gap: 8px;
            background: #fff; border: 1px solid #e8eaef; border-radius: 10px;
            padding: 8px 14px; font-size: 13px; font-weight: 600; color: #4b5563;
            white-space: nowrap;
        }
        .hub-toolbar-row {
            display: flex; align-items: center; justify-content: space-between;
            gap: 12px; flex-wrap: wrap;
        }
        .hub-toolbar-row .hub-filter-bar {
            flex: 1 1 auto; min-width: 0; margin-bottom: 0;
        }
        .hub-toolbar-row .hub-date-pill {
            flex: 0 0 auto; align-self: center;
        }
        .hub-filter-bar {
            display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
           border-radius: 14px;
            padding: 10px 12px; margin-bottom: 5px;
        }
        .hub-filter-btn {
            border: 1px solid #e5e7eb; background: #f8fafc; color: #4b5563;
            border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 600;
            line-height: 1.2; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
        }
        .hub-filter-btn:hover:not(:disabled) {
            background: #fff7ed; border-color: #fdba74; color: #c2410c;
        }
        .hub-filter-btn.is-active {
            background: linear-gradient(135deg, #f97316, #ea580c);
            border-color: transparent; color: #fff;
            box-shadow: 0 6px 14px rgba(234, 88, 12, .28);
        }
        .hub-filter-btn:disabled { opacity: .65; cursor: wait; }
        .hub-filter-range {
            display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
            margin-left: 4px; padding: 4px 6px 4px 10px;
            border-left: 1px solid #e8eaef;
        }
        .hub-filter-range.is-active {
            background: #fff7ed; border-radius: 999px; border-left-color: transparent;
            box-shadow: inset 0 0 0 1px #fdba74;
        }
        .hub-filter-date {
            display: inline-flex; align-items: center; gap: 6px; margin: 0;
            font-size: 12px; font-weight: 600; color: #6b7280;
        }
        .hub-filter-date input[type="date"],
        .hub-filter-date .hub-filter-select {
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            background-color: #fff;
            font-size: 12.5px;
            font-weight: 600;
            color: #374151;
            min-width: 132px;
            height: 34px;
            line-height: 1.2;
            box-sizing: border-box;
        }
        .hub-filter-date input[type="date"] {
            padding: 5px 8px;
        }
        .hub-filter-date input[type="date"]:focus {
            outline: none; border-color: #fb923c; box-shadow: 0 0 0 3px rgba(249, 115, 22, .15);
        }
        .hub-filter-date .hub-filter-select {
            padding: 5px 28px 5px 10px;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 8px center;
        }
        .hub-filter-date .hub-filter-select:focus {
            outline: none; border-color: #fb923c; box-shadow: 0 0 0 3px rgba(249, 115, 22, .15);
        }
        .hub-filter-date .hub-filter-select:disabled,
        .hub-filter-date input[type="date"]:disabled {
            background-color: #f3f4f6;
            color: #9ca3af;
            cursor: not-allowed;
        }
        .hub-filter-period .hub-filter-select { min-width: 132px; }
        .report-filter-bar { margin-bottom: 18px; }
        .report-hub { display: flex; flex-direction: column; gap: 14px; }
        .hub-filter-range input[type="date"]:disabled {
            background-color: #f3f4f6; color: #9ca3af; cursor: not-allowed;
        }
        .hub-filter-apply {
            border: none; border-radius: 999px; padding: 7px 14px;
            font-size: 12.5px; font-weight: 700; color: #fff; cursor: pointer;
            background: linear-gradient(135deg, #f97316, #ea580c);
            box-shadow: 0 4px 12px rgba(234, 88, 12, .25);
        }
        .hub-filter-apply:hover:not(:disabled) { filter: brightness(1.05); }
        .hub-filter-apply:disabled { opacity: .65; cursor: wait; }
        .hub-filter-loading {
            display: inline-flex; align-items: center; gap: 8px;
            margin-left: auto; font-size: 12px; font-weight: 600; color: #9a3412;
        }
        .hub-filter-bar.is-loading { opacity: .92; pointer-events: none; }
        .hub-filter-bar.is-loading .hub-filter-btn:not(.is-active) { opacity: .55; }
        .dashboard-wrap { position: relative; }
        .dashboard-loader-overlay {
            position: absolute; inset: 0; z-index: 20;
            display: flex; align-items: center; justify-content: center;
            min-height: 320px;
            background: rgba(244, 246, 251, .92);
            border-radius: 14px;
            transition: opacity .28s ease, visibility .28s ease;
        }
        .dashboard-loader-overlay.is-hidden {
            opacity: 0; visibility: hidden; pointer-events: none;
        }
        @media (max-width: 991.98px) {
            .hub-toolbar-row { align-items: stretch; }
            .hub-toolbar-row .hub-date-pill {
                width: 100%; justify-content: center;
            }
            .hub-filter-range {
                width: 100%; margin-left: 0; padding-left: 0;
                border-left: 0; border-top: 1px solid #e8eaef; padding-top: 10px;
            }
            .hub-filter-range.is-active { border-radius: 12px; padding: 8px 10px; }
        }
        @media (max-width: 767.98px) {
            .hub-filter-loading { width: 100%; margin-left: 0; margin-top: 4px; }
            .hub-filter-date { width: 100%; justify-content: space-between; }
            .hub-filter-date input[type="date"] { flex: 1; min-width: 0; }
            .hub-filter-apply { width: 100%; }
        }
        .hub-stat-grid {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 14px;
        }
        .hub-stat-card {
            background: #fff; border: 1px solid #eceef3; border-radius: 14px;
            padding: 16px 14px; display: flex; align-items: flex-start; gap: 12px;
            box-shadow: 0 4px 14px rgba(20, 20, 43, .04);
        }
        .hub-stat-card .ico {
            width: 42px; height: 42px; border-radius: 12px;
            display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 42px;
        }
        .hub-stat-card .ico.blue { background: #eaf0fc; color: #3b82f6; }
        .hub-stat-card .ico.green { background: #e8f8ef; color: #22c55e; }
        .hub-stat-card .ico.red { background: #fdecef; color: #ef4444; }
        .hub-stat-card .ico.orange { background: #fff4ec; color: #f59e0b; }
        .hub-stat-card .ico.teal { background: #e6f7f5; color: #14b8a6; }
        .hub-stat-card .ico.purple { background: #f3ecff; color: #8b5cf6; }
        .hub-stat-card .meta .lbl { display: block; font-size: 12px; color: #8a8f9c; font-weight: 600; margin-bottom: 2px; }
        .hub-stat-card .meta .val { display: block; font-size: 22px; line-height: 1.1; color: #1f2430; }
        .hub-stat-card .meta small { font-size: 11px; color: #9aa1ad; font-weight: 600; }
        .hub-stat-card .meta .hub-vs { display: block; margin-top: 2px; }
        .hub-stat-card .meta .hub-vs.up-good { color: #16a34a; }
        .hub-stat-card .meta .hub-vs.up-bad { color: #dc2626; }
        .hub-stat-card .meta .hub-vs.same { color: #9aa1ad; }
        .admin-hub .hub-charts-row,
        .admin-hub .hub-section-row { margin-bottom: 0px; }
        .admin-hub .hub-charts-row > [class*="col-"],
        .admin-hub .hub-section-row > [class*="col-"] { display: flex; flex-direction: column; }
        .admin-hub .hub-charts-row .hub-panel,
        .admin-hub .hub-section-row .hub-panel { flex: 1 1 auto; width: 100%; }
        .hub-panel {
            background: #fff; border: 1px solid #eceef3; border-radius: 14px;
            box-shadow: 0 4px 14px rgba(20, 20, 43, .04); overflow: hidden;
        }
        .hub-panel-head {
            display: flex; align-items: center; justify-content: space-between; gap: 10px;
            padding: 14px 16px; border-bottom: 1px solid #f1f2f6;
        }
        .hub-panel-head h5 { margin: 0; font-size: 15px; font-weight: 700; color: #1f2430; }
        .hub-panel-head small { font-size: 11.5px; color: #9aa1ad; font-weight: 600; }
        .hub-panel-head a { font-size: 12px; font-weight: 600; color: #EB6106; text-decoration: none; }
        .hub-panel-body { padding: 14px 16px 16px; }
        .hub-chart-wrap { height: 240px; position: relative; }
        .hub-list { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; }
        .hub-list-item {
            display: flex; align-items: center; gap: 10px;
            padding: 8px 0; border-bottom: 1px dashed #f0f1f5;
        }
        .hub-list-item:last-child { border-bottom: 0; }
        .hub-list-item .av {
            width: 34px; height: 34px; border-radius: 50%; background: #fff4ec; color: #EB6106;
            display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 34px;
        }
        .hub-list-item .txt { flex: 1; min-width: 0; }
        .hub-list-item .txt strong { display: block; font-size: 13px; color: #1f2430; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .hub-list-item .txt span { display: block; font-size: 11.5px; color: #9aa1ad; }
        .hub-list-item .end { text-align: right; }
        .hub-list-item .end small { display: block; font-size: 11px; color: #9aa1ad; margin-top: 2px; }
        .hub-badge {
            display: inline-block; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
        }
        .hub-badge.ok { background: #e8f8ef; color: #1c7c43; }
        .hub-badge.warn { background: #fff4ec; color: #c45f0a; }
        .hub-badge.bad { background: #fdecef; color: #c94a63; }
        .hub-badge.muted { background: #f1f2f6; color: #6b7280; }
        .hub-empty { font-size: 13px; color: #9aa1ad; text-align: center; padding: 24px 8px; }
        .hub-leave-total { text-align: center; margin-bottom: 14px; }
        .hub-leave-total strong { display: block; font-size: 34px; color: #1f2430; line-height: 1; }
        .hub-leave-total span { font-size: 12px; color: #9aa1ad; font-weight: 600; }
        .hub-leave-bars .item {
            display: flex; align-items: center; justify-content: space-between;
            font-size: 13px; color: #4b5563; padding: 7px 0; border-bottom: 1px dashed #f0f1f5;
        }
        .hub-leave-bars .item:last-child { border-bottom: 0; }
        .hub-leave-bars .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; }
        .hub-leave-bars .dot.ok { background: #22c55e; }
        .hub-leave-bars .dot.warn { background: #f59e0b; }
        .hub-leave-bars .dot.bad { background: #ef4444; }
        .hub-actions {
            display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
        }
        .hub-action-btn {
            display: flex; align-items: center; gap: 8px; justify-content: center;
            border: 1px solid #eceef3; border-radius: 10px; padding: 12px 10px;
            font-size: 12.5px; font-weight: 600; color: #374151; text-decoration: none; background: #fafbfd;
            transition: border-color .15s, background .15s, color .15s;
        }
        .hub-action-btn:hover { border-color: #EB6106; background: #fff8f2; color: #EB6106; }
        .hub-action-btn i { color: #EB6106; font-size: 16px; }
        .hub-progress-list { display: flex; flex-direction: column; gap: 12px; }
        .hub-progress-item .top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; color: #4b5563; }
        .hub-progress-item .bar { height: 7px; background: #f1f2f6; border-radius: 999px; overflow: hidden; }
        .hub-progress-item .bar span { display: block; height: 100%; background: linear-gradient(90deg, #EB6106, #ff8533); border-radius: 999px; }
        .hub-holiday-list { display: flex; flex-direction: column; gap: 10px; }
        .hub-holiday-item {
            border: 1px solid #f0e3d8; background: #fffaf6; border-radius: 10px; padding: 10px 12px;
        }
        .hub-holiday-item .dt { display: flex; justify-content: space-between; margin-bottom: 4px; }
        .hub-holiday-item .dt strong { font-size: 13px; color: #1f2430; }
        .hub-holiday-item .dt span { font-size: 11px; color: #9aa1ad; font-weight: 600; }
        .hub-holiday-item .nm { font-size: 12.5px; color: #6b7280; font-weight: 600; }
        .hub-exception-list { display: flex; flex-direction: column; gap: 10px; }
        .hub-exception-item {
            display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
            padding: 10px 0; border-bottom: 1px dashed #f0f1f5; font-size: 13px; color: #4b5563;
        }
        .hub-exception-item:last-child { border-bottom: 0; }
        .hub-exception-item b { font-size: 16px; color: #1f2430; }
        .hub-exception-item a { font-size: 12px; font-weight: 600; color: #EB6106; text-decoration: none; }
        .hub-map-panel { margin-top: 4px; }
        .hub-map-panel #empMap { height: 420px; }

        @media (max-width: 1200px) {
            .hub-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
        @media (max-width: 768px) {
            .hub-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            #empMap, .hub-map-panel #empMap { height: 320px; border-radius: 10px; }
        }
        @media (max-width: 480px) {
            .hub-stat-grid { grid-template-columns: 1fr; }
            #empMap, .hub-map-panel #empMap { height: 260px; }
        }

        #dashboardLoader {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 60vh;
        }

        .att-loader {
            text-align: center;
        }
        .att-loader-badge {
            width: 84px;
            height: 84px;
            margin: 0 auto 18px;
            border-radius: 22px;
            background: linear-gradient(135deg, #EB6106 0%, #ff8533 100%);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            box-shadow: 0 10px 24px rgba(235, 97, 6, 0.28);
            animation: att-pop 1.4s ease-in-out infinite;
        }

        .att-loader-badge .bi {
            animation: att-check 1.4s ease-in-out infinite;
        }

        .att-loader-dots {
            display: inline-flex;
            gap: 7px;
            margin-top: 4px;
        }

        .att-loader-dots span {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: #EB6106;
            opacity: 0.35;
            animation: att-blink 1.2s ease-in-out infinite;
        }

        .att-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
        .att-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

        .att-loader-text {
            margin-top: 14px;
            color: #777;
            font-size: 14px;
            font-weight: 500;
        }

        @keyframes att-pop {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.06); }
        }

        @keyframes att-check {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        @keyframes att-blink {
            0%, 100% { opacity: 0.35; }
            50% { opacity: 1; }
        }

        .att-empty {
            text-align: center;
            padding: 40px 20px;
            color: #888;
        }

        .att-empty .bi {
            font-size: 46px;
            color: #EB6106;
            display: block;
            margin-bottom: 12px;
        }

/* ===== Admin Leave ===== */
/* Tabs styled globally in style.css */

		.pwd-card {
			background: #fff;
			border: 1px solid #eceef3;
			border-radius: 16px;
			padding: 24px 26px;
			box-shadow: 0 6px 20px rgba(20, 20, 43, .05);
		}

		.pwd-card h5 {
			font-weight: 700;
			margin: 0 0 4px;
		}

		.pwd-card .sub {
			color: #8a8a8a;
			font-size: 13px;
			margin-bottom: 18px;
		}

		.form-label {
			font-size: 13px;
			font-weight: 600;
			color: #6b7280;
		}

		.btn-brand {
			background: linear-gradient(135deg, #EB6106 0%, #ff8533 100%);
			border: none;
			color: #fff;
			font-weight: 700;
			border-radius: 10px;
			padding: 10px 18px;
		}

		.btn-brand:hover,
		.btn-brand:focus {
			color: #fff;
			filter: brightness(0.96);
		}

		.btn-brand:disabled {
			opacity: .7;
		}

		.lt-row {
			margin-bottom: 14px;
		}

		.lt-row .btn-remove {
			height: 38px;
			width: 38px;
			border-radius: 10px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			flex-shrink: 0;
		}

		.lt-actions {
			display: flex;
			gap: 10px;
			flex-wrap: wrap;
			margin-top: 6px;
		}

		.cl-layout {
			display: grid;
			grid-template-columns: minmax(0, 1fr) 300px;
			gap: 18px;
			align-items: start;
		}

		.cl-main,
		.cl-side {
			background: #fff;
			border: 1px solid #eceef3;
			border-radius: 14px;
			box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
		}

		.cl-main {
			padding: 22px 22px 18px;
		}

		.cl-side {
			padding: 20px 18px;
		}

		.cl-top {
			display: flex;
			align-items: flex-start;
			justify-content: space-between;
			gap: 12px;
			flex-wrap: wrap;
			margin-bottom: 14px;
		}

		.cl-heading h3 {
			margin: 0 0 4px;
			font-size: 20px;
			font-weight: 700;
			color: #1f2430;
		}

		.cl-heading p {
			margin: 0;
			font-size: 13px;
			color: #8b919c;
		}

		.cl-month-nav {
			display: inline-flex;
			align-items: center;
			gap: 4px;
		}

		.cl-month-nav a {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 34px;
			height: 34px;
			border: 1px solid #e6e8ef;
			border-radius: 8px;
			color: #444;
			text-decoration: none;
			background: #fff;
		}

		.cl-month-nav a:hover {
			background: #f6f7fb;
		}

		.cl-month-label {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			min-width: 118px;
			height: 34px;
			padding: 0 12px;
			border: 1px solid #e6e8ef;
			border-radius: 8px;
			font-size: 14px;
			font-weight: 600;
			color: #2b2f3a;
			background: #fff;
			text-decoration: none;
		}

		.cl-grid {
			display: grid;
			grid-template-columns: repeat(7, minmax(0, 1fr));
			gap: 8px;
		}

		.cl-dow {
			text-align: center;
			font-size: 12px;
			font-weight: 600;
			color: #8a8a8a;
			padding: 4px 0 8px;
			text-transform: uppercase;
		}

		.cl-dow.is-weekend {
			color: #e05b5b;
		}

		.cl-cell {
			min-height: 78px;
			border: 1px solid #eef0f5;
			border-radius: 10px;
			padding: 8px;
			background: #fff;
			display: flex;
			flex-direction: column;
			align-items: center;
			cursor: pointer;
			user-select: none;
			transition: border-color .15s, background .15s, box-shadow .15s;
		}

		.cl-cell.empty {
			background: transparent;
			border-color: transparent;
			cursor: default;
			min-height: 78px;
		}

		.cl-cell .dnum {
			align-self: flex-start;
			font-size: 12px;
			font-weight: 600;
			color: #6b7280;
		}

		.cl-cell.is-weekend .dnum {
			color: #e05b5b;
		}

		.cl-cell.today {
			border-color: #FF6C0C;
			box-shadow: 0 0 0 2px rgba(255, 108, 12, .14);
		}

		.cl-cell:not(.empty):hover {
			border-color: #FF6C0C;
			background: #fff8f2;
		}

		.cl-cell.is-selected {
			background: #fff3e8;
			border-color: #FF6C0C;
			box-shadow: 0 0 0 2px rgba(255, 108, 12, .18);
		}

		.cl-cell.is-taken {
			background: #fff3e8;
			border-color: #ffd7b8;
			cursor: pointer;
		}

		.cl-cell.is-festival:not(.is-taken) {
			background: #f4f8ff;
			border-color: #c9daf8;
		}

		.cl-cell.is-festival:not(.is-taken):hover {
			border-color: #FF6C0C;
			background: #fff8f2;
		}

		.cl-cell.is-weekly-off:not(.is-taken) {
			background: #eef3fd;
			border-color: #d5e1f8;
		}

		.cl-cell .weekly-off-lbl {
			margin-top: auto;
			font-size: 9.5px;
			font-weight: 700;
			color: #3f74d6;
			text-align: center;
			line-height: 1.2;
			width: 100%;
		}

		.cl-cell .weekly-off-lbl .bi {
			display: block;
			font-size: 14px;
			margin-bottom: 2px;
		}

		.cl-cell .weekly-off-lbl .leave-reason-snip {
			display: block;
			font-size: 8px;
			margin-top: 2px;
			color: #5a7fc7;
			font-weight: 600;
		}

		.cl-cal-footer {
			display: flex;
			flex-wrap: wrap;
			gap: 10px 16px;
			margin-top: 14px;
			padding-top: 12px;
			border-top: 1px solid #f0e3d8;
			font-size: 12px;
			color: #6b7280;
		}

		.cl-cal-footer .li {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			font-weight: 600;
		}

		.cl-cal-footer .li .bi { color: #EB6106; }
		.cl-cal-footer .li .bi.bi-umbrella-fill { color: #3f74d6; }
		.cl-cal-footer .li .bi.bi-stars { color: #3b5bdb; }
		.cl-cal-footer .li .bi.bi-building { color: #c45f0a; }

		.cl-weekly-item {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 8px;
			border: 1px solid #d5e1f8;
			border-radius: 10px;
			padding: 9px 11px;
			margin-bottom: 7px;
			background: #eef3fd;
		}

		.cl-weekly-item.is-saved {
			background: #fff3e8;
			border-color: #ffd7b8;
		}

		.cl-weekly-item .meta .nm {
			font-size: 13px;
			font-weight: 700;
			color: #3f74d6;
		}

		.cl-weekly-item .meta .dt {
			font-size: 11.5px;
			color: #6b7280;
			margin-top: 1px;
		}

		.cl-weekly-item .meta .sub-fest {
			font-size: 11px;
			color: #b8860b;
			margin-top: 2px;
			font-weight: 600;
		}

		.cl-cell .fest-lbl {
			margin-top: auto;
			font-size: 9.5px;
			font-weight: 700;
			color: #3b5bdb;
			text-align: center;
			line-height: 1.2;
			width: 100%;
			min-width: 0;
		}

		.cl-cell .fest-lbl .bi {
			display: block;
			font-size: 14px;
			margin-bottom: 1px;
		}

		.cl-cell .fest-name {
			display: block;
			max-width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.cl-fest-list {
			margin-top: 18px;
			padding-top: 14px;
			border-top: 1px solid #f1f2f6;
		}

		.cl-fest-list h4 {
			margin: 0 0 10px;
			font-size: 15px;
			font-weight: 700;
			color: #1f2430;
		}

		.cl-fest-item {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 8px;
			border: 1px solid #eef0f4;
			border-radius: 10px;
			padding: 9px 11px;
			margin-bottom: 7px;
			background: #fafbfd;
		}

		.cl-fest-item.is-saved {
			background: #fff3e8;
			border-color: #ffd7b8;
		}

		.cl-fest-item .meta {
			min-width: 0;
		}

		.cl-fest-item .nm {
			font-size: 13px;
			font-weight: 700;
			color: #2b2f3a;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		.cl-fest-item .dt {
			font-size: 12px;
			color: #6b7280;
		}

		.cl-fest-item .btn-add-fest {
			flex-shrink: 0;
			border: 1px solid #ffd7b8;
			background: #fff;
			color: #c45f0a;
			font-size: 12px;
			font-weight: 700;
			border-radius: 8px;
			padding: 5px 10px;
			cursor: pointer;
		}

		.cl-fest-item .btn-add-fest:hover {
			background: #fff3e8;
		}

		.cl-fest-item .saved-tag {
			flex-shrink: 0;
			font-size: 11px;
			font-weight: 700;
			color: #c45f0a;
		}

		.cl-hint {
			margin: 0 0 14px;
			font-size: 12.5px;
			color: #6b7280;
			line-height: 1.4;
			background: #f6f8fc;
			border: 1px solid #e8ecf3;
			border-radius: 10px;
			padding: 10px 12px;
		}

		.cl-hint i {
			color: #3b5bdb;
			margin-right: 4px;
		}

		.cl-cell .pick-mark {
			margin-top: auto;
			font-size: 18px;
			color: #c5c9d2;
			line-height: 1;
		}

		.cl-cell.is-selected .pick-mark {
			color: #FF6C0C;
		}

		.cl-cell .taken-lbl {
			margin-top: auto;
			font-size: 10px;
			font-weight: 700;
			color: #c45f0a;
			text-align: center;
			line-height: 1.2;
			width: 100%;
			min-width: 0;
		}

		.cl-cell .taken-lbl .bi {
			display: block;
			font-size: 16px;
			margin-bottom: 2px;
		}

		.cl-cell .taken-main {
			display: block;
		}

		.cl-cell .leave-reason-snip {
			display: block;
			font-weight: 600;
			opacity: .9;
			margin-top: 2px;
			max-width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			line-height: 1.15;
		}

		.cl-selected-box {
			margin-top: 16px;
			padding-top: 14px;
			border-top: 1px solid #f1f2f6;
		}

		.cl-chips {
			display: flex;
			flex-wrap: wrap;
			gap: 8px;
			min-height: 28px;
		}

		.cl-chip {
			display: inline-flex;
			align-items: center;
			gap: 6px;
			padding: 5px 10px;
			border-radius: 999px;
			background: #fff3e8;
			border: 1px solid #ffd7b8;
			font-size: 12.5px;
			font-weight: 600;
			color: #9a4a0a;
		}

		.cl-chip button {
			border: 0;
			background: transparent;
			color: inherit;
			padding: 0;
			line-height: 1;
			cursor: pointer;
		}

		.cl-reason label {
			display: block;
			font-size: 13px;
			font-weight: 600;
			color: #374151;
			margin: 14px 0 6px;
		}

		.cl-reason textarea {
			width: 100%;
			min-height: 96px;
			border: 1px solid #e6e8ef;
			border-radius: 12px;
			padding: 12px 14px;
			font-size: 14px;
			font-family: inherit;
			color: #2b2f3a;
			line-height: 1.45;
			resize: vertical;
			box-sizing: border-box;
			background: #fff;
			-webkit-appearance: none;
			appearance: none;
		}

		.cl-reason textarea::placeholder {
			color: #9aa1ad;
		}

		.cl-reason textarea:focus {
			outline: none;
			border-color: #FF6C0C;
			box-shadow: 0 0 0 3px rgba(255, 108, 12, .12);
		}

		.cl-actions {
			display: flex;
			align-items: center;
			justify-content: flex-end;
			gap: 12px;
			flex-wrap: wrap;
			margin-top: 14px;
		}

		.cl-side h4 {
			margin: 0 0 14px;
			font-size: 17px;
			font-weight: 700;
			color: #1f2430;
		}

		.cl-list-item {
			border: 1px solid #eef0f4;
			border-radius: 10px;
			padding: 11px 12px;
			margin-bottom: 8px;
		}

		.cl-list-item .row1 {
			display: flex;
			justify-content: space-between;
			gap: 8px;
			align-items: center;
			margin-bottom: 4px;
		}

		.cl-list-item .dt {
			font-weight: 700;
			font-size: 13.5px;
			color: #2b2f3a;
		}

		.cl-list-item .rs {
			font-size: 12.5px;
			color: #6b7280;
			line-height: 1.35;
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			word-break: break-word;
		}

		.cl-empty {
			font-size: 13px;
			color: #9aa1ad;
			text-align: center;
			padding: 18px 8px;
		}

		.btn-cl-remove {
			border: 0;
			background: transparent;
			color: #c94a63;
			font-size: 12px;
			font-weight: 700;
			cursor: pointer;
		}

		/* Applied Leave — same look as View Attendance */
		.att-toolbar {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 12px;
			flex-wrap: wrap;
			margin-bottom: 18px;
		}

		.att-toolbar h3 {
			margin: 0;
			font-size: 20px;
		}

		.att-filters {
			display: flex;
			flex-wrap: wrap;
			gap: 12px;
			align-items: flex-end;
			background: #fffaf6;
			border: 1px solid #f0e3d8;
			border-radius: 12px;
			padding: 14px 16px;
			margin-bottom: 18px;
		}

		.att-filters .field {
			display: flex;
			flex-direction: column;
			gap: 4px;
		}

		.att-filters label {
			font-size: 11px;
			text-transform: uppercase;
			letter-spacing: .3px;
			color: #8a8a8a;
			font-weight: 600;
		}

		.att-filters .form-control,
		.att-filters .att-filter-btn {
			width: 180px;
			min-width: 180px;
			height: 38px;
			box-sizing: border-box;
			border-radius: 30px;
			border: 1px solid #dee2e6;
			background-color: #fff;
			color: #374151;
			font-size: 14px;
		}

		.att-filters select.form-control {
			padding: 0 2rem 0 0.75rem;
			appearance: none;
			-webkit-appearance: none;
			-moz-appearance: none;
			line-height: 1.5;
			cursor: pointer;
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
			background-repeat: no-repeat;
			background-position: right 0.85rem center;
		}

		.att-filters input[type="date"].form-control {
			padding: 0 0.75rem;
		}

		.att-filters .form-control:focus {
			border-color: #fb923c;
			box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
			outline: none;
		}

		.att-filters select.form-control:disabled,
		.att-filters input[type="date"].form-control:disabled {
			background-color: #f3f4f6;
			color: #9ca3af;
			cursor: not-allowed;
		}

		.att-filters .att-filter-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			padding: 0 12px;
		}

		.att-table thead th {
			font-size: 13px;
			text-transform: uppercase;
			letter-spacing: .3px;
			color: #6c757d;
			white-space: nowrap;
		}

		.att-table td {
			vertical-align: middle;
		}

		.att-badge {
			display: inline-block;
			padding: 3px 10px;
			border-radius: 20px;
			font-size: 12px;
			font-weight: 600;
		}

		.badge-applied {
			background: #f3ebfb;
			color: #8b4fcf;
		}

		.badge-approved {
			background: #e6f6ec;
			color: #1c7c43;
		}

		.badge-rejected {
			background: #fdecef;
			color: #c94a63;
		}

		.badge-em {
			background: #fff3e8;
			color: #c45f0a;
		}

		.badge-nr {
			background: #eef3fd;
			color: #3f74d6;
		}

		.att-empty {
			text-align: center;
			padding: 40px 20px;
			color: #888;
		}

		.att-empty .bi {
			font-size: 44px;
			color: #EB6106;
			display: block;
			margin-bottom: 10px;
		}

		.att-pagination {
			display: flex;
			align-items: center;
			justify-content: space-between;
			flex-wrap: wrap;
			gap: 12px;
			margin-top: 18px;
			padding-top: 14px;
			border-top: 1px solid #f0e3d8;
		}

		.att-pagination .meta {
			font-size: 13px;
			color: #6c757d;
		}

		.att-pagination .pages {
			display: flex;
			flex-wrap: wrap;
			gap: 6px;
		}

		.att-pagination .page-link-btn {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			min-width: 34px;
			height: 34px;
			padding: 0 10px;
			border: 1px solid #e6e8ef;
			border-radius: 8px;
			color: #444;
			text-decoration: none;
			font-size: 13px;
			font-weight: 600;
			background: #fff;
		}

		.att-pagination .page-link-btn:hover {
			background: #f6f7fb;
			color: #EB6106;
		}

		.att-pagination .page-link-btn.active {
			background: linear-gradient(135deg, #EB6106, #ff8533);
			border-color: #EB6106;
			color: #fff;
		}

		.att-pagination .page-link-btn.disabled {
			opacity: .45;
			pointer-events: none;
		}

		.btn-leave-action {
			width: 34px;
			height: 34px;
			padding: 0;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			border-radius: 8px;
		}

		.leave-detail-grid {
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 12px 16px;
			margin-bottom: 14px;
		}

		.leave-detail-grid .item label {
			display: block;
			font-size: 11px;
			text-transform: uppercase;
			letter-spacing: .3px;
			color: #8a8a8a;
			font-weight: 600;
			margin-bottom: 3px;
		}

		.leave-detail-grid .item .val {
			font-size: 14px;
			color: #2b2f3a;
			font-weight: 600;
			word-break: break-word;
		}

		.leave-detail-grid .item.full {
			grid-column: 1 / -1;
		}

		.leave-detail-grid .item .val.reason-box {
			font-weight: 500;
			background: #fffaf6;
			border: 1px solid #f0e3d8;
			border-radius: 10px;
			padding: 10px 12px;
			line-height: 1.45;
		}

		#decideModal .modal-content {
			border-radius: 14px;
			border: 0;
		}

		#decideModal .modal-header {
			border-bottom: 1px solid #f0e3d8;
		}

		#decideModal .modal-footer {
			border-top: 1px solid #f0e3d8;
			gap: 8px;
			flex-wrap: wrap;
		}

		#decideModal textarea {
			border-radius: 12px;
			min-height: 90px;
			resize: vertical;
		}

		.pending-pill {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			min-width: 20px;
			height: 20px;
			padding: 0 6px;
			margin-left: 6px;
			border-radius: 999px;
			background: #EB6106;
			color: #fff;
			font-size: 11px;
			font-weight: 700;
			vertical-align: middle;
		}

		@media (max-width: 1100px) {
			.cl-layout {
				grid-template-columns: 1fr;
			}
		}

		@media (max-width: 700px) {

			.cl-main,
			.cl-side {
				padding: 16px 14px;
			}

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

			.cl-cell,
			.cl-cell.empty {
				min-height: 64px;
				padding: 5px 3px;
			}

			.cl-cell .dnum {
				font-size: 11px;
			}

			.cl-cell .taken-lbl {
				font-size: 9px;
			}

			.cl-cell .taken-lbl .bi {
				font-size: 13px;
				margin-bottom: 1px;
			}

			.cl-cell .taken-main {
				display: none;
			}

			.cl-cell .leave-reason-snip {
				display: block;
				font-size: 8px;
				margin-top: 0;
			}

			.cl-cell .pick-mark {
				font-size: 15px;
			}

			.cl-dow {
				font-size: 10px;
				padding: 2px 0 6px;
			}

			.cl-grid {
				gap: 5px;
			}

			.cl-month-label {
				min-width: 0;
				font-size: 13px;
				padding: 0 8px;
			}

			.cl-actions {
				justify-content: stretch;
			}

			.cl-actions .btn {
				width: 100%;
			}

			.pwd-card {
				padding: 18px 16px;
			}

			.att-filters {
				padding: 12px;
			}

			.att-filters .field {
				flex: 1 1 100%;
			}

			.att-filters .form-control,
			.att-filters .att-filter-btn {
				width: 100%;
				min-width: 0;
			}

			.att-pagination {
				flex-direction: column;
				align-items: flex-start;
			}

			.leave-detail-grid {
				grid-template-columns: 1fr;
			}
		}

		@media (max-width: 420px) {

			.cl-cell,
			.cl-cell.empty {
				min-height: 56px;
			}

			.cl-cell .leave-reason-snip {
				font-size: 7.5px;
			}

			.cl-cell .fest-lbl {
				font-size: 7.5px;
			}

			.cl-cell .fest-lbl .bi {
				font-size: 12px;
			}

			.cl-cell .weekly-off-lbl {
				font-size: 8px;
			}

			.cl-cell .weekly-off-lbl .bi {
				font-size: 12px;
			}

			.cl-cell .weekly-off-lbl .taken-main {
				display: block;
			}

			.cl-cal-footer {
				gap: 8px 12px;
				font-size: 11px;
			}
		}

/* ===== Admin Attendance ===== */
.att-toolbar {
            display: flex; align-items: center; justify-content: space-between;
            gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
        }
        .att-toolbar h3 { margin: 0; font-size: 20px; }
        .att-table thead th {
            font-size: 13px; text-transform: uppercase; letter-spacing: .3px; color: #6c757d; white-space: nowrap;
        }
        .att-table td { vertical-align: middle; }
        .att-search { max-width: 260px; }
        .badge-in { background: #e6f6ec; color: #1c7c43; }
        .badge-out { background: #f1f1f1; color: #666; }
        .att-badge { display:inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
        .att-empty { text-align: center; padding: 40px 20px; color: #888; }
        .att-empty .bi { font-size: 44px; color: #EB6106; display: block; margin-bottom: 10px; }
        .att-filters {
            display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
            background: #fffaf6; border: 1px solid #f0e3d8; border-radius: 12px;
            padding: 14px 16px; margin-bottom: 18px;
        }
        .att-filters .field { display: flex; flex-direction: column; gap: 4px; }
        .att-filters label {
            font-size: 11px; text-transform: uppercase; letter-spacing: .3px;
            color: #8a8a8a; font-weight: 600;
        }
        .att-filters .form-control,
        .att-filters .att-filter-btn {
            width: 180px;
            min-width: 180px;
            height: 38px;
            box-sizing: border-box;
            border-radius: 30px;
        }
        .att-filters select.form-control {
            padding: 0.375rem 0.75rem;
            background-color: #fff;
            appearance: auto;
            -webkit-appearance: menulist;
            -moz-appearance: menulist;
            line-height: 1.5;
        }
        .att-filters .att-filter-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 12px;
            border-radius: 30px;
        }
        .att-loc { max-width: 280px; font-size: 13px; line-height: 1.4; }
        #routeMap { height: 400px; width: 100%; border-radius: 10px; background: #f3f3f3; }
        .route-stats {
            display: flex; flex-wrap: wrap; gap: 20px;
            font-size: 13px; color: #6c757d; margin-bottom: 12px;
        }
        .route-stats strong { color: #333; }
        .route-addr {
            font-size: 13px; color: #5c5c5c; line-height: 1.5;
            background: #fffaf6; border-left: 3px solid #EB6106;
            border-radius: 8px; padding: 10px 13px;
        }
        .route-addr:empty { display: none; }
        .route-addr span { display: block; }
        .route-addr span + span { margin-top: 7px; padding-top: 7px; border-top: 1px solid #f0e3d8; }
        .route-addr .addr-in strong { color: #1c7c43; }
        .route-addr .addr-out strong { color: #d13b3b; }
        .map-dot {
            width: 16px; height: 16px; border-radius: 50%;
            border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35);
        }
        .att-pagination {
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap; gap: 12px; margin-top: 18px; padding-top: 14px;
            border-top: 1px solid #f0e3d8;
        }
        .att-pagination .meta { font-size: 13px; color: #6c757d; }
        .att-pagination .pages { display: flex; flex-wrap: wrap; gap: 6px; }
        .att-pagination .page-link-btn {
            display: inline-flex; align-items: center; justify-content: center;
            min-width: 34px; height: 34px; padding: 0 10px;
            border: 1px solid #e6e8ef; border-radius: 8px;
            color: #444; text-decoration: none; font-size: 13px; font-weight: 600;
            background: #fff;
        }
        .att-pagination .page-link-btn:hover { background: #f6f7fb; color: #EB6106; }
        .att-pagination .page-link-btn.active {
            background: linear-gradient(135deg, #EB6106, #ff8533);
            border-color: #EB6106; color: #fff;
        }
        .att-pagination .page-link-btn.disabled {
            opacity: .45; pointer-events: none;
        }

        @media (max-width: 768px) {
            .att-filters { padding: 12px; }
            .att-filters .field { flex: 1 1 100%; }
            .att-filters .form-control,
            .att-filters .att-filter-btn,
            .att-search {
                width: 100%;
                min-width: 0;
                max-width: none;
            }
            .att-toolbar h3 { font-size: 18px; }
            .att-loc { max-width: none; }
            #routeMap { height: 280px; }
            .att-pagination { flex-direction: column; align-items: flex-start; }
            .route-stats { gap: 12px; }
        }
        @media (max-width: 480px) {
            #routeMap { height: 240px; }
        }

/* ===== Admin Settings ===== */
.set-card { background:#fff; border:1px solid #eceef3; border-radius:16px; padding:24px 26px; box-shadow:0 6px 20px rgba(20,20,43,.05); max-width:820px; }
        .set-card h5 { font-weight:700; margin:0 0 4px; display:flex; align-items:center; gap:8px; }
        .set-card .sub { color:#8a8a8a; font-size:13px; margin-bottom:18px; }

        .pro-card { background:#fff; border:1px solid #e8eaef; border-radius:16px; padding:0; box-shadow:0 6px 20px rgba(20,20,43,.05); max-width:820px; overflow:hidden; }
        .pro-card-head {
            display:flex; align-items:center; gap:16px;
            padding:22px 26px; border-bottom:1px solid #eef0f4;
            background:linear-gradient(180deg,#ffffff 0%,#fafbfc 100%);
        }
        .pro-card-head .avatar {
            width:56px; height:56px; border-radius:14px; flex-shrink:0;
            background:linear-gradient(135deg,#EB6106,#ff8533); color:#fff;
            display:flex; align-items:center; justify-content:center;
            font-size:22px; font-weight:800; box-shadow:0 6px 14px rgba(235,97,6,.22);
            overflow:hidden;
        }
        .pro-card-head .avatar.has-logo {
            background:#fff; box-shadow:0 2px 8px rgba(20,20,43,.08); border:1px solid #e8eaef;
        }
        .pro-card-head .avatar img {
            width:100%; height:100%; object-fit:cover; display:block;
        }
        .pro-card-head .pro-edit-btn {
            flex-shrink:0; white-space:nowrap;
        }
        .pro-card-head .avatar.sub-avatar {
            background:linear-gradient(135deg,#1f2430,#3d4454);
            box-shadow:0 6px 14px rgba(31,36,48,.18);
        }
        .pro-card-head .meta { min-width:0; }
        .pro-card-head .title { font-size:18px; font-weight:800; color:#1f2430; margin:0; line-height:1.25; }
        .pro-card-head .subtitle { color:#6b7280; font-size:13px; margin:3px 0 0; }
        .pro-card-body { padding:8px 10px 14px; }
        .info-grid {
            display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;
        }
        @media (max-width: 640px) {
            .info-grid { grid-template-columns:1fr; }
        }
        .info-item {
            display:flex; align-items:flex-start; gap:12px;
            padding:14px 16px; border-radius:12px;
            background:#f8f9fb; border:1px solid transparent;
            transition:border-color .15s ease, background .15s ease;
        }
        .info-item:hover { background:#fff; border-color:#e8eaef; }
        .info-item.full { grid-column:1 / -1; }
        .info-ico {
            width:36px; height:36px; border-radius:10px; flex-shrink:0;
            display:flex; align-items:center; justify-content:center;
            background:#fff; color:#EB6106; border:1px solid #eceef3;
            font-size:15px;
        }
        .info-ico.muted { color:#4b5563; }
        .info-content { min-width:0; flex:1; }
        .info-label {
            display:block; font-size:11px; font-weight:700; letter-spacing:.04em;
            text-transform:uppercase; color:#8b93a7; margin-bottom:3px;
        }
        .info-value {
            display:block; font-size:14px; font-weight:600; color:#1f2430;
            word-break:break-word; line-height:1.45;
        }
        .info-value .addr-line + .addr-line { margin-top:4px; padding-top:4px; border-top:1px dashed #e5e7eb; }
        .pill {
            display:inline-flex; align-items:center; gap:6px;
            padding:4px 11px; border-radius:999px; font-size:12px; font-weight:700;
        }
        .pill::before {
            content:""; width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.85;
        }
        .days-chip { font-weight:800; font-size:14px; }
        .pro-card-footer {
            padding:16px 26px 22px; border-top:1px solid #eef0f4;
            background:#fafbfc;
            display:flex; flex-wrap:wrap; gap:10px;
        }
        .renew-btn {
            display:inline-flex; align-items:center; gap:8px;
            padding:11px 20px; border-radius:10px; font-weight:700; text-decoration:none;
            color:#fff; background:linear-gradient(135deg,#EB6106,#ff8533);
            box-shadow:0 8px 18px rgba(235, 97, 6,.28);
        }
        .renew-btn:hover, .renew-btn:focus, .renew-btn:active { color:#fff; text-decoration:none; }

        /* Tabs styled globally in style.css (same as Admin Leave Setting) */
        .tab-pane-body { padding-top: 20px; min-height: 240px; }
        .tab-loader { text-align:center; padding:48px 20px; color:#888; }
        .tab-loader .spinner-border { color:#EB6106; width:2rem; height:2rem; }

        .att-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
        .att-toolbar h3 { margin:0; font-size:20px; }
        .att-table thead th { font-size:13px; text-transform:uppercase; letter-spacing:.3px; color:#6c757d; white-space:nowrap; }
        .att-table td { vertical-align:middle; }
        .att-search { max-width:260px; }
        .badge-in { background:#e6f6ec; color:#1c7c43; }
        .badge-out { background:#f1f1f1; color:#666; }
        .att-badge { display:inline-block; padding:3px 10px; border-radius:20px; font-size:12px; font-weight:600; }
        .att-empty { text-align:center; padding:40px 20px; color:#888; }
        .att-empty .bi { font-size:44px; color:#EB6106; display:block; margin-bottom:10px; }
        .att-filters {
            display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end;
            background:#fffaf6; border:1px solid #f0e3d8; border-radius:12px;
            padding:14px 16px; margin-bottom:18px;
        }
        .att-filters .field { display:flex; flex-direction:column; gap:4px; }
        .att-filters label { font-size:11px; text-transform:uppercase; letter-spacing:.3px; color:#8a8a8a; font-weight:600; }
        .att-filters .form-control,
        .att-filters .form-select,
        .att-filters .att-filter-btn {
            width: 180px;
            min-width: 180px;
            height: 38px;
            box-sizing: border-box;
        }
        .att-filters select.form-control {
            padding: 0.375rem 0.75rem;
            background-color: #fff;
            background-image: none;
            appearance: auto;
            -webkit-appearance: menulist;
            -moz-appearance: menulist;
            line-height: 1.5;
        }
        .att-filters .att-filter-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 12px;
        }
        .att-loc { max-width:280px; font-size:13px; line-height:1.4; }
        #routeMap { height:400px; width:100%; border-radius:10px; background:#f3f3f3; }
        .route-stats { display:flex; flex-wrap:wrap; gap:20px; font-size:13px; color:#6c757d; margin-bottom:12px; }
        .route-stats strong { color:#333; }
        .route-addr {
            font-size:13px; color:#5c5c5c; line-height:1.5;
            background:#fffaf6; border-left:3px solid #EB6106;
            border-radius:8px; padding:10px 13px;
        }
        .route-addr:empty { display:none; }
        .route-addr span { display:block; }
        .route-addr span + span { margin-top:7px; padding-top:7px; border-top:1px solid #f0e3d8; }
        .route-addr .addr-in strong { color:#1c7c43; }
        .route-addr .addr-out strong { color:#d13b3b; }
        .map-dot { width:16px; height:16px; border-radius:50%; border:2px solid #fff; box-shadow:0 1px 4px rgba(0,0,0,.35); }

        .addr-block {
            background:#fff; border:none; border-radius:12px;
            padding:16px 18px; margin-bottom:14px; position:relative;
        }
        .addr-block-head {
            display:flex; align-items:center; justify-content:space-between;
            gap:10px; margin-bottom:12px;
        }
        .addr-block-title { font-weight:700; font-size:14px; color:#1f2430; }
        .addr-block .form-label { font-size:12px; font-weight:600; color:#6b7280; margin-bottom:4px; }
        .addr-remove {
            width:32px; height:32px; padding:0; border:none; border-radius:8px;
            background:#dc3545; color:#fff;
            display:inline-flex; align-items:center; justify-content:center;
        }
        .addr-remove:hover, .addr-remove:focus {
            background:#bb2d3b; color:#fff;
        }
        .addr-remove:disabled {
            opacity:.45; pointer-events:none;
        }
        .addr-remove i { font-size:14px; color:#fff; }
        .addr-field { position:relative; }
        .addr-field .addr-text { padding-right:42px; min-height: 62px; }
        .addr-field .addr-pick-map {
            position:absolute; top:8px; right:8px; z-index:2;
            width:30px; height:30px; border:none; border-radius:8px;
            background:#fff5ee; color:#EB6106; display:flex; align-items:center; justify-content:center;
            padding:0; line-height:1; cursor:pointer;
        }
        .addr-field .addr-pick-map:hover { background:#EB6106; color:#fff; }
        .addr-field .addr-pick-map i { font-size:16px; }
        .addr-field .addr-text.is-invalid,
        .addr-field .addr-text.border-danger {
            border-color: #EB6106 !important;
            background-image: none !important;
            box-shadow: none;
        }
        .addr-text-err {
            color: #EB6106 !important;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: none;
        }
        .addr-text-err.is-visible { display: block; }
        .addr-radius-row {
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            min-height: 62px;
        }
        .addr-radius-label {
            font-size: 13px; font-weight: 700; color: #6b7280;
        }
        .addr-radius-stepper {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #f8f9fb;
            border: 1px solid #e8eaef;
            border-radius: 999px;
            padding: 5px 6px;
        }
        .addr-radius-btn {
            width: 34px; height: 34px; padding: 0; border: none; border-radius: 50%;
            background: #fff; color: #EB6106; border: 1px solid #f0e3d8;
            display: inline-flex; align-items: center; justify-content: center;
            line-height: 1; cursor: pointer;
        }
        .addr-radius-btn:hover { background: #EB6106; color: #fff; border-color: #EB6106; }
        .addr-radius-btn:disabled { opacity: .4; pointer-events: none; }
        .addr-radius-btn i { font-size: 15px; }
        .addr-radius-val {
            min-width: 78px; text-align: center;
            font-size: 14px; color: #6b7280; font-weight: 600;
        }
        .addr-radius-val .addr-radius-num { color: #1f2430; font-weight: 800; font-size: 16px; }
        .addr-radius-stepper.is-invalid {
            border-color: #EB6106;
            box-shadow: 0 0 0 2px rgba(235,97,6,.12);
        }
        .btn-brand {
            background:linear-gradient(135deg,#EB6106,#ff8533); color:#fff; border:none;
            font-weight:700; border-radius:10px; padding:9px 18px;
            box-shadow:0 6px 14px rgba(235,97,6,.25);
        }
		.btn-brand:hover, .btn-brand:focus { color:#fff; background:linear-gradient(135deg,#d45505,#eb6106); }
        .btn-brand:disabled { opacity:.7; }
        #addrPickMap { height:380px; width:100%; border-radius:10px; background:#f3f3f3; }
        .addr-pick-preview {
            font-size:13px; color:#5c5c5c; line-height:1.5; min-height:1.5em;
            background:#fffaf6; border-left:3px solid #EB6106;
            border-radius:8px; padding:10px 13px; margin-bottom:12px;
        }

/* ===== Admin Employees ===== */
.emp-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 18px;
        }

        .emp-toolbar h3 {
            margin: 0;
            font-size: 20px;
        }

        .btn-brand {
            background: linear-gradient(135deg, #EB6106 0%, #ff8533 100%);
            border: none;
            color: #fff;
            font-weight: 600;
        }

        .btn-brand:hover,
        .btn-brand:focus {
            color: #fff;
            filter: brightness(0.96);
        }

        .emp-table thead th {
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: .3px;
            color: #6c757d;
        }

        .emp-table td {
            vertical-align: middle;
        }

        .emp-search {
            max-width: 260px;
        }

        .emp-empty {
            text-align: center;
            padding: 40px 20px;
            color: #888;
        }

        .emp-empty .bi {
            font-size: 44px;
            color: #EB6106;
            display: block;
            margin-bottom: 10px;
        }

        .emp-code-badge {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 20px;
            background: #fff1e6;
            color: #c9530a;
            font-weight: 600;
            font-size: 13px;
        }

        .emp-pagination {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid #f1f2f6;
        }
        .emp-pagination .meta { font-size: 13px; color: #6c757d; }
        .emp-pagination .pages { display: flex; flex-wrap: wrap; gap: 6px; }
        .emp-pagination .page-link-btn {
            display: inline-flex; align-items: center; justify-content: center;
            min-width: 34px; height: 34px; padding: 0 10px;
            border: 1px solid #e6e8ef; border-radius: 8px;
            background: #fff; color: #444; font-size: 13px; font-weight: 600;
            text-decoration: none; cursor: pointer;
        }
        .emp-pagination .page-link-btn:hover { background: #f6f7fb; color: #EB6106; }
        .emp-pagination .page-link-btn.active {
            background: linear-gradient(135deg, #EB6106 0%, #ff8533 100%);
            border-color: #EB6106; color: #fff;
        }
        .emp-pagination .page-link-btn.disabled { opacity: .45; pointer-events: none; }

        #empAlert {
            position: fixed;
            top: 76px;
            right: 20px;
            z-index: 1080;
            min-width: 240px;
            max-width: 340px;
            display: none;
        }

        @media (max-width: 768px) {
            .emp-toolbar h3 { font-size: 18px; }
            .emp-search { max-width: none; width: 100%; }
            .emp-toolbar .btn-brand { width: 100%; }
            #empAlert { left: 12px; right: 12px; max-width: none; min-width: 0; }
            .emp-pagination { flex-direction: column; align-items: flex-start; }
        }

/* ===== Admin Employee Form ===== */
.text-danger {
            color: #EB6106 !important;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: none;
        }
        .text-danger.is-visible { display: block; }
        .form-control.is-invalid,
        .form-select.is-invalid,
        .form-control.border-danger,
        .form-select.border-danger {
            border-color: #EB6106 !important;
            background-image: none !important;
        }
        .btn-brand {
            background: linear-gradient(135deg, #EB6106 0%, #ff8533 100%);
            border: none; color: #fff; font-weight: 600;
            border-radius: 10px; padding: 10px 18px;
        }
        .btn-brand:hover, .btn-brand:focus { color: #fff; filter: brightness(0.96); }
        .btn-brand:disabled { opacity: .7; }
        .emp-form-card {
            background: #fff; border: 1px solid #eceef3; border-radius: 16px;
            padding: 24px 26px; box-shadow: 0 6px 20px rgba(20,20,43,.05); max-width: 720px;
        }
        .emp-form-card h5 { font-weight: 700; margin: 0 0 4px; }
        .emp-form-card .sub { color: #8a8a8a; font-size: 13px; margin-bottom: 18px; }
        .form-label { font-size: 13px; font-weight: 600; color: #6b7280; }

/* ===== Admin Change Password ===== */
.text-danger {
            color: #EB6106 !important;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: none;
        }
        .text-danger.is-visible { display: block; }
        .form-control.is-invalid,
        .form-control.border-danger {
            border-color: #EB6106 !important;
            background-image: none !important;
        }
        .btn-brand {
            background: linear-gradient(135deg, #EB6106 0%, #ff8533 100%);
            border: none; color: #fff; font-weight: 700;
            border-radius: 10px; padding: 10px 18px;
        }
        .btn-brand:hover, .btn-brand:focus { color: #fff; filter: brightness(0.96); }
        .btn-brand:disabled { opacity: .7; }
        .pwd-card {
            background: #fff; border: 1px solid #eceef3; border-radius: 16px;
            padding: 24px 26px; box-shadow: 0 6px 20px rgba(20,20,43,.05); max-width: 520px;
        }
        .pwd-card h5 { font-weight: 700; margin: 0 0 4px; }
        .pwd-card .sub { color: #8a8a8a; font-size: 13px; margin-bottom: 18px; }
        .form-label { font-size: 13px; font-weight: 600; color: #6b7280; }

/* ===== Admin Packages ===== */
body { background: #f6f7fb; }
        .pricing-wrap { max-width: 1080px; margin: 0 auto; padding: 48px 16px 64px; }
        .pricing-head { text-align: center; margin-bottom: 40px; }
        .pricing-head h1 { font-weight: 800; font-size: clamp(26px, 4vw, 34px); }
        .pricing-head p { color: #6b7280; font-size: 16px; }
        .plan {
            background: #fff; border: 1px solid #eceef3; border-radius: 18px;
            padding: 32px 26px; height: 100%; display: flex; flex-direction: column;
            box-shadow: 0 8px 26px rgba(20,20,43,.05); transition: transform .12s ease, box-shadow .18s ease;
        }
        .plan:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,20,43,.10); }
        .plan.featured { border-color: #EB6106; box-shadow: 0 16px 44px rgba(235, 97, 6,.16); }
        .plan-badge {
            display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700;
            letter-spacing: .4px; text-transform: uppercase; color: #EB6106;
            background: rgba(235, 97, 6,.10); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
        }
        .plan h3 { font-weight: 700; margin-bottom: 4px; }
        .plan .price { font-size: 40px; font-weight: 800; line-height: 1.1; margin: 12px 0 2px; }
        .plan .price small { font-size: 15px; font-weight: 600; color: #9aa1ad; }
        .plan .validity { color: #6b7280; font-size: 14px; margin-bottom: 20px; }
        .plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
        .plan ul li { padding: 7px 0; font-size: 15px; color: #374151; display: flex; align-items: center; gap: 10px; }
        .plan ul li .bi { color: #22a06b; font-size: 18px; }
        .plan ul li.muted { color: #b3b8c2; }
        .plan ul li.muted .bi { color: #cfd3db; }
        .visit-choice { background: #faf7f4; border: 1px solid #f0e7de; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
        .visit-choice .form-label { font-weight: 600; font-size: 13px; margin-bottom: 8px; }
        .btn-plan {
            width: 100%; border: none; border-radius: 10px; padding: 13px; font-weight: 700; font-size: 15px;
            background: #eef0f5; color: #374151; cursor: pointer; transition: filter .12s ease;
        }
        .btn-plan.primary { background: linear-gradient(135deg,#EB6106 0%,#ff8533 100%); color:#fff; box-shadow: 0 8px 18px rgba(235, 97, 6,.28); }
        .btn-plan:hover { filter: brightness(.97); }
        .btn-plan:disabled { opacity: .55; cursor: not-allowed; filter: none; }
        .plan.plan-disabled { opacity: .72; }
        .plan.plan-disabled:hover { transform: none; box-shadow: 0 8px 26px rgba(20,20,43,.05); }
        .plan-note { margin: 10px 0 0; font-size: 12.5px; color: #9aa1ad; text-align: center; line-height: 1.4; }
        .top-bar { background:#fff; border-bottom:1px solid #eceef3; padding:14px 20px; display:flex; justify-content:space-between; align-items:center; }
        .top-bar .brand { font-weight:800; color:#EB6106; }
        .top-bar a { text-decoration:none; color:#6b7280; font-size:14px; }

/* ===== Admin Payment ===== */
body { background:#f6f7fb; }
        .checkout-wrap { max-width: 520px; margin: 0 auto; padding: 56px 16px; }
        .checkout-card { background:#fff; border:1px solid #eceef3; border-radius:18px; padding:34px; box-shadow:0 12px 34px rgba(20,20,43,.06); }
        .checkout-card h1 { font-size:22px; font-weight:800; margin-bottom:4px; }
        .summary { border:1px solid #eef0f5; border-radius:12px; padding:18px 20px; margin:22px 0; }
        .summary .row-line { display:flex; justify-content:space-between; padding:6px 0; font-size:15px; }
        .summary .row-line.total { border-top:1px dashed #e3e6ee; margin-top:8px; padding-top:12px; font-weight:800; font-size:18px; }
        .muted { color:#6b7280; }
        .brand { font-weight:800; color:#EB6106; }
        .btn-pay { width:100%; border:none; border-radius:10px; padding:14px; font-weight:700; color:#fff;
            background:linear-gradient(135deg,#EB6106 0%,#ff8533 100%); box-shadow:0 8px 18px rgba(235, 97, 6,.28); }
        .btn-pay:disabled { opacity:.7; cursor:not-allowed; }
        #payMsg { display:none; margin-top:16px; }

/* ===== Admin Signup ===== */
.text-danger { color: #EB6106 !important; font-size: 0.875rem; margin-top: 0.25rem; display: block; }
        .form-control.is-invalid, .form-control.border-danger {
            border-color: #EB6106 !important; background-image: none !important; padding-right: 0.75rem !important;
        }
        .form-floating>.form-control.is-invalid~label,
        .form-floating>.form-control.border-danger~label { color: #EB6106; }
        .middle-section { max-width: 460px; }
        .signup-foot { font-size: 0.9rem; }

/* ===== Admin Login ===== */
.text-danger {
            color: #EB6106 !important;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: block;
        }

        .form-control.is-invalid,
        .form-control.border-danger {
            border-color: #EB6106 !important;
            background-image: none !important;
            padding-right: 0.75rem !important;
        }

        .form-floating>.form-control.is-invalid~label,
        .form-floating>.form-control.border-danger~label {
            color: #EB6106;
        }

/* ===== Forgot Email ===== */
.text-danger {
            color: #EB6106 !important;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: block;
        }
        .form-control.is-invalid,
        .form-control.border-danger {
            border-color: #EB6106 !important;
            background-image: none !important;
            padding-right: 0.75rem !important;
        }
        .form-floating>.form-control.is-invalid~label,
        .form-floating>.form-control.border-danger~label {
            color: #EB6106;
        }

/* ===== Forgot Verify ===== */
.text-danger {
            color: #EB6106 !important;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: block;
        }
        .form-control.is-invalid,
        .form-control.border-danger {
            border-color: #EB6106 !important;
            background-image: none !important;
            padding-right: 0.75rem !important;
        }
        .form-floating>.form-control.is-invalid~label,
        .form-floating>.form-control.border-danger~label {
            color: #EB6106;
        }

/* ===== Forgot Reset ===== */
.text-danger {
            color: #EB6106 !important;
            font-size: 0.875rem;
            margin-top: 0.25rem;
            display: block;
        }
        .form-control.is-invalid,
        .form-control.border-danger {
            border-color: #EB6106 !important;
            background-image: none !important;
            padding-right: 0.75rem !important;
        }
        .form-floating>.form-control.is-invalid~label,
        .form-floating>.form-control.border-danger~label {
            color: #EB6106;
        }


		/* Admin Reports */
		.report-card .report-lead {
			margin: -6px 0 16px;
			font-size: 13.5px;
			color: #8a8f9c;
		}
		.report-filters {
			margin-bottom: 10px;
		}
		.report-filters .field-dates.is-custom-active label {
			color: #c2410c;
		}
		.report-filters .field-dates input:disabled {
			background: #f3f4f6;
			color: #9ca3af;
			cursor: not-allowed;
		}
		.report-hint {
			font-size: 13px;
			color: #6b7280;
			font-weight: 600;
		}
		.report-hint strong { color: #c2410c; }
		.report-actions .att-filter-btn {
			min-width: 150px;
		}

/* ---- Salary Structure form ---- */
.salary-form-card { max-width: 820px; }
.salary-divider {
  height: 1px;
  background: #EB6106;
  margin: 8px 0 18px;
  border: 0;
}
.salary-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 14px;
}
.ss-select { position: relative; }
.ss-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  background: #fff;
}
.ss-select-toggle:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
  opacity: 1;
}
.ss-select-toggle .ss-select-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ss-select-toggle .ss-select-label:not(.text-muted) {
  color: #212529;
}
.ss-select-caret {
  color: #6b7280;
  font-size: 12px;
  transition: transform 0.15s ease;
}
.ss-select-toggle.is-open .ss-select-caret {
  transform: rotate(180deg);
}
.ss-select-menu {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
  padding: 8px;
  overflow: hidden;
}
.ss-select-search-wrap {
  position: relative;
  margin-bottom: 6px;
}
.ss-select-search-wrap > i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 13px;
  pointer-events: none;
}
.ss-select-search {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 10px 8px 32px;
  font-size: 14px;
  outline: none;
}
.ss-select-search:focus {
  border-color: #EB6106;
  box-shadow: 0 0 0 3px rgba(235, 97, 6, 0.12);
}
.ss-select-list {
  max-height: 220px;
  overflow-y: auto;
}
.ss-select-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}
.ss-select-option:hover,
.ss-select-option:focus {
  background: #fff4ec;
  color: #EB6106;
  outline: none;
}
.ss-select-empty {
  padding: 12px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

/* ---- Statutory Details ---- */
.statutory-page { max-width: 1100px; }
.statutory-head { margin-bottom: 18px; }
.statutory-head h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #111827;
}
.statutory-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9ca3af;
}
.statutory-breadcrumb i { font-size: 11px; }
.statutory-breadcrumb .current { color: #EB6106; font-weight: 600; }
.statutory-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.04);
  height: 100%;
  padding: 18px 18px 16px;
}
.statutory-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.statutory-card-head h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.statutory-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  user-select: none;
}
.statutory-check input {
  width: 16px;
  height: 16px;
  accent-color: #EB6106;
  cursor: pointer;
}
.statutory-card-body.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.statutory-hint {
  font-size: 13px;
  color: #6b7280;
}
.statutory-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.stat-badge {
  display: inline-block;
  padding: 3px 8px;
  margin: 1px 2px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #EB6106;
  background: #fff4ec;
  border: 1px solid #ffd7bf;
}

.badge-full { background: #e6f6ec; color: #1c7c43; }
.badge-half { background: #fff4ec; color: #EB6106; }
.mark-day-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mark-day-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 16px 10px;
  cursor: pointer;
  font-weight: 600;
  color: #374151;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.mark-day-opt i { font-size: 22px; color: #9ca3af; }
.mark-day-opt:hover {
  border-color: #ffd7bf;
  background: #fff8f2;
}
.mark-day-opt.active {
  border-color: #EB6106;
  background: #fff4ec;
  color: #EB6106;
}
.mark-day-opt.active i { color: #EB6106; }

/* Company profile logo edit */
.company-profile-edit-card { max-width: 560px; }
.logo-edit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.logo-preview {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #EB6106, #ff8533);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 12px rgba(235, 97, 6, .18);
}
.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.logo-preview-initial { line-height: 1; }
.logo-edit-meta { flex: 1; min-width: 200px; }

/* Salary slip preview — professional bordered tables */
.slip-sheet {
  background: #fff;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  padding: 0;
  max-width: 980px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 20, 43, .06);
}
.slip-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 2px solid #EB6106;
  background: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
}
.slip-sheet-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.slip-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #d8dde6;
  background: #fff;
  flex-shrink: 0;
  padding: 4px;
}
.slip-company {
  font-size: 18px;
  font-weight: 800;
  color: #1f2430;
  line-height: 1.2;
}
.slip-doc-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #EB6106;
  margin-top: 2px;
}
.slip-period {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}
.slip-shift-badge {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2430;
  text-align: right;
}
.slip-meta-table,
.slip-data-table,
.slip-net-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.slip-meta-table {
  border-bottom: 1px solid #cfd4dc;
}
.slip-meta-table th,
.slip-meta-table td {
  border: 1px solid #cfd4dc;
  padding: 9px 12px;
  font-size: 13px;
  vertical-align: middle;
}
.slip-meta-table th {
  width: 16%;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 700;
  text-align: left;
}
.slip-meta-table td {
  width: 34%;
  color: #1f2430;
  font-weight: 600;
}
.slip-tables-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #cfd4dc;
}
@media (max-width: 900px) {
  .slip-tables-grid { grid-template-columns: 1fr; }
  .slip-sheet-head { flex-direction: column; }
  .slip-shift-badge { text-align: left; width: 100%; }
}
.slip-tables-grid .slip-data-table + .slip-data-table {
  border-left: 1px solid #cfd4dc;
}
.slip-data-table thead th {
  background: #1f2430;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #1f2430;
}
.slip-table-earn thead th { background: #166534; border-color: #166534; }
.slip-table-ded thead th { background: #b91c1c; border-color: #b91c1c; }
.slip-data-table td {
  border: 1px solid #cfd4dc;
  padding: 8px 12px;
  font-size: 13px;
  color: #374151;
}
.slip-data-table td.num {
  text-align: right;
  font-weight: 700;
  color: #1f2430;
  white-space: nowrap;
}
.slip-data-table tr.slip-tr-total td {
  background: #f8fafc;
  font-weight: 800;
  color: #1f2430;
}
.slip-table-earn tr.slip-tr-total td {
  background: #dcfce7;
  color: #166534;
}
.slip-table-ded tr.slip-tr-total td {
  background: #fee2e2;
  color: #b91c1c;
}
.slip-net-table th,
.slip-net-table td {
  border: 1px solid #86efac;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 800;
}
.slip-net-table th {
  background: #dcfce7;
  color: #166534;
  text-align: left;
  width: 70%;
}
.slip-net-table td {
  background: #dcfce7;
  color: #166534;
  text-align: right;
  font-size: 20px;
}
.slip-footnote {
  padding: 10px 14px;
  font-size: 12px;
  color: #6b7280;
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
}

/* Employee Archive */
.arc-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f3f4f6;
  color: #4b5563;
}
.arc-badge-resigned { background: #fff4ec; color: #EB6106; }
.arc-badge-notice { background: #eff6ff; color: #1d4ed8; }
.arc-badge-terminated { background: #fee2e2; color: #b91c1c; }
.archive-section-line {
  margin: 8px 0 18px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}
.archive-control-title {
  font-size: 15px;
  font-weight: 800;
  color: #1f2430;
  margin: 0 0 14px;
}
.archive-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 16px 18px;
  background: #f8f9fb;
  border: 1px solid #e8eaef;
  border-radius: 12px;
}
@media (max-width: 640px) {
  .archive-control-grid { grid-template-columns: 1fr; }
}
.archive-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f2430;
  cursor: pointer;
  user-select: none;
}
.archive-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0d6efd;
  cursor: pointer;
  flex-shrink: 0;
}
