[data-sidebar="dark"] #masterheader {
  background: var(--vz-vertical-menu-bg-dark);
  border-right: 1px solid var(--vz-vertical-menu-bg-dark);
}

/* navbar-menu  */
.krmactions {
  display: flex;
  justify-content: end;
}

.sorting {
  cursor: pointer !important;
}

/* page title */
.title_icon {
  display: inline-block !important;
}

/* table design */
#datalist .datatr:hover {
  /* background-color: var(--falcon-gray-100); */
  cursor: pointer;
}

#datalist .datatr:active {
  /* background-color: var(--falcon-gray-100); */
  cursor: grabbing;
  cursor: -webkit;
}

#datalist .datatr {
  color: var(--falcon-900) !important;
}

/* Loader Design */
.loading {
  position: fixed;
  z-index: 100000;
  background-image: url("https://www.swachata-mitra.org/assets/images/loader.gif");
  background-repeat: no-repeat;
  background-size: 357px 290px;
  display: none;
  top: 0;
  left: 0;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  cursor: wait;
  background-position: center;
  background-color: #fff;
}

.hidden {
  display: none !important;
}

.border-15 {
  border-radius: 16px !important;
}

.error,
.required {
  color: red !important;
}

.input-group-text {
  background-color: #8dd244;
  color: #d8e2ef;
}

.modal_z_index {
  z-index: 1000;
}

input[type="radio"] {
  width: 25px;
  height: 25px;
}

.sorting,
.btnsearchfilter {
  cursor: pointer;
}

#tablefilter {
  width: max-content !important;
}

.tox-statusbar__branding {
  display: none !important;
}

#contentvideo {
  height: 22rem !important;
  width: 44rem !important;
}

.table-responsive {
  max-height: 500px;
  /* Adjust this as needed */
  overflow-y: auto;
}

.table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: var(--vz-light);
  /* Velzon uses CSS variables */
}

.table thead th {
  box-shadow: inset 0 -1px 0 #dee2e6, 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.copy-icon {
  color: #888;
  font-size: 15px;
}

.copy-icon:hover {
  color: #000;
}

/* SweetAlert2 Custom Styles */
.swal2-popup.krm-swal-popup {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(64, 196, 255, 0.2);
  font-family: "Poppins", hkgrotesk, sans-serif;
  padding: 2rem;
}

.swal2-title.krm-swal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vz-heading-color);
}

.swal2-confirm.krm-swal-confirm,
.swal2-cancel.krm-swal-cancel {
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  box-shadow: 0 4px 10px rgba(64, 196, 255, 0.1);
}

.swal2-confirm.krm-swal-confirm {
  background-color: var(--vz-primary);
  color: #fff;
}

.swal2-confirm.krm-swal-confirm:hover {
  background-color: #29b6f6;
}

.swal2-cancel.krm-swal-cancel {
  background-color: #f8f9fa;
  color: #333;
}

.swal2-cancel.krm-swal-cancel:hover {
  background-color: #eceff1;
}

#tablefilter {
  background-color: var(--vz-card-bg-custom);
  border-radius: 12px;
  border: 1px solid var(--vz-border-color);
  box-shadow: 0 10px 20px rgba(var(--vz-primary-rgb), 0.1);
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1050;
}

#tablefilter .list-group-item {
  background-color: transparent;
  color: var(--vz-heading-color);
  border: none;
  padding: 0.75rem 1rem;
  font-family: "Poppins", "hkgrotesk", sans-serif;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  border-radius: 8px;
  margin: 4px 8px;
}

#tablefilter .list-group-item:hover {
  background-color: var(--vz-list-group-hover-bg);
  cursor: pointer;
}

#tablefilter .list-group-item.disabled {
  background-color: var(--vz-input-disabled-bg);
  font-weight: 500;
  color: var(--vz-vertical-menu-title-color);
  cursor: not-allowed;
}

#tablefilter .list-group-item .h5 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  color: var(--vz-heading-color);
}

#tablefilter .form-check-input {
  cursor: pointer;
  accent-color: var(--vz-primary);
  border: 1px solid var(--vz-input-border);
  background-color: var(--vz-input-bg);
  width: 1.25rem;
  height: 1.25rem;
}

#tablefilter .form-check-input:checked {
  background-color: var(--vz-primary);
  border-color: var(--vz-primary);
}

#tablefilter i {
  color: var(--vz-primary);
  font-size: 1rem;
}

#tablefilter .ui-sortable-handle {
  cursor: move;
}

.login-body {
  background-color: var(--vz-body-bg);
  color: var(--vz-body-color);
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

.auth-wrapper {
  max-width: 450px;
  width: 100%;
  background-color: var(--vz-card-bg-custom);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: background-color 0.3s, color 0.3s;
}

.auth-logo img {
  height: 60px;
}

.form-control {
  background-color: var(--vz-input-bg);
  border-color: var(--vz-input-border);
  color: var(--vz-body-color);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.form-control::placeholder {
  color: var(--vz-gray-500);
}

.btn-primary {
  background-color: var(--vz-primary);
  border-color: var(--vz-primary);
  color: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--vz-secondary);
  border-color: var(--vz-secondary);
  box-shadow: 0 0 10px rgba(var(--vz-primary-rgb), 0.5);
}

.password-toggle {
  position: absolute;
  top: 72%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--vz-gray-500);
  z-index: 2;
}

#password-input-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.position-relative {
  position: relative;
}

#capslock {
  font-size: 0.75rem;
  color: var(--vz-danger);
}

.radio-tab-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-tab {
  position: relative;
}

.radio-tab input[type="radio"] {
  display: none;
}

.radio-tab label {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #d0d0d0;
  border-radius: 8px;
  cursor: pointer;
  background-color: #f8f9fa;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  user-select: none;
  color: #333;
}

.radio-tab input[type="radio"]:checked + label {
  background-color: var(--vz-primary);
  color: #fff;
  border-color: var(--vz-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#tableSearch {
  max-width: 300px;
}

.radio-tab-group {
  display: flex;
  gap: 1rem;
}

.radio-tab input[type="radio"] {
  margin-right: 5px;
}

.sticky-header {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 10;
}

.carousel-control-prev,
.carousel-control-next {
  top: 45%;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

[data-layout-mode="dark"] .carousel-control-prev,
[data-layout-mode="dark"] .carousel-control-next {
  background-color: var(--vz-light);
  color: var(--vz-dark);
}

#execution_output table th,
#execution_output table td {
  font-family: monospace;
  font-size: 0.85rem;
  padding: 4px 8px;
}
#execution_output pre {
  background-color: #fdd;
  padding: 10px;
  border-radius: 4px;
  white-space: pre-wrap;
}
#db_log_panel {
  display: flex;
  flex-direction: column;
}

