*{-webkit-tap-highlight-color:transparent;scrollbar-width:none}
::-webkit-scrollbar{display:none}
body{background:#f5f5f4;color:#1c1917;overscroll-behavior-y:none}
#ac{min-height:100vh;background:#fafaf9}
@media(min-width:768px){#ac{display:flex}}
.st{transition:all .2s cubic-bezier(.4,0,.2,1)}
.as:active{transform:scale(.95)}
.gn{background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 1px 0 rgba(28,25,23,.06),0 12px 28px -18px rgba(10,14,23,.35)}
@keyframes fi{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.afi{animation:fi .25s ease-out forwards}
.tnum{font-variant-numeric:tabular-nums}
.ink-panel{background:linear-gradient(180deg,#151c30 0%,#0a0e17 100%);position:relative}
.ink-panel::after{content:'';position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,106,.25),transparent);pointer-events:none}

/* ── CUSTOM ANIMATIONS ── */
.hover-premium {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.hover-premium:hover {
  transform: translateY(-3px) scale(1.008);
  box-shadow: 0 12px 28px -5px rgba(10,14,23,0.08), 0 8px 16px -8px rgba(10,14,23,0.05);
  border-color: rgba(212, 175, 106, 0.3) !important;
}

@keyframes growUp {
  from { height: 0%; }
}
.animate-grow {
  animation: growUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes growRight {
  from { width: 0%; }
}
.animate-grow-x {
  animation: growRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Smooth Accordion Height Transition */
.accordion-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-wrapper.open {
  grid-template-rows: 1fr;
}
.accordion-inner {
  overflow: hidden;
}

/* ── OVERTYPE EDITOR TIDY & THEME STYLES ── */
.overtype-wrapper, [class*="overtype"] {
  border-radius: 1rem;
}
.overtype-toolbar {
  background: rgba(245, 245, 244, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(231, 229, 228, 0.8) !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.overtype-toolbar button {
  border-radius: 0.5rem !important;
  padding: 4px 8px !important;
  color: #57534e !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
}
.overtype-toolbar button:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #1c1917 !important;
  border-color: rgba(212, 175, 106, 0.3) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}

/* ── NOTION-STYLE DATATABLES & WIDE RESPONSIVE TABLE ── */
.notion-table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.notion-table-wrapper .dataTables_wrapper {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_length,
.notion-table-wrapper .dataTables_wrapper .dataTables_filter {
  display: flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #78716c !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_filter {
  float: left !important;
  margin-bottom: 8px !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_filter input {
  border: 1px solid #e7e5e4 !important;
  border-radius: 0.75rem !important;
  padding: 6px 14px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  outline: none !important;
  background: #ffffff !important;
  color: #1c1917 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
  transition: all 0.2s ease !important;
  min-width: 220px !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_filter input:focus {
  border-color: #d4af6a !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.22) !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_length {
  float: right !important;
  margin-bottom: 8px !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_length select {
  border: 1px solid #e7e5e4 !important;
  border-radius: 0.65rem !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  outline: none !important;
  background: #ffffff !important;
  color: #44403c !important;
}

.notion-table-wrapper table.dataTable {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
}

.notion-table-wrapper table.dataTable thead {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
}

.notion-table-wrapper table.dataTable thead th {
  background: #0f1623 !important;
  color: #b8a882 !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 14px 18px !important;
  border-bottom: none !important;
  border-top: none !important;
  border-right: none !important;
  white-space: nowrap !important;
}

.notion-table-wrapper table.dataTable thead th:first-child {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}

.notion-table-wrapper table.dataTable thead th:last-child {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

@media (min-width: 768px) {
  .notion-table-wrapper table.dataTable th.col-mobile-action,
  .notion-table-wrapper table.dataTable td.col-mobile-action {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .notion-table-wrapper table.dataTable th.col-mobile-action,
  .notion-table-wrapper table.dataTable td.col-mobile-action {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 50px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    text-align: center !important;
  }
}

.notion-table-wrapper table.dataTable tbody td {
  border-top: none !important;
  border-bottom: 1px solid rgba(231, 229, 228, 0.6) !important;
  border-right: none !important;
  border-left: none !important;
  padding: 14px 18px !important;
  font-size: 11.5px !important;
  vertical-align: middle !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease !important;
}

.notion-table-wrapper table.dataTable tbody tr {
  cursor: pointer !important;
}

.notion-table-wrapper table.dataTable tbody tr:nth-child(even) td {
  background-color: #fafafa;
}

.notion-table-wrapper table.dataTable tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}

.notion-table-wrapper table.dataTable tbody tr:hover td {
  background-color: #fffbf2 !important;
}

.notion-table-wrapper table.dataTable tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 #d4af6a !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_info {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #a8a29e !important;
  padding-top: 12px !important;
  float: left !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_paginate {
  padding-top: 10px !important;
  float: right !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.65rem !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  margin: 0 2px !important;
  border: 1px solid transparent !important;
  color: #57534e !important;
  transition: all 0.15s ease !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f5f5f4 !important;
  color: #1c1917 !important;
  border-color: #e7e5e4 !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: linear-gradient(135deg, #1b2337 0%, #0a0e17 100%) !important;
  color: #d4af6a !important;
  border: 1px solid rgba(212, 175, 106, 0.3) !important;
  box-shadow: 0 2px 6px rgba(10, 14, 23, 0.2) !important;
}

.notion-table-wrapper .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

/* ── SWEETALERT2 CEO GTD OS THEME ── */
.swal2-popup.gtd-swal-popup {
  background: #12182a !important;
  color: #faf6ec !important;
  border: 1px solid rgba(212, 175, 106, 0.35) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 20px 40px -12px rgba(10, 14, 23, 0.5) !important;
  padding: 1.5rem !important;
}
.swal2-title.gtd-swal-title {
  color: #f3e9cd !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
.swal2-html-container.gtd-swal-text {
  color: #a8a29e !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.swal2-confirm.gtd-swal-confirm {
  background: linear-gradient(135deg, #d4af6a 0%, #c19a4b 100%) !important;
  color: #0a0e17 !important;
  font-weight: 800 !important;
  font-size: 11.5px !important;
  border-radius: 0.75rem !important;
  padding: 8px 18px !important;
  border: none !important;
}
.swal2-cancel.gtd-swal-cancel {
  background: #1b2337 !important;
  color: #d6d3d1 !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  border-radius: 0.75rem !important;
  padding: 8px 16px !important;
  border: 1px solid #33405c !important;
}

/* SweetAlert2 Validation Message */
.swal2-validation-message {
  background: #fef2f2 !important;
  color: #b91c1c !important;
  border: 1px solid #fecaca !important;
  border-radius: 0.85rem !important;
  padding: 10px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 12px auto 0 auto !important;
  text-align: center !important;
}
.swal2-validation-message:empty,
.swal2-validation-message[style*="display: none"] {
  display: none !important;
}

/* ── PREMIUM GLASS & MICRO-ANIMATIONS ── */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px -10px rgba(10, 14, 23, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.dark .glass-card, .glass-card-dark {
  background: rgba(18, 24, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 106, 0.15);
  box-shadow: 0 20px 40px -16px rgba(10, 14, 23, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── DRIVER.JS ONBOARDING TOUR THEMING ── */
.gtd-tour-popover {
  background: #12182a !important;
  color: #faf6ec !important;
  border: 1px solid rgba(212, 175, 106, 0.25) !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 40px -12px rgba(10, 14, 23, 0.6) !important;
  padding: 20px !important;
  max-width: 340px !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

.gtd-tour-popover .driver-popover-title {
  color: #f3e9cd !important;
  font-family: "Fraunces", serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.gtd-tour-popover .driver-popover-description {
  color: #a8a29e !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  margin-bottom: 12px !important;
}

.gtd-tour-popover .driver-popover-footer {
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(212, 175, 106, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.gtd-tour-popover .driver-popover-progress-text {
  color: #78716c !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums !important;
}

.gtd-tour-popover .driver-popover-navigation-btns {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}

.gtd-tour-popover .driver-popover-next-btn,
.gtd-tour-popover .driver-popover-prev-btn {
  background: #1b2337 !important;
  color: #d6d3d1 !important;
  border: 1px solid #33405c !important;
  border-radius: 0.5rem !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.gtd-tour-popover .driver-popover-next-btn:hover {
  background: linear-gradient(135deg, #d4af6a 0%, #c19a4b 100%) !important;
  color: #0a0e17 !important;
  border-color: #d4af6a !important;
}

.gtd-tour-popover .driver-popover-close-btn {
  color: #78716c !important;
  top: 12px !important;
  right: 14px !important;
  font-size: 16px !important;
}

.gtd-tour-popover .driver-popover-close-btn:hover {
  color: #ef4444 !important;
}

.driver-popover-skip-btn {
  background: transparent !important;
  color: #a8a29e !important;
  border: 1px dashed rgba(168, 162, 158, 0.4) !important;
  border-radius: 0.5rem !important;
  padding: 5px 10px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-right: 6px !important;
}

.driver-popover-skip-btn:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
}




/* ── GOOGLE CALENDAR STYLE UTILITIES ── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
