body.vts-wowdash-admin #wpadminbar,
body.vts-wowdash-admin #adminmenuback,
body.vts-wowdash-admin #adminmenuwrap,
body.vts-wowdash-admin #wpfooter,
body.vts-wowdash-admin .notice,
body.vts-wowdash-admin .update-nag,
body.vts-wowdash-admin #screen-meta-links,
body.vts-wowdash-admin #screen-meta {
  display: none !important;
}

body.vts-wowdash-admin {
  background: #f5f6fa !important;
}

body.vts-wowdash-admin #wpcontent,
body.vts-wowdash-admin #wpfooter,
body.vts-wowdash-admin.auto-fold #wpcontent,
body.vts-wowdash-admin.folded #wpcontent {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

body.vts-wowdash-admin #wpbody-content {
  padding-bottom: 0 !important;
}

body.vts-wowdash-admin #wpbody-content > .wrap {
  margin: 0 !important;
}

.vts-wowdash-shell,
.vts-portal-wrapper {
  min-height: 100vh;
}

.vts-sidebar-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
}

.vts-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}

.vts-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.vts-logo-text small {
  color: #94a3b8;
  font-size: 12px;
}

.sidebar-menu > li > a.active-page {
  background: rgba(58, 110, 255, 0.12);
  color: #465fff !important;
}

.vts-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vts-user-chip .avatar,
.vts-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.vts-user-chip small {
  display: block;
  color: #94a3b8;
  font-size: 12px;
}

.vts-thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  background: #f8fafc;
}

.vts-meta-list,
.vts-shortcode-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vts-meta-list li,
.vts-shortcode-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 14px;
}

.vts-shortcode-list code {
  display: block;
  margin-top: 6px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px 12px;
}

.vts-shortcode-card {
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

.vts-wowdash-admin .table td,
.vts-wowdash-admin .table th,
.vts-portal-wrapper .table td,
.vts-portal-wrapper .table th {
  vertical-align: middle;
}

.vts-portal-wrapper .card,
.vts-wowdash-shell .card {
  border-radius: 18px;
}

.vts-wowdash-shell .dashboard-main-body,
.vts-portal-wrapper {
  padding: 24px;
}

.vts-wowdash-admin .vts-dashboard-embed .vts-dashboard-wrap {
  min-height: 600px;
}

.vts-wowdash-rtl,
.vts-portal-wrapper[dir="rtl"],
.vts-wowdash-shell[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.vts-portal-wrapper .btn,
.vts-wowdash-shell .btn {
  border-radius: 12px;
}

.vts-portal-wrapper .alert,
.vts-wowdash-shell .alert {
  border-radius: 16px;
}

/* v1.8.2 layout and action improvements */
body.vts-wowdash-admin {
  overflow-x: hidden;
}

.vts-wowdash-shell {
  display: flex;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.vts-wowdash-shell .sidebar {
  flex: 0 0 240px;
  max-width: 240px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.vts-wowdash-shell .dashboard-main {
  flex: 1 1 auto;
  min-width: 0;
  width: calc(100% - 240px);
}

.vts-wowdash-shell .dashboard-main-body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.vts-wowdash-shell .row,
.vts-wowdash-shell .card,
.vts-wowdash-shell .table-responsive,
.vts-wowdash-shell .navbar-header,
.vts-wowdash-shell .footer,
.vts-wowdash-shell .vts-page-head {
  width: 100%;
}

.vts-wowdash-shell .table-responsive {
  overflow-x: auto;
}

.vts-wowdash-shell table.table {
  width: 100%;
  min-width: 960px;
}

.vts-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.vts-page-head h4,
.vts-page-head h5,
.vts-page-head h6 {
  margin-bottom: 0;
}

.vts-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vts-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.vts-card-actions .btn,
.vts-page-actions .btn {
  white-space: nowrap;
}

.vts-inline-stat {
  font-size: 13px;
  color: #64748b;
}

.vts-wowdash-shell .card-body {
  min-width: 0;
}

.vts-wowdash-shell .text-break {
  word-break: break-word;
}

@media (max-width: 991px) {
  .vts-wowdash-shell {
    flex-direction: column;
  }

  .vts-wowdash-shell .sidebar {
    position: relative;
    flex-basis: auto;
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .vts-wowdash-shell .dashboard-main {
    width: 100%;
  }

  .vts-wowdash-shell table.table {
    min-width: 760px;
  }
}

/* v1.10.1 full width admin layout fix */
body.vts-wowdash-admin,
body.vts-wowdash-admin #wpwrap,
body.vts-wowdash-admin #wpbody,
body.vts-wowdash-admin #wpbody-content,
body.vts-wowdash-admin #wpcontent {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
}

body.vts-wowdash-admin #wpcontent,
body.vts-wowdash-admin.auto-fold #wpcontent,
body.vts-wowdash-admin.folded #wpcontent {
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
}

body.vts-wowdash-admin #wpbody-content > *:not(.vts-wowdash-shell) {
  display: none !important;
}

.vts-wowdash-shell {
  display: flex !important;
  align-items: stretch !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.vts-wowdash-shell .sidebar {
  position: relative !important;
  inset: auto !important;
  inset-inline-start: auto !important;
  flex: 0 0 240px !important;
  width: 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  height: 100vh !important;
  z-index: 10 !important;
}

.vts-wowdash-shell .sidebar-logo,
.vts-wowdash-shell .sidebar-menu-area {
  border-inline-end: 1px solid #e5e7eb !important;
}

.vts-wowdash-shell .dashboard-main,
body.vts-wowdash-admin .dashboard-main,
body.vts-wowdash-admin .dashboard-main.active {
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  flex: 1 1 calc(100vw - 240px) !important;
  width: calc(100vw - 240px) !important;
  max-width: calc(100vw - 240px) !important;
  min-width: 0 !important;
  display: flex !important;
}

.vts-wowdash-shell .navbar-header {
  width: 100% !important;
  max-width: none !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.vts-wowdash-shell .dashboard-main-body {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 24px !important;
  overflow-x: hidden !important;
}

.vts-wowdash-shell .card,
.vts-wowdash-shell .card-body,
.vts-wowdash-shell .row,
.vts-wowdash-shell .vts-page-head {
  max-width: none !important;
  min-width: 0 !important;
}

.vts-wowdash-shell .card {
  width: 100% !important;
}

.vts-wowdash-shell .table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
}

.vts-wowdash-shell .table-responsive table.table,
.vts-wowdash-shell table.table {
  width: 100% !important;
  min-width: 980px !important;
}

.vts-wowdash-shell .vts-full-width-card {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 1199px) {
  .vts-wowdash-shell {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .vts-wowdash-shell .sidebar {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
    height: auto !important;
  }

  .vts-wowdash-shell .dashboard-main,
  body.vts-wowdash-admin .dashboard-main,
  body.vts-wowdash-admin .dashboard-main.active {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: auto !important;
  }
}

/* v1.12.5 driver geolocation permission helper */
.vts-location-permission-help {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 14px;
  color: #7c2d12;
  padding: 12px 14px;
  line-height: 1.55;
  margin-top: 10px;
}
.vts-location-help-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.vts-location-steps {
  padding-left: 22px;
  margin-bottom: 0;
}