/* MOBILE PHONE */
.mobile-preview-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 30px;
  position: sticky;
  top: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-device {
  width: 320px;
  height: 680px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 45px;
  padding: 6px;
  box-shadow: 0 0 0 2px #0a0a0a, 0 0 0 8px #1a1a1a,
    0 30px 60px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.1);
  position: relative;
  margin: 0 auto;
  transform-style: preserve-3d;
  animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(0px) rotateY(-2deg) rotateX(5deg);
  }

  50% {
    transform: translateY(-10px) rotateY(2deg) rotateX(5deg);
  }
}

/* Dynamic Island - iPhone 14 Pro style */
.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 36px;
  background: #000000;
  border-radius: 18px;
  z-index: 100;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: islandPulse 4s ease-in-out infinite;
}

@keyframes islandPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.02);
  }
}

.island-camera {
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8);
}

.island-sensor {
  width: 12px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
}

/* Physical buttons */
.side-button {
  position: absolute;
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.volume-up {
  left: -3px;
  top: 130px;
  width: 3px;
  height: 40px;
}

.volume-down {
  left: -3px;
  top: 180px;
  width: 3px;
  height: 40px;
}

.silent-switch {
  left: -3px;
  top: 100px;
  width: 3px;
  height: 25px;
  background: #ff3b30;
}

.power-button {
  right: -3px;
  top: 140px;
  width: 3px;
  height: 90px;
}

.mobile-screen {
  background: #000000;
  border-radius: 39px;
  height: 668px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Ultra-realistic iOS wallpaper */
.wallpaper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(64, 196, 255, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(64, 196, 255, 0.4) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(64, 196, 255, 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #1e1e1e 0%, #2d2d30 50%, #1a1a1c 100%);
  animation: wallpaperShift 15s ease-in-out infinite;
}

@keyframes wallpaperShift {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  33% {
    transform: scale(1.02) rotate(0.5deg);
  }

  66% {
    transform: scale(1.01) rotate(-0.3deg);
  }
}

/* Enhanced status bar */
.status-bar {
  position: relative;
  z-index: 50;
  padding: 50px 24px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 17px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 12px;
}

.signal-bar {
  width: 3px;
  background: #ffffff;
  border-radius: 1px;
  opacity: 0.8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.signal-bar:nth-child(1) {
  height: 4px;
}

.signal-bar:nth-child(2) {
  height: 7px;
}

.signal-bar:nth-child(3) {
  height: 10px;
}

.signal-bar:nth-child(4) {
  height: 12px;
}

.wifi-icon {
  color: #ffffff;
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.battery-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}

.battery-percentage {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.battery-icon {
  width: 28px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.battery-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 4px;
  width: 3px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 2px 2px 0;
}

.battery-level {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, #30d158, #32d74b);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Notification area */
.notification-area {
  padding: 0 20px 30px;
  height: calc(100% - 120px);
  overflow-y: auto;
  position: relative;
  z-index: 10;
}

/* Ultra-modern notification design */
.notification-card {
  background: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(40px);
  border-radius: 24px;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(-30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.notification-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3) 30%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 70%,
    transparent
  );
}

.notification-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: notificationSlide 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes notificationSlide {
  0% {
    transform: translateY(-60px) scale(0.9) rotateX(15deg);
    opacity: 0;
  }

  50% {
    transform: translateY(5px) scale(1.02) rotateX(-2deg);
    opacity: 0.8;
  }

  100% {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
  }
}

.notification-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-right: 16px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.app-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    transparent 60%
  );
  pointer-events: none;
}

.notification-meta {
  flex: 1;
  min-width: 0;
}

.meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.app-name {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.notification-time {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.notification-body {
  margin-left: 64px;
}

.notification-title {
  font-weight: 600;
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.notification-message {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-weight: 400;
}

.notification-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.notification-action {
  padding: 10px 18px;
  background: rgba(0, 122, 255, 0.2);
  color: #007aff;
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(10px);
}

.notification-action:hover {
  background: rgba(0, 122, 255, 0.3);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

/* Empty state */
.preview-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 100px 24px;
  animation: emptyPulse 3s ease-in-out infinite;
}

@keyframes emptyPulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.7;
  }
}

.empty-icon {
  font-size: 72px;
  margin-bottom: 24px;
  opacity: 0.3;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.empty-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

.preview-title {
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.preview-subtitle {
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Responsive improvements */
@media (max-width: 992px) {
  .mobile-device {
    width: 280px;
    height: 600px;
  }

  .mobile-preview-container {
    padding: 20px;
  }
}

/* Custom scrollbar */
.notification-area::-webkit-scrollbar {
  width: 2px;
}

.notification-area::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
}

.notification-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}
/* MOBILE PHONE */

.cursor-pointer {
  cursor: pointer !important;
}

.run_select_query.active {
  color: #40c4ff !important;
  font-weight: bold;
}

.resize-handle {
  position: absolute;
  background: #40c4ff;
  opacity: 0;
  transition: opacity 0.2s;
}

.resize-handle:hover,
.resizing .resize-handle {
  opacity: 0.7;
}

.resize-handle-vertical {
  top: 0;
  right: -3px;
  width: 6px;
  height: 100%;
  cursor: col-resize;
}

.resize-handle-horizontal {
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 6px;
  cursor: row-resize;
}

.resizing {
  user-select: none;
  cursor: col-resize;
}

.resizing * {
  pointer-events: none;
}

/* Panel positioning for resize handles */
#left_panel,
#output_panel,
#db_log_panel {
  position: relative;
}

/* Active toggle button styles */
.toggle-btn.active {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Better panel transitions */
#left_panel,
#db_log_panel,
#output_panel {
  transition: all 0.3s ease;
}

/* Ensure main section fills remaining space */
#main_section {
  flex: 1 1 auto !important;
}

.jsno_formator_body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
}

.jsno_formator_body .editor-container {
  margin: 0 auto;
  background-color: var(--vz-card-bg-custom);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--vz-border-color);
}

.jsno_formator_body .header {
  text-align: center;
  margin-bottom: 30px;
}

.jsno_formator_body .header h1 {
  color: var(--vz-heading-color);
  font-size: 2.5em;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, var(--vz-primary), var(--vz-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jsno_formator_body .toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.jsno_formator_body .btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  background: var(--vz-input-bg);
  color: var(--vz-vertical-menu-item-color);
  border: 1px solid var(--vz-input-border);
  font-size: 14px;
}

.jsno_formator_body .btn:hover {
  background: var(--vz-list-group-hover-bg);
  color: var(--vz-vertical-menu-item-hover-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(var(--vz-primary-rgb), 0.2);
}

.jsno_formator_body .btn.primary {
  background: linear-gradient(45deg, var(--vz-primary), var(--vz-secondary));
  color: white;
  border: none;
}

.jsno_formator_body .btn.danger {
  background: linear-gradient(45deg, var(--vz-danger), var(--vz-danger));
  color: white;
  border: none;
}

.jsno_formator_body .editor-wrapper {
  background: var(--vz-card-bg-custom);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--vz-border-color);
  position: relative;
}

.jsno_formator_body .status-bar {
  background: linear-gradient(
    90deg,
    var(--vz-vertical-menu-bg-dark),
    var(--vz-twocolumn-menu-bg-dark)
  );
  color: var(--vz-vertical-menu-item-color-dark);
  padding: 8px 15px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jsno_formator_body .status-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
}

.jsno_formator_body .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vz-success);
  animation: pulse 2s infinite;
}

