.elementor-40 .elementor-element.elementor-element-2a11c35a{--display:flex;}.elementor-40 .elementor-element.elementor-element-592d680{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-654a0ae *//* --- GLOBAL CSS FOR UTILIX TOOLS --- */

/* CSS Variables from original theme - Essential for consistent styling */
:root {
  --primary-red: #e5322d;
  --primary-red-dark: #c22a25;
  --primary-blue: #3b82f6;
  --primary-brand: #3b82f6; /* Used for hover border, loader, focus */
  --primary-green: #198754;
  --primary-yellow: #ffc107;
  --primary-purple: #8b5cf6;
  --primary-pink: #ec4899;
  --primary-creator: #f44336;
  --primary-black: #333;
  --secondary-gray: #555;
  --border-color: #e0e0e0;
  --background-light: #f8f8fa;
  --background-white: #ffffff;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
  --border-radius: 8px;
}

/* Universal box-sizing for consistency */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Basic body styles (Astra handles much, but ensures font and color) */
body {
  font-family: var(--font-stack);
  color: var(--primary-black);
  line-height: 1.6;
}

/* Common Heading Styles */
h1, h2, h3 { font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.2rem); margin-bottom: 2rem; color: var(--primary-red); text-align: center; }
h3 { font-size: 1.25rem; margin-bottom: 1rem; }

/* Link Styles */
a { color: var(--primary-red); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-red-dark); }

/* Container for page content */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--background-white);
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-size: 1rem;
}
.btn:hover:not(:disabled) { background-color: var(--primary-red-dark); transform: translateY(-2px); }
.btn-secondary { background-color: var(--secondary-gray); }
.btn-secondary:hover:not(:disabled) { background-color: var(--primary-black); }
.btn-small { padding: 5px 10px; font-size: 0.8rem; margin: 0 5px 5px 0; }
.btn:disabled { background-color: #ccc; cursor: not-allowed; transform: none; }

/* Focus Visible (Accessibility) */
:focus-visible { outline: 3px solid var(--primary-blue); outline-offset: 2px; }

/* Tool Page Specific Layout */
#tool-page { padding: 2rem 1rem 4rem; }
.page-header { text-align: center; border-bottom: 1px solid var(--border-color); padding-bottom: 2rem; margin-bottom: 2rem;}
.page-header h2 { color: var(--primary-black); margin-bottom: 0.5rem; } /* Override default red for tool page title */
.page-header p { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: var(--secondary-gray); }
.back-to-home-btn { margin-bottom: 2rem; }

/* Tool Container (the main box for interaction) */
.tool-container {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
  position: relative;
}

/* Drop Zone for Files */
.drop-zone {
  border: 3px dashed var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.drop-zone.dragover { border-color: var(--primary-brand); background-color: #eff6ff; }

/* File List Display */
.file-list { margin-top: 1.5rem; }
.file-list-item { display:flex; align-items:center; justify-content:space-between; padding: 8px; background: #f0f0f0; border-radius: 4px; margin-bottom: 5px; }
.file-controls { margin-top: 1rem; display: flex; gap: 1rem; justify-content: center;}

/* Tool Options/Output Area */
.tool-options { margin-top: 1.5rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.tool-options:empty { display: none; } /* Hide if no options */
.tool-options:not(:empty) + #output-area:not(:empty) { border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.tool-options label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.tool-options input, .tool-options select, .tool-options textarea { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; margin-bottom: 1rem; }
.tool-output { font-size: 1.1rem; font-weight: bold; margin-top:1rem; padding: 1rem; background-color: var(--background-white); border: 1px solid var(--border-color); border-radius: 6px; word-wrap: break-word; }

/* Tool Footer (for process/download buttons) */
.tool-footer { text-align: right; margin-top: 1.5rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.tool-footer:empty { display: none; }

/* Download Link Button */
.download-link {
  display: inline-block;
  background-color: var(--primary-green); /* Green color for download */
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
  text-decoration: none;
}
.download-link:hover {
  background-color: #157347; /* Darker green on hover */
  transform: translateY(-2px);
}

/* Loader Overlay */
.loader-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.loader-overlay.active { visibility: visible; opacity: 1; }
.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-brand); /* Blue spinner */
  border-radius: 50%;
  width: 50px; height: 50px;
  animation: spin 1s linear infinite;
}
.loader-text { margin-top: 1rem; font-weight: 500; color: var(--primary-black); }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Info/FAQ Sections */
.info-section { margin-top: 3rem; }
.info-section h3 { border-bottom: 2px solid var(--primary-red); padding-bottom: 0.5rem; display: inline-block; margin-bottom: 1.5rem; }
.how-to-list { padding-left: 20px; margin-bottom: 1rem; }
.how-to-list li { margin-bottom: 0.5rem; }
.faq-item { margin-bottom: 1.5rem; }
.faq-item strong { display: block; margin-bottom: 0.5rem; }
.faq-item p { margin-bottom: 0; color: var(--secondary-gray); }

/* Other Utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }/* End custom CSS */