* {
  box-sizing: border-box;
}

/* Remove all default browser outlines and borders */
*:focus {
  outline: none !important;
  border: none !important;
}

*:focus-visible {
  outline: none !important;
  border: none !important;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
}

/* Top bar with always visible text input */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
}

.text-input {
  padding: 14px 20px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  width: 100%;
  max-width: 600px;
  display: block;
  outline: none;
  transition: all 0.2s ease;
}

.text-input:focus {
  background: white;
}

.text-input::placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-style: normal;
  font-weight: 400;
}

/* Input mode section */
.input-mode-section {
  background: #000;
}

/* Mode selector with radio buttons */
.mode-selector {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.95);
}

.mode-selector input[type="checkbox"] {
  display: none;
}

.mode-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  user-select: none;
  font-weight: 500;
}

.mode-label:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.mode-label span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mode-label svg {
  flex-shrink: 0;
}

/* Selected state */
input[type="checkbox"]:checked + .mode-label {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* Camera container */
.camera-container {
  position: relative;
  flex: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  min-height: 60vh;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

/* Photo options container */
.photo-options {
  padding: 60px 32px;
  background: #000;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#video-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  position: relative;
  /* Ensure video displays on mobile */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Crosshair indicator */
.crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
}

.crosshair::before,
.crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}

.crosshair::before {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
}

.crosshair::after {
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
}

/* Mobile targeting reticle */
.mobile-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 10;
}

.reticle-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.reticle-crosshair-h,
.reticle-crosshair-v {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.reticle-crosshair-h {
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  width: 140px;
  height: 2px;
}

.reticle-crosshair-v {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 140px;
}

/* Instruction text */
.instruction-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  z-index: 10;
  letter-spacing: 0.01em;
  border-radius: 8px;
  text-align: center;
  max-width: 90%;
  line-height: 1.4;
}

.permission-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.95);
  padding: 20px;
  border-radius: 10px;
  max-width: 300px;
  z-index: 1000;
  border: 2px solid #ff4081;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.permission-message[hidden] {
  display: none;
}

/* Static click feedback - no animation */
.feedback-box {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid #00ff88;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1001;
  background: rgba(0, 255, 136, 0.1);
  /* No animation */
}

/* Snapshots below camera */
.snapshots-container {
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  min-height: 120px;
  max-height: 40vh;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Compact snapshots */
.snapshot {
  position: relative;
  width: 200px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.snapshot canvas {
  width: 100%;
  height: auto;
  display: block;
}

.snapshot-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(255, 64, 129, 0.9);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.snapshot-close:hover {
  background: rgba(255, 64, 129, 1);
  transform: scale(1.1);
}

.analysis-container {
  padding: 12px;
  font-size: 11px;
  color: #333;
  line-height: 1.3;
  max-height: 100px;
  overflow-y: auto;
}

.analysis-container strong {
  color: #667eea;
  font-weight: 600;
}

/* Switch camera button below video */
.switch-camera-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: rgba(102, 126, 234, 0.9);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  width: 200px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  white-space: nowrap;
  z-index: 200;
}



.switch-camera-btn:hover {
  background: rgba(118, 75, 162, 0.9);
  transform: translateX(-50%) scale(1.05);
}

/* Text mode results */
.snapshots-container h3 {
  background: none;
  padding: 0;
  margin: 8px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #ffffff;
  word-wrap: break-word;
  width: auto;
}

.snapshots-container h3[style*="color: red"] {
  background: none;
  color: #ff6b6b;
}

/* Loading state styling */
.snapshots-container h3[style*="italic"] {
  font-style: italic;
  opacity: 0.7;
}

/* Instruction text visibility */
.instruction-text {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.camera-container:hover .instruction-text {
  opacity: 0.3;
}

/* Empty state message */
.snapshots-container:empty::before {
  content: "Analysis results will appear here";
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .top-bar {
    padding: 16px;
  }

  .text-input {
    font-size: 16px;
    padding: 16px 20px;
  }

  .mode-selector {
    padding: 12px 16px;
  }

  .mode-label {
    padding: 10px 16px;
  }

  .mode-label span {
    font-size: 14px;
  }

  .camera-container {
    min-height: 50vh;
    margin-bottom: 16px;
  }

  .instruction-text {
    font-size: 14px;
    padding: 12px 20px;
    bottom: 30px;
  }

  .photo-options {
    padding: 40px 20px;
    min-height: 60vh;
  }

  .upload-option {
    max-width: 100%;
  }

  .upload-label {
    padding: 20px;
  }

  .photo-icon {
    width: 32px;
    height: 32px;
  }

  .upload-text {
    width: 100px;
    height: 24px;
  }

  .upload-text text {
    font-size: 12px;
  }

  .url-input-container {
    margin-top: 16px;
  }

  #photo-url {
    font-size: 16px;
    padding: 12px 16px;
  }

  .url-button {
    padding: 12px 16px;
  }

  .url-text {
    width: 60px;
    height: 20px;
  }

  .url-text text {
    font-size: 11px;
  }

  .snapshots-container {
    padding: 16px;
  }

  .snapshots-container h3 {
    font-size: 14px;
    padding: 12px 16px;
  }

  .column-close {
    font-size: 18px;
    min-width: 28px;
    height: 28px;
  }

  .switch-camera-btn {
    font-size: 14px;
    padding: 8px 16px;
    margin: 8px;
  }
  
  /* Improve mobile scrolling */
  #gldiv {
    padding: 16px;
    gap: 16px;
  }
  
  .object-column {
    min-width: 320px;
  }
  
  .mol-viewer-container {
    width: 320px;
    height: 240px;
  }
}