.jsno_formator_body .status-dot.error {
  background: var(--vz-danger);
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.jsno_formator_body .cm-editor {
  font-family: "Fira Code", "Monaco", "Menlo", monospace;
  font-size: 14px;
  line-height: 1.5;
  min-height: 400px;
  position: relative;
}

.jsno_formator_body .line-numbers {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  background: var(--vz-topbar-search-bg);
  border-right: 1px solid var(--vz-border-color);
  font-family: "Fira Code", Monaco, Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px 0;
  color: var(--vz-footer-color);
  text-align: right;
  user-select: none;
  z-index: 1;
  overflow: hidden;
}

.jsno_formator_body .line-numbers.dark {
  background: var(--vz-topbar-user-bg-dark);
  border-right: 1px solid var(--vz-vertical-menu-item-color);
  color: var(--vz-vertical-menu-title-color-dark);
}

.jsno_formator_body .line-number {
  padding-right: 10px;
  height: 22.4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.2s ease;
}

.jsno_formator_body .line-number:hover {
  background: rgba(var(--vz-primary-rgb), 0.1);
}

.jsno_formator_body .line-number.active {
  background: rgba(var(--vz-primary-rgb), 0.2);
  color: var(--vz-success);
  font-weight: bold;
}

.jsno_formator_body .editor-content {
  position: relative;
}

.jsno_formator_body .cm-focused {
  outline: none;
}

.jsno_formator_body .error-tooltip {
  background: var(--vz-danger);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(var(--vz-danger-rgb), 0.3);
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.jsno_formator_body .error-tooltip.show {
  transform: translateX(0);
  opacity: 1;
}

.jsno_formator_body .suggestions {
  background: var(--vz-card-bg-custom);
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  border: 1px solid var(--vz-border-color);
}

.jsno_formator_body .suggestion-item {
  padding: 8px 12px;
  margin: 5px 0;
  background: rgba(var(--vz-primary-rgb), 0.1);
  border-radius: 6px;
  font-size: 13px;
  color: var(--vz-heading-color);
}

.jsno_formator_body .bracket-matcher {
  position: absolute;
  background: rgba(var(--vz-primary-rgb), 0.2);
  border: 1px solid rgba(var(--vz-primary-rgb), 0.5);
  pointer-events: none;
  z-index: 5;
  border-radius: 2px;
  transition: all 0.1s ease;
}

.jsno_formator_body .bracket-error {
  background: rgba(var(--vz-danger-rgb), 0.2) !important;
  border-color: rgba(var(--vz-danger-rgb), 0.5) !important;
}

.api-testing-container {
  background: var(--vz-boxed-body-bg);
  min-height: 80vh;
}

.api-sidebar {
  background: var(--vz-card-bg-custom);
  border-right: 1px solid var(--vz-border-color);
  min-height: 80vh;
  border-radius: 12px 0 0 12px;
}

.api-main-content {
  background: var(--vz-card-bg-custom);
  min-height: 80vh;
  border-radius: 0 12px 12px 0;
}

.api-request-item {
  cursor: pointer;
  padding: 10px 15px;
  border-bottom: 1px solid var(--vz-border-color);
  transition: all 0.3s ease;
  margin: 2px 8px;
  border-radius: 8px;
}

.api-request-item:hover {
  background: var(--vz-list-group-hover-bg);
  transform: translateX(5px);
}

.api-request-item.active {
  background: var(--vz-list-group-hover-bg);
  border-left: 3px solid var(--vz-primary);
}

.api-method-badge {
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  margin-right: 8px;
}

.api-method-get {
  background: var(--vz-success);
  color: white;
}

.api-method-post {
  background: var(--vz-warning);
  color: white;
}

.api-method-put {
  background: var(--vz-info);
  color: white;
}

.api-method-delete {
  background: var(--vz-danger);
  color: white;
}

.api-method-patch {
  background: var(--vz-secondary);
  color: white;
}

.api-url-input-group {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(64, 196, 255, 0.1);
}

.api-method-select {
  background: var(--vz-primary);
  color: white;
  border: none;
  font-weight: bold;
  min-width: 100px;
}

.api-send-btn {
  background: linear-gradient(135deg, var(--vz-primary), var(--vz-secondary));
  border: none;
  color: white;
  font-weight: bold;
  padding: 0 30px;
  transition: all 0.3s ease;
}

.api-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(64, 196, 255, 0.3);
  color: white;
}

.api-response-section {
  background: var(--vz-card-bg-custom);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  border: 1px solid var(--vz-border-color);
}

.api-response-header {
  background: linear-gradient(135deg, #f8fbff, #e3f2fd);
  border-bottom: 1px solid var(--vz-border-color);
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
}

.api-status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
}

.api-status-success {
  background: var(--vz-success);
  color: white;
}

.api-status-error {
  background: var(--vz-danger);
  color: white;
}

.api-status-warning {
  background: var(--vz-warning);
  color: white;
}

.api-json-viewer {
  background: #1e1e1e;
  color: #d4d4d4;
  font-family: "Courier New", monospace;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  font-size: 12px;
}

.api-loading-spinner {
  animation: api-spin 1s linear infinite;
}

@keyframes api-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.api-param-row {
  background: var(--vz-input-bg);
  border: 1px solid var(--vz-input-border);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px;
}

.api-environment-selector {
  background: var(--vz-input-group-addon-bg);
  border: 1px solid var(--vz-input-border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 20px;
}

.api-nav-tabs .nav-link {
  color: var(--vz-heading-color);
  border: none;
  background: transparent;
}

.api-nav-tabs .nav-link.active {
  color: var(--vz-primary);
  background: var(--vz-card-bg-custom);
  border-bottom: 2px solid var(--vz-primary);
}

/* NEW CSS FOR RESIZABLE FEATURE */
.api-resizer {
  height: 8px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  cursor: row-resize;
  position: relative;
  margin: 0;
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transition: background-color 0.2s ease;
}

.api-resizer:hover {
  background: linear-gradient(135deg, #dee2e6, #ced4da);
}

.api-resizer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 3px;
  background: var(--bs-secondary);
  border-radius: 2px;
  opacity: 0.6;
}

.api-resizer:hover::before {
  opacity: 1;
  background: var(--bs-primary);
}

.api-resizer.dragging {
  background: linear-gradient(135deg, var(--vz-primary), var(--vz-secondary));
}

.api-resizer.dragging::before {
  background: white;
  opacity: 1;
}

/* NEW CSS FOR HORIZONTAL RESIZER */
.api-horizontal-resizer {
  width: 8px;
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
  cursor: col-resize;
  position: relative;
  margin: 0;
  border-left: 1px solid var(--bs-border-color);
  border-right: 1px solid var(--bs-border-color);
  transition: background-color 0.2s ease;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.api-horizontal-resizer:hover {
  background: linear-gradient(45deg, #dee2e6, #ced4da);
}

.api-horizontal-resizer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 40px;
  background: var(--bs-secondary);
  border-radius: 2px;
  opacity: 0.6;
}

.api-horizontal-resizer:hover::before {
  opacity: 1;
  background: var(--bs-primary);
}

.api-horizontal-resizer.dragging {
  background: linear-gradient(135deg, var(--vz-primary), var(--vz-secondary));
}

.api-horizontal-resizer.dragging::before {
  background: white;
  opacity: 1;
}

.api-container-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 100px);
  min-height: 600px;
}

.api-top-section {
  flex: 1 1 60%;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.api-bottom-section {
  flex: 1 1 40%;
  min-height: 200px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* NEW CSS FOR HORIZONTAL LAYOUT */
.api-horizontal-container {
  display: flex;
  flex-direction: row;
  height: 100%;
  min-height: 100%;
}

.api-sidebar-section {
  flex: 0 0 25%;
  min-width: 200px;
  max-width: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.api-main-section {
  flex: 1 1 75%;
  min-width: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.api-response-section {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.api-response-section .tab-content {
  flex: 1;
  overflow: hidden;
}

.api-response-section .api-json-viewer {
  /* max-height: none; */
  height: 100%;
  overflow-y: auto;
}

.api-main-content .p-3 {
  height: 100%;
  overflow-y: auto;
}

.user-select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Enhanced Spotlight Search Modal Styles */
.spotlight-search-modal {
  border: none;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(64, 196, 255, 0.1),
    0 10px 40px -10px rgba(0, 0, 0, 0.15), 0 32px 64px -24px rgba(0, 0, 0, 0.2);
  background: var(--vz-card-bg-custom);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.spotlight-search-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--vz-primary) 20%,
    var(--vz-secondary) 50%,
    var(--vz-success) 80%,
    transparent 100%
  );
  opacity: 0.6;
}

.spotlight-search-container {
  width: 100%;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Enhanced Search Input Wrapper */
.spotlight-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 24px 28px;
  background: var(--vz-card-bg-custom);
  border-bottom: 1px solid var(--vz-border-color);
  transition: all 0.3s ease;
}

.spotlight-search-input-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vz-primary), var(--vz-secondary));
  transition: width 0.3s ease;
}

.spotlight-search-input-wrapper:focus-within::after {
  width: 100%;
}

.spotlight-search-icon {
  font-size: 22px;
  color: var(--vz-primary);
  margin-right: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.spotlight-search-input-wrapper:focus-within .spotlight-search-icon {
  opacity: 1;
  transform: scale(1.1);
}

.spotlight-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  color: var(--vz-body-color);
  font-family: "hkgrotesk", sans-serif;
  font-weight: 400;
  padding: 0;
  line-height: 1.5;
}

.spotlight-search-input::placeholder {
  color: var(--vz-gray-500);
  font-weight: 300;
  opacity: 0.8;
}

.spotlight-keyboard-hint {
  display: flex;
  align-items: center;
  margin-left: 16px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.spotlight-search-input-wrapper:focus-within .spotlight-keyboard-hint {
  opacity: 1;
}

/* Enhanced Search Results */
.spotlight-search-results {
  flex: 1;
  overflow-y: auto;
  max-height: 450px;
  padding: 8px 0;
  position: relative;
}

.spotlight-search-results::-webkit-scrollbar {
  width: 8px;
}

.spotlight-search-results::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

.spotlight-search-results::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--vz-primary), var(--vz-secondary));
  border-radius: 4px;
  border: 2px solid var(--vz-card-bg-custom);
}

