/* Camera capture styles */
.camera-section {
  margin-bottom: 2rem;
  text-align: center;
}

.camera-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color, #1b4d3e);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.camera-btn:hover {
  background: var(--primary-hover, #0f3d2e);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.camera-btn:active {
  transform: translateY(0);
}

.camera-icon {
  width: 24px;
  height: 24px;
}

.camera-btn-text {
  vertical-align: middle;
}

.camera-preview {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 1rem auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.camera-preview video {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  background: #000;
}

.camera-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.camera-controls button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.camera-controls .btn-primary {
  background: var(--primary-color, #1b4d3e);
  color: white;
}

.camera-controls .btn-primary:hover {
  background: var(--primary-hover, #0f3d2e);
}

.camera-controls .btn-secondary {
  background: #6b7280;
  color: white;
}

.camera-controls .btn-secondary:hover {
  background: #4b5563;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .camera-btn {
    width: 100%;
    justify-content: center;
    padding: 1.25rem;
  }

  .camera-preview video {
    max-width: 100%;
  }

  .camera-controls {
    flex-direction: column;
    gap: 0.75rem;
  }

  .camera-controls button {
    width: 100%;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .camera-btn {
    min-height: 56px;
  }

  .camera-controls button {
    min-height: 48px;
  }
}
