/*
Theme Name: Tooldid
Theme URI: https://tooldid.com
Author: Tooldid Team
Author URI: https://tooldid.com
Description: AI-driven online tools platform with privacy-first local processing. Tooldid offers 30+ tools for image, PDF, video, and file processing with freemium model and multi-language support.
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tooldid
Tags: tools, ai, privacy, local-processing, freemium, multi-language, e-commerce, block-patterns, full-site-editing, accessibility-ready

Tooldid is a comprehensive online tools platform built on WordPress, featuring AI-driven tools with privacy-first local processing. All file processing happens in the browser using Canvas and WebAssembly, ensuring user files never leave their device.
*/

/*!
 * IMPORTANT: Main styles are loaded through theme.json and block styles
 * This file contains only critical base styles
 */

:root {
  --tooldid-primary: #4f46e5;
  --tooldid-secondary: #10b981;
  --tooldid-accent: #f59e0b;
  --tooldid-danger: #ef4444;
  --tooldid-success: #10b981;
  --tooldid-gray-50: #f9fafb;
  --tooldid-gray-100: #f3f4f6;
  --tooldid-gray-200: #e5e7eb;
  --tooldid-gray-300: #d1d5db;
  --tooldid-gray-700: #374151;
  --tooldid-gray-900: #111827;
}

/* Basic reset and typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--tooldid-gray-900);
  background-color: #ffffff;
}

a {
  color: var(--tooldid-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--tooldid-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #4338ca;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--tooldid-gray-200);
  color: var(--tooldid-gray-900);
}

.btn-secondary:hover {
  background-color: var(--tooldid-gray-300);
  text-decoration: none;
}

.btn-success {
  background-color: var(--tooldid-success);
  color: white;
}

.btn-success:hover {
  background-color: #0da271;
  text-decoration: none;
}

/* Form styles */
input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--tooldid-gray-300);
  border-radius: 0.5rem;
  background-color: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--tooldid-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Card styles */
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Alert styles */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
  }
  
  .card {
    padding: 1.25rem;
  }
}