.spotlight-search-results::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--vz-secondary), var(--vz-primary));
}

/* Enhanced Search Result Items */
.spotlight-result-item {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  margin: 4px 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background: transparent;
  text-decoration: none;
  color: var(--vz-body-color);
  width: calc(100% - 32px);
  text-align: left;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.spotlight-result-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(64, 196, 255, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.spotlight-result-item:hover::before {
  left: 100%;
}

.spotlight-result-item:hover,
.spotlight-result-item.active {
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.08) 0%,
    rgba(41, 182, 246, 0.04) 100%
  );
  color: var(--vz-primary);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(64, 196, 255, 0.15), 0 1px 4px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--vz-primary);
  padding-left: 21px;
}

.spotlight-result-item.active {
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.12) 0%,
    rgba(41, 182, 246, 0.06) 100%
  );
  border-left: 4px solid var(--vz-primary);
  padding-left: 20px;
}

.spotlight-result-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--vz-primary), var(--vz-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(64, 196, 255, 0.3);
}

.spotlight-result-item:hover .spotlight-result-icon,
.spotlight-result-item.active .spotlight-result-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(64, 196, 255, 0.4);
}

.spotlight-result-content {
  flex: 1;
  min-width: 0;
}

.spotlight-result-title {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 4px 0;
  color: inherit;
  font-family: "hkgrotesk", sans-serif;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.spotlight-result-description {
  font-size: 13px;
  color: var(--vz-gray-500);
  margin: 0;
  font-family: "hkgrotesk", sans-serif;
  font-weight: 300;
  line-height: 1.3;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.spotlight-result-item:hover .spotlight-result-description,
.spotlight-result-item.active .spotlight-result-description {
  opacity: 1;
  color: var(--vz-gray-600);
}

.spotlight-result-shortcut {
  margin-left: 16px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
  transform: translateX(-4px);
}

.spotlight-result-item:hover .spotlight-result-shortcut,
.spotlight-result-item.active .spotlight-result-shortcut {
  opacity: 1;
  transform: translateX(0);
  color: var(--vz-primary);
}

/* Enhanced Empty State */
.spotlight-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--vz-gray-500);
}