/* ==================== SPINNER ANIMATION ==================== */
.spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #667eea;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

.loading-state {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

@keyframes reticlePulse {
  0% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
  100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}


/* ==================== RESULT CARDS ==================== */
/* Removed all card styling - keeping UI simple */

/* ==================== 3DMOL LINEAR VIEWER STYLES ==================== */
#gldiv {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  background: #000000;
  border-radius: 0;
  margin: 0;
  min-height: 100px;
  width: 100%;
  max-width: none;
  clear: both;
  z-index: 1;
  outline: none;
  border: none;
  overflow-x: auto;
  overflow-y: hidden;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Object column container */
.object-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 400px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

/* Object title */
.object-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  padding: 8px 12px;
  background: none;
  word-wrap: break-word;
  margin-bottom: 8px;
  max-height: 60px;
  overflow-y: auto;
  line-height: 1.3;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.object-title:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.object-title:focus-visible {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.object-title span {
  flex: 1;
  text-align: center;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.column-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Molecule container with name and viewer */
.molecule-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
}

/* Chemical summary section */
.chemical-summary {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  padding: 6px 8px;
  background: none;
  margin-bottom: 8px;
  border: none;
  outline: none;
}

.chemical-summary div {
  margin: 4px 0;
}

/* Skipped chemicals section */
.skipped-chemicals {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  padding: 4px 6px;
  background: none;
  margin-bottom: 6px;
  border: none;
  outline: none;
}

.skipped-title {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-bottom: 4px;
  font-size: 10px;
}

.skipped-list {
  margin: 2px 0;
  word-wrap: break-word;
  font-family: monospace;
  font-size: 9px;
}

.skipped-note {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  margin-top: 4px;
}

/* Cropped image container */
.cropped-image-container {
  display: flex;
  justify-content: center;
  padding: 8px;
  margin: 0;
  background: none;
  border: none;
  outline: none;
}

.cropped-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0;
  border: none;
  outline: none;
  background: #000;
}

/* Molecule name caption below each viewer */
.molecule-name {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 400;
  text-align: center;
  padding: 2px 4px;
  background: none;
  word-wrap: break-word;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
  border: none;
  outline: none;
  font-style: italic;
}

/* Molecule viewers within an object column */
.mol-viewer-container {
  position: relative;
  width: 400px;
  height: 300px;
  background: #000000;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  outline: none;
  border: none;
  flex-shrink: 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mol-viewer-container canvas {
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  outline: none !important;
  border: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* One column per analysis - horizontal scroll */
#gldiv::-webkit-scrollbar {
  height: 12px;
}

#gldiv::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

#gldiv::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#gldiv::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Add scroll indicators */
#gldiv::before,
#gldiv::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  pointer-events: none;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s;
}

#gldiv::before {
  left: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
}

#gldiv::after {
  right: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
}

#gldiv:hover::before,
#gldiv:hover::after {
  opacity: 1;
}

/* Add scroll grab handles */
#gldiv::before {
  content: '◀';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  cursor: pointer;
  pointer-events: auto;
}

#gldiv::after {
  content: '▶';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(270deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  cursor: pointer;
  pointer-events: auto;
}

#gldiv::before:hover,
#gldiv::after:hover {
  color: rgba(255, 255, 255, 1);
  background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
}

#gldiv::after:hover {
  background: linear-gradient(270deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
}

/* Photo upload option */
.upload-option {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
  width: 100%;
}

.upload-option input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Uploaded image container (similar to camera container) */
.uploaded-image-container {
  position: relative;
  flex: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  min-height: 60vh;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.uploaded-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  position: relative;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.uploaded-image-container .crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
}

.uploaded-image-container .crosshair::before,
.uploaded-image-container .crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}

.uploaded-image-container .crosshair::before {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
}

.uploaded-image-container .crosshair::after {
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
}

.uploaded-image-container .instruction-text {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  z-index: 10;
  letter-spacing: 0.01em;
}

.uploaded-image-container button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.uploaded-image-container button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.uploaded-image-container .crosshair-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}

.uploaded-image-container .crosshair-line.vertical {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
}

.uploaded-image-container .crosshair-line.horizontal {
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
}

.uploaded-image-container .close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.uploaded-image-container .close-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 36px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  min-height: 140px;
}

.upload-label:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.upload-label:active {
  transform: translateY(0);
}

.photo-icon, .upload-text {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.upload-label:hover .photo-icon,
.upload-label:hover .upload-text {
  color: #ffffff;
}

.upload-text text {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.upload-label:focus-within {
  background: rgba(255, 255, 255, 0.12);
}

/* URL input container */
.url-input-container {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  transition: all 0.3s ease;
}

.url-input-container:hover {
  background: rgba(255, 255, 255, 0.12);
}

.url-input-container:focus-within {
  background: rgba(255, 255, 255, 0.15);
}

#photo-url {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 13px;
  font-weight: 400;
  outline: none;
  min-width: 140px;
  transition: background 0.2s ease;
}

#photo-url::placeholder {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

#photo-url:focus {
  background: rgba(255, 255, 255, 0.2);
}

.url-button {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.url-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.url-button svg {
  color: rgba(255, 255, 255, 0.9);
}

.url-text text {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.crop-outline {
  position: absolute;
  border: 2.5px solid #ff0000;
  width: 100px;
  height: 100px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 20;
  border-radius: 0;
  background: none;
  transition: opacity 0.2s;
  opacity: 1;
}


