.issue-picker-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a1a2e;
  border: 2px solid #444;
  color: #e0e0e0;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: all 0.2s;
  user-select: none;
}

.issue-picker-fab:hover {
  background: #2a2a3e;
  border-color: #666;
  transform: scale(1.08);
}

.issue-picker-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #1a1a2e;
}

.issue-picker-fab-badge.hidden {
  display: none;
}

body.issue-picker-active {
  cursor: crosshair !important;
}

body.issue-picker-active * {
  cursor: crosshair !important;
}

body.issue-picker-active .issue-picker-fab {
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
  animation: picker-pulse 1.5s ease-in-out infinite;
}

@keyframes picker-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

.issue-picker-highlight {
  outline: 3px solid #3b82f6 !important;
  outline-offset: 2px !important;
  background-color: rgba(59,130,246,0.08) !important;
}

.issue-highlight-flash {
  animation: issue-flash 2.5s ease-out forwards;
}

@keyframes issue-flash {
  0%   { outline: 4px solid #f59e0b; outline-offset: 3px; background-color: rgba(245,158,11,0.15); }
  30%  { outline: 4px solid #f59e0b; outline-offset: 3px; background-color: rgba(245,158,11,0.15); }
  100% { outline: none; background-color: transparent; }
}

.issue-picker-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99991;
  background: #1d4ed8;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.issue-picker-banner-cancel {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}

.issue-picker-banner-cancel:hover {
  background: rgba(255,255,255,0.3);
}

.issue-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: picker-overlay-in 0.15s ease;
}

@keyframes picker-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.issue-picker-modal {
  background: #1a1a2e;
  border: 1px solid #333;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}

.issue-picker-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #2a2a3e;
}

.issue-picker-modal-header h3 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.issue-picker-modal-close {
  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.15s;
}

.issue-picker-modal-close:hover {
  color: #fff;
}

.issue-picker-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.issue-picker-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.issue-picker-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.issue-picker-field textarea,
.issue-picker-field select {
  background: #0f0f1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #e0e0e0;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.15s;
  resize: vertical;
}

.issue-picker-field textarea:focus,
.issue-picker-field select:focus {
  outline: none;
  border-color: #3b82f6;
}

.issue-picker-field textarea {
  min-height: 80px;
}

.issue-picker-captured {
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: #93c5fd;
  line-height: 1.5;
}

.issue-picker-captured strong {
  color: #bfdbfe;
  display: block;
  margin-bottom: 2px;
}

.issue-picker-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #2a2a3e;
}

.issue-picker-btn {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.issue-picker-btn-cancel {
  background: transparent;
  border: 1px solid #444;
  color: #aaa;
}

.issue-picker-btn-cancel:hover {
  background: #2a2a3e;
  color: #fff;
}

.issue-picker-btn-submit {
  background: #2563eb;
  color: #fff;
}

.issue-picker-btn-submit:hover {
  background: #1d4ed8;
}

.issue-picker-btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