.spotlight-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
  color: var(--vz-primary);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.spotlight-empty-text {
  margin: 0;
  font-family: "hkgrotesk", sans-serif;
  font-weight: 300;
  font-size: 16px;
  opacity: 0.8;
}

.spotlight-no-results {
  text-align: center;
  padding: 50px 20px;
  color: var(--vz-gray-500);
}

.spotlight-no-results .spotlight-empty-icon {
  font-size: 56px;
  color: var(--vz-warning);
}

.spotlight-no-results-text {
  margin: 0;
  font-family: "hkgrotesk", sans-serif;
  font-weight: 400;
  font-size: 15px;
}

/* Enhanced Footer */
.spotlight-search-footer {
  border-top: 1px solid var(--vz-border-color);
  padding: 20px 28px;
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.02) 0%,
    rgba(41, 182, 246, 0.01) 100%
  );
  backdrop-filter: blur(10px);
}

.spotlight-navigation-hints {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.spotlight-hint {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--vz-gray-500);
  font-family: "hkgrotesk", sans-serif;
  font-weight: 400;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.spotlight-hint:hover {
  opacity: 1;
  color: var(--vz-primary);
}

.spotlight-hint span {
  margin-left: 8px;
}

/* Enhanced Keyboard shortcuts */
kbd {
  background: linear-gradient(135deg, var(--vz-gray-200), var(--vz-gray-100));
  border: 1px solid var(--vz-border-color);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-family: "hkgrotesk", sans-serif;
  font-weight: 600;
  color: var(--vz-gray-700);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  min-width: 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.spotlight-hint:hover kbd {
  background: linear-gradient(135deg, var(--vz-primary), var(--vz-secondary));
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(64, 196, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced Modal Animation */
.modal.fade .modal-dialog {
  transform: scale(0.9) translateY(-30px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Enhanced Category Sections */
.spotlight-category {
  padding: 8px 0;
}

.spotlight-category-header {
  padding: 12px 24px 8px 24px;
  font-size: 11px;
  font-weight: 700;
  color: var(--vz-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "hkgrotesk", sans-serif;
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.05) 0%,
    rgba(41, 182, 246, 0.02) 100%
  );
  margin: 0;
  position: relative;
  border-left: 3px solid var(--vz-primary);
}

/* Enhanced highlight for search matches */
mark {
  background: linear-gradient(
    135deg,
    var(--vz-primary),
    var(--vz-secondary)
  ) !important;
  color: white !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 4px rgba(64, 196, 255, 0.3) !important;
}

/* Enhanced dark mode */
[data-layout-mode="dark"] .spotlight-search-modal {
  background: var(--vz-card-bg-custom);
  box-shadow: 0 0 0 1px rgba(64, 196, 255, 0.2),
    0 10px 40px -10px rgba(0, 0, 0, 0.6), 0 32px 64px -24px rgba(0, 0, 0, 0.4);
}

[data-layout-mode="dark"] .spotlight-result-item:hover,
[data-layout-mode="dark"] .spotlight-result-item.active {
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.15) 0%,
    rgba(41, 182, 246, 0.08) 100%
  );
  box-shadow: 0 4px 20px rgba(64, 196, 255, 0.25), 0 1px 4px rgba(0, 0, 0, 0.3);
}

[data-layout-mode="dark"] kbd {
  background: linear-gradient(135deg, var(--vz-gray-700), var(--vz-gray-600));
  border-color: var(--vz-gray-500);
  color: var(--vz-gray-200);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-layout-mode="dark"] .spotlight-hint:hover kbd {
  background: linear-gradient(135deg, var(--vz-primary), var(--vz-secondary));
  color: white;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .spotlight-search-modal .modal-dialog {
    margin: 16px;
  }

  .spotlight-search-input-wrapper {
    padding: 20px 20px;
  }

  .spotlight-result-item {
    margin: 3px 12px;
    padding: 14px 16px;
    width: calc(100% - 24px);
  }

  .spotlight-navigation-hints {
    justify-content: center;
    gap: 16px;
  }

  .spotlight-hint {
    font-size: 12px;
  }

  .spotlight-search-footer {
    padding: 16px 20px;
  }
}

/* Additional Polish */
.spotlight-result-item:focus {
  outline: 2px solid var(--vz-primary);
  outline-offset: 2px;
}

.spotlight-search-input:focus {
  outline: none;
}

/* Subtle pulse animation for active states */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.spotlight-result-item.active .spotlight-result-icon {
  animation: pulse 2s infinite;
}

/* Modern Modal Enhancements */
.modal-fullscreen .modal-content {
  background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
  backdrop-filter: blur(10px);
  border: none;
  box-shadow: 0 25px 50px rgba(64, 196, 255, 0.1);
}

[data-layout-mode="dark"] .modal-fullscreen .modal-content {
  background: linear-gradient(135deg, #263238 0%, #37474f 100%);
}

/* Modern Header with Gradient */
.modal-header.gradient-header {
  background: linear-gradient(
    135deg,
    var(--vz-primary) 0%,
    var(--vz-secondary) 50%,
    var(--vz-success) 100%
  );
  border: none;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.modal-header.gradient-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(200%);
  }
}

/* Modern Toggle Buttons */
.modern-toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.modern-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modern-toggle-btn.active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--vz-primary);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Modern Panel Styling */
.modern-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(64, 196, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(64, 196, 255, 0.08);
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .modern-panel {
  background: rgba(38, 50, 56, 0.95);
  border-color: rgba(64, 196, 255, 0.2);
}

.modern-panel:hover {
  box-shadow: 0 12px 40px rgba(64, 196, 255, 0.12);
  border-color: rgba(64, 196, 255, 0.2);
}

/* Enhanced Table List */
.modal-fullscreen .table-search-container {
  position: relative;
  margin-bottom: 1rem;
}

.modal-fullscreen .table-search-input {
  /* background: rgba(255, 255, 255, 0.9); */
  border: 2px solid rgba(64, 196, 255, 0.1);
  border-radius: 50px;
  padding: 0.75rem 1rem 0.75rem 3rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.modal-fullscreen .table-search-input:focus {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 0.2rem rgba(64, 196, 255, 0.25);
  outline: none;
}

.modal-fullscreen .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vz-primary);
  z-index: 2;
}

/* Modern Table Items */
.table-item {
  /* background: rgba(255, 255, 255, 0.8); */
  border: 1px solid rgba(64, 196, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.table-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--vz-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.table-item:hover {
  background: rgba(64, 196, 255, 0.05);
  border-color: rgba(64, 196, 255, 0.3);
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(64, 196, 255, 0.1);
}

.table-item:hover::before {
  transform: scaleY(1);
}

.table-item.active {
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.1) 0%,
    rgba(3, 218, 198, 0.1) 100%
  );
  border-color: var(--vz-primary);
  color: var(--vz-primary);
  font-weight: 600;
}

.table-item.active::before {
  transform: scaleY(1);
}

/* Modern SQL Editor Container */
.sql-editor-container {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(64, 196, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.sql-editor-container:focus-within {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 0.2rem rgba(64, 196, 255, 0.25);
}

/* Modern Output Panel */
.output-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 251, 255, 0.95) 100%
  );
  border: 2px solid rgba(64, 196, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

[data-layout-mode="dark"] .output-panel {
  background: linear-gradient(
    135deg,
    rgba(38, 50, 56, 0.95) 0%,
    rgba(55, 71, 79, 0.95) 100%
  );
}

/* Modern Logs Panel */
.logs-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(64, 196, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
}

.log-item {
  /* background: rgba(248, 251, 255, 0.8); */
  border: 1px solid rgba(64, 196, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  padding: 1rem;
  transition: all 0.3s ease;
}

.log-item:hover {
  background: rgba(64, 196, 255, 0.05);
  border-color: rgba(64, 196, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(64, 196, 255, 0.1);
}

/* Modern Action Buttons */
.modern-action-btn {
  background: linear-gradient(
    135deg,
    var(--vz-primary) 0%,
    var(--vz-secondary) 100%
  );
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  color: white;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.modern-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(64, 196, 255, 0.3);
}

.modern-action-btn:hover::before {
  left: 100%;
}

.modern-action-btn:active {
  transform: translateY(0);
}

/* Resize Handles */
.resize-handle {
  position: absolute;
  background: rgba(64, 196, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.resize-handle-vertical {
  right: -2px;
  top: 0;
  width: 4px;
  height: 100%;
  cursor: ew-resize;
}

.resize-handle-horizontal {
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  cursor: ns-resize;
}

.resize-handle:hover {
  background: var(--vz-primary);
}

/* Loading Animation */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  backdrop-filter: blur(5px);
  z-index: 1000;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(64, 196, 255, 0.2);
  border-left: 4px solid var(--vz-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced Table Styling */
#execution_output table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: none;
}

#execution_output table th {
  background: linear-gradient(
    135deg,
    var(--vz-primary) 0%,
    var(--vz-secondary) 100%
  );
  color: white;
  font-weight: 600;
  border: none;
  padding: 1rem 0.75rem;
  font-size: 0.9rem;
}

#execution_output table td {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.85rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(64, 196, 255, 0.1);
  transition: background-color 0.3s ease;
}

#execution_output table tr:hover td {
  background-color: rgba(64, 196, 255, 0.05);
}

#execution_output pre {
  background: linear-gradient(135deg, #fee 0%, #fdd 100%);
  border: 1px solid rgba(240, 98, 146, 0.2);
  border-radius: 12px;
  padding: 1rem;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  white-space: pre-wrap;
  box-shadow: 0 4px 15px rgba(240, 98, 146, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modern-panel {
    border-radius: 12px;
  }

  .table-item {
    border-radius: 8px;
  }

  .modern-toggle-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* Custom scrollbars */
.modern-panel::-webkit-scrollbar,
.logs-panel::-webkit-scrollbar,
#execution_output::-webkit-scrollbar {
  width: 6px;
}

.modern-panel::-webkit-scrollbar-track,
.logs-panel::-webkit-scrollbar-track,
#execution_output::-webkit-scrollbar-track {
  background: rgba(64, 196, 255, 0.05);
  border-radius: 3px;
}

.modern-panel::-webkit-scrollbar-thumb,
.logs-panel::-webkit-scrollbar-thumb,
#execution_output::-webkit-scrollbar-thumb {
  background: rgba(64, 196, 255, 0.3);
  border-radius: 3px;
}

.modern-panel::-webkit-scrollbar-thumb:hover,
.logs-panel::-webkit-scrollbar-thumb:hover,
#execution_output::-webkit-scrollbar-thumb:hover {
  background: var(--vz-primary);
}

/* Modern Result Container Styles */
.modern-result-container {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(64, 196, 255, 0.08);
  border: 1px solid rgba(64, 196, 255, 0.1);
}

[data-layout-mode="dark"] .modern-result-container {
  background: rgba(38, 50, 56, 0.98);
  border-color: rgba(64, 196, 255, 0.2);
}

/* Result Header Styles */
.result-header {
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.1) 0%,
    rgba(3, 218, 198, 0.1) 100%
  );
  border-bottom: 2px solid rgba(64, 196, 255, 0.1);
  padding: 1rem 1.5rem;
}

