.watchmen-toast {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgb(78, 78, 78);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.watchmen-toast.success {
  background: rgba(25, 135, 84, 0.95);
}

.watchmen-toast.warning {
  background: rgba(209, 151, 17, 0.95);
}

.watchmen-toast.error {
  background: rgba(139, 21, 13, 0.95);
}

.watchmen-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

#watchmen-bug-form {
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.watchmen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.watchmen-modal {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 700px;
  margin: 8% auto;
  padding: 28px;
  border-radius: 16px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

.watchmen-modal textarea {
  width: 95%;
  min-height: 120px;
  max-height: 200px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  resize: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 1rem;
}

.watchmen-modal textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.watchmen-modal .actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.watchmen-modal button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.watchmen-modal .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  color: white;
}

.watchmen-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.watchmen-modal .btn-secondary {
  background: #e2e8f0;
  color: #1e293b;
}

.watchmen-modal .btn-secondary:hover {
  background: #cbd5e1;
}

@keyframes watchmen-pulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

#watchmen-report-bug.pulse {
  animation: watchmen-pulse 2.5s infinite;
}

.watchmen-modal select,
.watchmen-modal input[type="text"],
.watchmen-modal input[type="email"],
.watchmen-modal input[type="url"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.25s ease;
}

.watchmen-modal select:focus,
.watchmen-modal input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.2),
    0 8px 20px rgba(59, 130, 246, 0.15);
}

.watchmen-modal select {
  background-image: url("data:image/svg+xml,%3Csvg fill='%233b82f6' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.watchmen-modal select:hover,
.watchmen-modal input:hover {
  border-color: #cbd5e1;
}

.watchmen-modal textarea::placeholder,
.watchmen-modal input::placeholder {
  color: #94a3b8;
}
