/* Responsabilidade: Estilos do modal de crop */
.crop-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.crop-modal.active {
  display: flex;
}

.crop-modal-content {
  background: #1a1a1a;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.crop-modal-header {
  padding: 24px 32px;
  background: #0f0f0f;
  border-bottom: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crop-modal-header h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.crop-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.crop-close:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.crop-modal-body {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.crop-canvas-container {
  position: relative;
  width: 100%;
  height: 450px;
  background: #000;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#crop-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  cursor: grab;
}

#crop-canvas:active {
  cursor: grabbing;
}

.crop-frame {
  position: absolute;
  border: 2px solid #B8975A;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.6);
  width: 270px;
  height: 240px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.crop-controls {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.crop-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crop-control-group label {
  font-size: 10px;
  color: #888;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.crop-control-group input[type="range"] {
  width: 100%;
  height: 6px;
  background: #2a2a2a;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.crop-control-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #B8975A;
  border-radius: 50%;
  cursor: pointer;
}

.crop-control-group input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #B8975A;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.crop-control-group span {
  font-size: 11px;
  color: #999;
  text-align: center;
}

.btn-reset {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: #999;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  height: 42px;
  transition: all 0.2s;
}

.btn-reset:hover {
  border-color: #B8975A;
  color: #B8975A;
}

.crop-modal-footer {
  padding: 24px 32px;
  background: #0f0f0f;
  border-top: 1px solid #2a2a2a;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}