.success-header {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1) 0%,
    rgba(32, 201, 151, 0.1) 100%
  );
  border-bottom-color: rgba(40, 167, 69, 0.2);
}

.info-header {
  background: linear-gradient(
    135deg,
    rgba(13, 202, 240, 0.1) 0%,
    rgba(111, 66, 193, 0.1) 100%
  );
  border-bottom-color: rgba(13, 202, 240, 0.2);
}

.error-header {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1) 0%,
    rgba(253, 126, 20, 0.1) 100%
  );
  border-bottom-color: rgba(220, 53, 69, 0.2);
}

.default-header {
  background: linear-gradient(
    135deg,
    rgba(108, 117, 125, 0.1) 0%,
    rgba(73, 80, 87, 0.1) 100%
  );
  border-bottom-color: rgba(108, 117, 125, 0.2);
}

/* Table Info Bar */
.table-info-bar {
  background: rgba(248, 251, 255, 0.8);
  border-bottom: 1px solid rgba(64, 196, 255, 0.1);
  padding: 0.75rem 1.5rem;
}

[data-layout-mode="dark"] .table-info-bar {
  background: rgba(55, 71, 79, 0.5);
}

/* Modern Table Container */
.modern-table-container {
  overflow-x: auto;
  max-height: 600px;
  position: relative;
}

