/* =====================================================

/* Utility classes */
.hidden {
  display: none !important;
}
   TinyToolWeb - photo-editor.css

/* Utility classes */
.hidden {
  display: none !important;
}
   ===================================================== */

/* Utility classes */
.hidden {
  display: none !important;
}


.tool-photo-editor .upload-box {
  border: 3px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xxl);
  text-align: center;
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-base);
  margin-bottom: var(--spacing-xl);
}

.tool-photo-editor .upload-box:hover {
  border-color: var(--primary);
  background: var(--bg-light);
  transform: translateY(-2px);
}

.tool-photo-editor .upload-box.drag-over {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.tool-photo-editor .upload-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.tool-photo-editor .upload-hint {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: var(--spacing-sm);
}

.tool-photo-editor .editor {
  margin-bottom: var(--spacing-xl);
}

.tool-photo-editor .canvas-wrapper {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.tool-photo-editor canvas {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.tool-photo-editor .tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.tool-photo-editor .tool-section {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
}

.tool-photo-editor .tool-section h3 {
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
}

.tool-photo-editor .tool-section .btn-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.tool-photo-editor .tool-section .btn {
  flex: 1;
  min-width: 80px;
}

.tool-photo-editor .resize-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.tool-photo-editor .resize-inputs input {
  padding: var(--spacing-sm);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  background: var(--bg-body);
  color: var(--text-dark);
}

.tool-photo-editor #resizeBtn {
  width: 100%;
}

.tool-photo-editor #resetBtn {
  width: 100%;
}

.tool-photo-editor .btn-download {
  width: 100%;
  font-size: 1.125rem;
  padding: var(--spacing-md);
}

@media (max-width: 768px) {
  .tool-photo-editor .tools {
    grid-template-columns: 1fr;
  }
  
  .tool-photo-editor .canvas-wrapper {
    min-height: 250px;
  }
}

/* =====================================================
