.btn.info {
  border-color: rgba(0,188,212,0.35);
  color: #00bcd4;
  background: rgba(0,188,212,0.07);
}
.btn.info:hover {
  border-color: #00bcd4;
  box-shadow: 0 0 0 3px rgba(0,188,212,0.2);
}

:root {
  --ui-toast-success: #123c29;
  --ui-toast-warning: #49310d;
  --ui-toast-error: #4a1d24;
  --ui-toast-info: #103a45;
  --ui-toast-text: #f8fafc;
  --ui-toast-shadow: 0 16px 38px rgba(0, 0, 0, 0.48);
  --ui-modal-bg: #1f2227;
  --ui-modal-border: rgba(255, 255, 255, 0.12);
  --ui-modal-text: #f5f5f5;
  --ui-modal-muted: #b6b6b6;
}

.ui-toast-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 18px;
  display: grid;
  gap: 10px;
  z-index: 10000;
  pointer-events: none;
}

.ui-toast {
  min-width: 240px;
  max-width: 360px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: #25282e;
  color: var(--ui-toast-text);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: var(--ui-toast-shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: uiToastIn 0.2s ease-out;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.ui-toast.success {
  background: var(--ui-toast-success);
  border-color: rgba(74, 222, 128, 0.42);
  box-shadow: var(--ui-toast-shadow), 0 0 18px rgba(46, 204, 113, 0.14);
}

.ui-toast.warning {
  background: var(--ui-toast-warning);
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: var(--ui-toast-shadow), 0 0 18px rgba(245, 158, 11, 0.13);
}

.ui-toast.error {
  background: var(--ui-toast-error);
  border-color: rgba(251, 113, 133, 0.46);
  box-shadow: var(--ui-toast-shadow), 0 0 18px rgba(255, 90, 95, 0.14);
}

.ui-toast.info {
  background: var(--ui-toast-info);
  border-color: rgba(34, 211, 238, 0.46);
  box-shadow: var(--ui-toast-shadow), 0 0 20px rgba(0, 188, 212, 0.16);
}

.ui-toast .ui-toast-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f8fafc;
  flex: 0 0 auto;
  box-shadow: 0 0 9px currentColor;
}
.ui-toast.success .ui-toast-dot { color: #4ade80; background: #4ade80; }
.ui-toast.warning .ui-toast-dot { color: #fbbf24; background: #fbbf24; }
.ui-toast.error .ui-toast-dot { color: #fb7185; background: #fb7185; }
.ui-toast.info .ui-toast-dot { color: #22d3ee; background: #22d3ee; }

.ui-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.ui-modal-backdrop.show {
  display: flex;
}

.ui-modal {
  width: min(520px, 90vw);
  background: var(--ui-modal-bg);
  color: var(--ui-modal-text);
  border: 1px solid var(--ui-modal-border);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--ui-toast-shadow);
}

.ui-modal-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.ui-modal-message {
  margin: 0 0 16px;
  color: var(--ui-modal-muted);
  line-height: 1.5;
  white-space: pre-line;
}

.ui-modal-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--ui-modal-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ui-modal-text);
  margin-bottom: 14px;
}

.ui-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ui-modal-actions .ui-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ui-modal-border);
  background: transparent;
  color: var(--ui-modal-text);
  font-weight: 600;
  cursor: pointer;
}

.ui-modal-actions .ui-btn.primary {
  background: #2dbe82;
  border-color: transparent;
  color: #0c120f;
}

@keyframes uiToastIn {
  from { transform: translateY(-6px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
  .ui-toast-wrap {
    left: 10px;
    right: 10px;
    transform: none;
  }
  .ui-toast { max-width: none; width: 100%; }
}