.modern-result-table {
  margin-bottom: 0;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.85rem;
}

.modern-table-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(
    135deg,
    var(--vz-primary) 0%,
    var(--vz-secondary) 100%
  );
}

.modern-table-header th {
  border: none;
  color: white;
  font-weight: 600;
  padding: 1rem 0.75rem;
  white-space: nowrap;
  user-select: none;
}

.sortable-header {
  cursor: pointer;
  transition: all 0.3s ease;
}

.sortable-header:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.sort-icon {
  font-size: 0.8rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.sortable-header:hover .sort-icon {
  opacity: 1;
}

.modern-table-body td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(64, 196, 255, 0.1);
  vertical-align: middle;
  transition: background-color 0.3s ease;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-row:hover td {
  background-color: rgba(64, 196, 255, 0.05);
}

.table-cell {
  position: relative;
}

/* Result Content Styles */
.result-content {
  padding: 1.5rem;
}

.result-message {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.8);
  border-left: 4px solid var(--vz-primary);
}

.success-message-container .result-message {
  background: rgba(212, 237, 218, 0.8);
  border-left-color: var(--vz-success);
  color: var(--vz-success);
}

.ddl-message-container .result-message {
  background: rgba(209, 236, 241, 0.8);
  border-left-color: var(--vz-info);
  color: var(--vz-info);
}

.default-message-container .result-message {
  background: rgba(233, 236, 239, 0.8);
  border-left-color: var(--vz-secondary);
}

.execution-stats {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Error Container */
.error-container {
  border: 2px solid rgba(220, 53, 69, 0.2);
}

.modern-error-alert {
  background: linear-gradient(
    135deg,
    rgba(248, 215, 218, 0.8) 0%,
    rgba(252, 226, 226, 0.8) 100%
  );
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.1);
}

/* No Results Container */
.no-results-container {
  padding: 2rem;
  text-align: center;
  background: rgba(248, 251, 255, 0.5);
}

/* Modern Loading Styles */
.modern-loading-container {
  position: relative;
  padding: 3rem 2rem;
  text-align: center;
}

