/* Greek ID Verification -- Crop Modal */

.crop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.crop-modal {
  background: var(--surface);
  border-radius: 16px;
  width: 580px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

.crop-header h3 {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crop-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.crop-body {
  padding: 20px;
}

.crop-canvas {
  width: 100%;
  aspect-ratio: 1.4;
  background: #1e293b;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.crop-handles {
  position: absolute;
  top: 8%;
  left: 5%;
  right: 5%;
  bottom: 8%;
  border: 2px solid var(--accent);
}

.crop-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid var(--accent);
  border-radius: 2px;
}

.crop-handle.tl {
  top: -6px;
  left: -6px;
  cursor: nw-resize;
}

.crop-handle.tr {
  top: -6px;
  right: -6px;
  cursor: ne-resize;
}

.crop-handle.bl {
  bottom: -6px;
  left: -6px;
  cursor: sw-resize;
}

.crop-handle.br {
  bottom: -6px;
  right: -6px;
  cursor: se-resize;
}

.crop-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.crop-dimensions {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-2);
  display: flex;
  gap: 16px;
}

.crop-dimensions span {
  color: var(--text);
  font-weight: 600;
}

.crop-quality {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quality-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.quality-dot.good {
  background: var(--green);
}

.quality-label {
  font-size: 0.75rem;
  font-weight: 500;
}

.quality-label.good {
  color: var(--green);
}

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