.toast {
  min-width: 260px;
  max-width: 380px;
  padding: 14px 18px;
  font-size: 13px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 3px solid var(--border);
  backdrop-filter: blur(4px);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast--success {
  background: rgba(10, 10, 10, 0.95);
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
  color: var(--text);
}

.toast--success .icon {
  color: var(--neon);
  font-size: 16px;
}

.toast--error {
  border-color: #ff3333;
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.15);
  color: #ffbaba;
}

.toast--error .icon {
  color: #ff3333;
  font-size: 16px;
}

.toast .x {
  opacity: 0.5;
  cursor: pointer;
  margin-left: auto;
  font-size: 16px;
  transition: opacity 0.2s;
}

.toast .x:hover {
  opacity: 1;
  color: #fff;
}

.terminal-modal {
  width: 90%;
  max-width: 400px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.2s ease-out;
}

.t-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.t-path {
  font-size: 11px;
}

.t-path span:first-child {
  color: var(--text-dim);
}

.t-path span:last-child {
  color: var(--neon);
  margin-left: 8px;
}

.t-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
}

.t-close:hover {
  color: var(--neon);
}

.t-body {
  padding: 14px;
  font-size: 11px;
}

.t-item {
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: default;
}

.t-item:hover,
.t-item.active {
  border-color: var(--neon);
  background: rgba(0, 255, 136, 0.05);
}

.t-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.t-label {
  color: var(--neon);
}

.t-value {
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
}

.t-bar-bg {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.t-bar-fill {
  width: 100%;
  height: 100%;
  background: var(--neon);
  transition: width 1s linear;
}

.t-input {
  width: 100%;
  background: #000;
  border: 1px solid var(--border);
  color: var(--neon);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 12px;
  outline: none;
  margin-top: 10px;
}

.t-input:focus {
  border-color: var(--neon);
}

.t-btn {
  padding: 10px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--neon);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  margin-top: 14px;
  width: 100%;
  gap: 8px;
}

.t-btn:hover {
  background: rgba(0, 255, 136, 0.15);
}

.t-btn span {
  color: var(--text);
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes qr-scan {
  0%,
  100% {
    top: 4px;
  }

  50% {
    top: calc(100% - 8px);
  }
}

.driver-popover {
  background: rgba(10, 10, 10, 0.98) !important;
  border: 1px solid var(--neon) !important;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.2) !important;
  color: var(--text) !important;
}

.driver-popover-title {
  color: var(--neon) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.driver-popover-description {
  color: var(--text) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 12px !important;
}

.driver-popover-progress-text {
  color: var(--text-dim) !important;
}

.driver-popover-navigation-btns button {
  background: rgba(0, 255, 136, 0.1) !important;
  border: 1px solid var(--neon) !important;
  color: var(--neon) !important;
  font-family: 'JetBrains Mono', monospace !important;
  padding: 6px 12px !important;
}

.driver-popover-navigation-btns button:hover {
  background: var(--neon) !important;
  color: #000 !important;
}

.driver-popover-close-btn {
  color: var(--text-dim) !important;
}

.driver-popover-close-btn:hover {
  color: var(--neon) !important;
}

.driver-popover-arrow-side-top {
  border-bottom-color: var(--neon) !important;
}

.driver-popover-arrow-side-bottom {
  border-top-color: var(--neon) !important;
}

.driver-popover-arrow-side-left {
  border-right-color: var(--neon) !important;
}

.driver-popover-arrow-side-right {
  border-left-color: var(--neon) !important;
}