.modern-loading-spinner {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.spinner-ring {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 48px;
  height: 48px;
  margin: 6px;
  border: 6px solid var(--vz-primary);
  border-radius: 50%;
  animation: spinner-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--vz-primary) transparent transparent transparent;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes spinner-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Table Pagination */
.table-pagination {
  background: rgba(248, 251, 255, 0.8);
  border-top: 1px solid rgba(64, 196, 255, 0.1);
  padding: 1rem 1.5rem;
}

[data-layout-mode="dark"] .table-pagination {
  background: rgba(55, 71, 79, 0.5);
}

.pagination-sm .page-link {
  border-radius: 50px;
  margin: 0 2px;
  border: 1px solid rgba(64, 196, 255, 0.2);
  color: var(--vz-primary);
}

.pagination-sm .page-item.active .page-link {
  background: var(--vz-primary);
  border-color: var(--vz-primary);
}

/* Export and Copy Buttons */
.export-csv-btn,
.copy-table-btn {
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.export-csv-btn:hover,
.copy-table-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(64, 196, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .result-header .d-flex {
    flex-direction: column;
    gap: 1rem;
  }

  .table-info-bar .d-flex {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .modern-table-container {
    font-size: 0.8rem;
  }

  .modern-table-body td {
    padding: 0.5rem;
    max-width: 150px;
  }
}

/* Custom scrollbar for table */
.modern-table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.modern-table-container::-webkit-scrollbar-track {
  background: rgba(64, 196, 255, 0.05);
  border-radius: 4px;
}

.modern-table-container::-webkit-scrollbar-thumb {
  background: rgba(64, 196, 255, 0.3);
  border-radius: 4px;
}

.modern-table-container::-webkit-scrollbar-thumb:hover {
  background: var(--vz-primary);
}

/* Enhanced Output Panel Redesign */
.enhanced-output-panel {
  background: #ffffff;
  border: 1px solid #e3f2fd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(64, 196, 255, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

[data-layout-mode="dark"] .enhanced-output-panel {
  background: #263238;
  border-color: #455a64;
}

/* Header Section */
.output-header-section {
  background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
  border-bottom: 1px solid #e3f2fd;
  padding: 1rem 1.5rem;
  flex-shrink: 0;
}

[data-layout-mode="dark"] .output-header-section {
  background: linear-gradient(135deg, #37474f 0%, #455a64 100%);
  border-bottom-color: #546e7a;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #28a745;
  position: relative;
  animation: pulse-dot 2s infinite;
}

.status-dot.executing {
  background: #ffc107;
  animation: pulse-dot 0.8s infinite;
}

.status-dot.error {
  background: #dc3545;
  animation: none;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.status-info h6 {
  color: #263238;
  font-size: 1rem;
}

[data-layout-mode="dark"] .status-info h6 {
  color: #cfd8dc;
}

.result-stats {
  display: flex;
  gap: 1rem;
  margin-right: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(64, 196, 255, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #40c4ff;
  font-weight: 500;
}

.action-buttons {
  display: flex;
  gap: 4px;
}

.action-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(64, 196, 255, 0.1);
  color: #40c4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: #40c4ff;
  color: white;
  transform: translateY(-1px);
}

/* Content Section */
.output-content-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.result-display-area {
  flex: 1;
  overflow: auto;
  position: relative;
}

/* Empty State */
.empty-state {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.empty-state-content {
  text-align: center;
  max-width: 300px;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.1),
    rgba(3, 218, 198, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon i {
  font-size: 2rem;
  color: #40c4ff;
}

.empty-state h5 {
  color: #263238;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

[data-layout-mode="dark"] .empty-state h5 {
  color: #cfd8dc;
}

.empty-state p {
  color: #78909c;
  margin-bottom: 1.5rem;
}

.quick-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shortcut {
  font-size: 0.85rem;
  color: #546e7a;
}

.shortcut kbd {
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.8rem;
  color: #40c4ff;
  margin: 0 2px;
}

[data-layout-mode="dark"] .shortcut kbd {
  background: #455a64;
  border-color: #546e7a;
  color: #81c784;
}

/* Result Table Styles */
.result-table-container {
  padding: 1rem;
}

.modern-result-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-layout-mode="dark"] .modern-result-table {
  background: #37474f;
}

.modern-result-table th {
  background: linear-gradient(135deg, #40c4ff, #29b6f6);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.modern-result-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e3f2fd;
  font-family: "Monaco", "Consolas", monospace;
  font-size: 0.85rem;
}

[data-layout-mode="dark"] .modern-result-table td {
  border-bottom-color: #455a64;
  color: #cfd8dc;
}

.modern-result-table tbody tr:hover {
  background: rgba(64, 196, 255, 0.05);
}

/* Success/Error Message Styles */
.result-message {
  padding: 1rem 1.5rem;
  margin: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-message.success {
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.1),
    rgba(25, 135, 84, 0.1)
  );
  border: 1px solid rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.result-message.error {
  background: linear-gradient(
    135deg,
    rgba(220, 53, 69, 0.1),
    rgba(183, 28, 28, 0.1)
  );
  border: 1px solid rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.result-message.info {
  background: linear-gradient(
    135deg,
    rgba(13, 202, 240, 0.1),
    rgba(2, 136, 209, 0.1)
  );
  border: 1px solid rgba(13, 202, 240, 0.2);
  color: #0dcaf0;
}

.result-message i {
  font-size: 1.2rem;
}

/* Loading State */
.loading-state {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e3f2fd;
  border-top: 3px solid #40c4ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Fullscreen Mode */
.enhanced-output-panel.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  height: 100vh !important;
  border-radius: 0;
  margin: 0;
}

/* Custom Scrollbar */
.result-display-area::-webkit-scrollbar {
  width: 6px;
}

.result-display-area::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.result-display-area::-webkit-scrollbar-thumb {
  background: #40c4ff;
  border-radius: 3px;
}

.result-display-area::-webkit-scrollbar-thumb:hover {
  background: #29b6f6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .result-stats {
    justify-content: center;
    margin-right: 0;
  }

  .action-buttons {
    justify-content: center;
  }

  .quick-shortcuts {
    align-items: center;
  }

  .modern-result-table {
    font-size: 0.8rem;
  }

  .modern-result-table th,
  .modern-result-table td {
    padding: 8px;
  }
}

/* Enhanced Logs Panel Design */
.enhanced-logs-panel {
  background: #ffffff;
  border: 1px solid #e3f2fd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(64, 196, 255, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

[data-layout-mode="dark"] .enhanced-logs-panel {
  background: #263238;
  border-color: #455a64;
}

.enhanced-logs-panel:hover {
  box-shadow: 0 6px 25px rgba(64, 196, 255, 0.12);
  border-color: rgba(64, 196, 255, 0.2);
}

/* Header Section */
.logs-header-section {
  background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
  border-bottom: 1px solid #e3f2fd;
  padding: 1rem;
  flex-shrink: 0;
}

[data-layout-mode="dark"] .logs-header-section {
  background: linear-gradient(135deg, #37474f 0%, #455a64 100%);
  border-bottom-color: #546e7a;
}

.logs-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logs-title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logs-icon-container {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.1),
    rgba(3, 218, 198, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #40c4ff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.logs-icon-container:hover {
  transform: scale(1.05);
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.2),
    rgba(3, 218, 198, 0.2)
  );
}

.logs-title-info h6 {
  color: #263238;
  font-size: 0.95rem;
}

[data-layout-mode="dark"] .logs-title-info h6 {
  color: #cfd8dc;
}

.logs-title-info small {
  font-size: 0.8rem;
  color: #78909c;
}

.logs-actions {
  display: flex;
  gap: 4px;
}

.logs-action-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(64, 196, 255, 0.1);
  color: #40c4ff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.logs-action-btn:hover {
  background: #40c4ff;
  color: white;
  transform: translateY(-1px);
}

/* Content Section */
.logs-content-section {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.logs-list-container {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

/* Empty State */
.logs-empty-state {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.empty-state-content {
  text-align: center;
}

.empty-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(
    135deg,
    rgba(64, 196, 255, 0.1),
    rgba(3, 218, 198, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #40c4ff;
  font-size: 1.5rem;
}

.empty-state-content h6 {
  color: #263238;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

[data-layout-mode="dark"] .empty-state-content h6 {
  color: #cfd8dc;
}

.empty-state-content p {
  color: #78909c;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Log Item Styles */
.log-entry {
  background: #ffffff;
  border: 1px solid #e3f2fd;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

[data-layout-mode="dark"] .log-entry {
  background: #37474f;
  border-color: #455a64;
}

.log-entry:hover {
  background: rgba(64, 196, 255, 0.02);
  border-color: rgba(64, 196, 255, 0.2);
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(64, 196, 255, 0.1);
}

.log-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #28a745;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.log-entry.success::before {
  background: #28a745;
}

.log-entry.error::before {
  background: #dc3545;
}

.log-entry:hover::before {
  transform: scaleY(1);
}

.log-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.log-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.log-number {
  background: #40c4ff;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.log-timestamp {
  font-size: 0.75rem;
  color: #78909c;
}

.log-actions {
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.log-entry:hover .log-actions {
  opacity: 1;
}

.log-action-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(64, 196, 255, 0.1);
  color: #40c4ff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.log-action-btn:hover {
  background: #40c4ff;
  color: white;
}

.log-query {
  background: #f8fbff;
  border: 1px solid #e3f2fd;
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: "Monaco", "Consolas", monospace;
  font-size: 0.8rem;
}

[data-layout-mode="dark"] .log-query {
  background: #455a64;
  border-color: #546e7a;
  color: #cfd8dc;
}

.log-query-text {
  color: #263238;
  line-height: 1.3;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-layout-mode="dark"] .log-query-text {
  color: #cfd8dc;
}

.log-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.status-icon {
  font-size: 0.9rem;
}

.status-icon.success {
  color: #28a745;
}

.status-icon.error {
  color: #dc3545;
}

.log-output {
  background: #f8f9fa;
  border-radius: 4px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #546e7a;
  max-height: 60px;
  overflow-y: auto;
  font-family: "Monaco", "Consolas", monospace;
}

[data-layout-mode="dark"] .log-output {
  background: #263238;
  color: #90a4ae;
}

/* Custom Scrollbar for Logs */
.logs-list-container::-webkit-scrollbar {
  width: 4px;
}

.logs-list-container::-webkit-scrollbar-track {
  background: transparent;
}

.logs-list-container::-webkit-scrollbar-thumb {
  background: rgba(64, 196, 255, 0.3);
  border-radius: 2px;
}

.logs-list-container::-webkit-scrollbar-thumb:hover {
  background: #40c4ff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .enhanced-logs-panel {
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
  }

  .logs-header-content {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .logs-actions {
    justify-content: center;
  }

  .log-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .log-actions {
    opacity: 1;
    justify-content: center;
  }
}

/* Animation for new log entries */
.log-entry.new-entry {
  animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}
