.elementor-3893 .elementor-element.elementor-element-ace02fc{--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;}.elementor-3893 .elementor-element.elementor-element-faad358{--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;}.elementor-3893 .elementor-element.elementor-element-d1c6a7e{--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;}.elementor-3893 .elementor-element.elementor-element-483db8a{--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;}.elementor-3893 .elementor-element.elementor-element-f701ea6{--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;}.elementor-3893 .elementor-element.elementor-element-2c03dc3{--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-71c1303 */:root {
    --primary-brand: #3b82f6;
    --border-color: #dee2e6;
    --background-light: #f8f9fa;
    --secondary-gray: #6c757d;
    --danger: #ef4444;
}

.hidden { display: none !important; }
.full-width { width: 100%; }
.divider { height: 1px; background: var(--border-color); margin: 2rem 0; }

/* Workspace */
.workspace { background: white; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-color); }

/* Toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }

/* Grid Layout */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Page Card */
.page-card {
    background: white;
    border: 2px solid transparent;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    overflow: hidden;
}

.page-card:hover { transform: translateY(-3px); box-shadow: 0 5px 10px rgba(0,0,0,0.15); }

/* The Canvas Wrapper */
.card-canvas {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #fff;
}
.card-canvas canvas {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.page-number {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    background: white;
}

/* Deleted State */
.page-card.deleted {
    border-color: var(--danger);
}

.delete-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(239, 68, 68, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.page-card.deleted .delete-overlay { opacity: 1; }

.icon-trash {
    color: white;
    width: 48px;
    height: 48px;
}

/* Footer */
.action-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}
.filename-input { flex: 1; min-width: 250px; }
.main-buttons { display: flex; gap: 1rem; }

/* Drop Zone */
.drop-zone { 
    border: 2px dashed var(--border-color); 
    border-radius: 8px; 
    padding: 3rem; 
    text-align: center; 
    cursor: pointer; 
    background: white;
    transition: background 0.2s;
}
.drop-zone:hover { background: #f0f7ff; border-color: var(--primary-brand); }

/* Inputs */
.form-group label, .filename-input label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-input { width: 100%; padding: 0.6rem; border: 1px solid var(--border-color); border-radius: 6px; }

/* Info Sections */
.info-section { background: white; padding: 2rem; border-radius: 8px; margin-top: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.info-section h3 { margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.how-to-list { padding-left: 1.5rem; }
.how-to-list li { margin-bottom: 0.5rem; }
.faq-item { margin-bottom: 1.5rem; }
.faq-item strong { display: block; margin-bottom: 0.25rem; }

@media (max-width: 768px) {
    .action-footer { flex-direction: column; align-items: stretch; }
    .main-buttons { flex-direction: column; }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-8d55422 *//* --- Tools Section --- */
.tools-section {
  position: relative;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fb 100%);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08), 0 0 60px rgba(230,57,70,0.05);
  margin: 2rem auto;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Section Heading */
.tools-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e63946;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: sans-serif; /* Ensuring generic font fallback */
  
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeSlideFloat 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* --- Tools Grid --- */
.tools-grid {
  display: grid;
  gap: 1.5rem;
  /* Using auto-fit ensures cards stretch to fill rows symmetrically */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 0 0.5rem;
  perspective: 1000px;
}

/* --- Tool Card --- */
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255,255,255,0.95);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  text-decoration: none; /* Removes underline from links */
  
  /* Auto height to fit content */
  height: 100%;
  min-height: 220px;
  box-sizing: border-box;
  overflow: hidden;

  /* Animation */
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeSlideFloat 0.6s ease forwards;
  /* Animation delay is now handled by JS for perfect staggering */
}

/* Keyframes: Fade + Slide + Scale */
@keyframes fadeSlideFloat {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  60% { opacity: 1; transform: translateY(-5px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hover Effects */
.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-6px) rotateX(2deg);
  border-color: #e63946;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15), 0 0 25px rgba(230,57,70,0.2);
  outline: none;
}

/* Glossy Overlay */
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}
.tool-card:hover::before { opacity: 1; }

/* Gradient Border */
.tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(270deg, #e63946, #d62828, #f77f00, #e63946, #d62828);
  background-size: 600% 600%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}
.tool-card:hover::after {
  opacity: 1;
  animation: gradientFlow 3s linear infinite;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Icon */
.tool-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
  transition: transform 0.4s ease, color 0.4s ease;
  color: #e63946;
  animation: floatIcon 3s ease-in-out infinite;
  z-index: 2;
}
.tool-card:hover .tool-card-icon {
  transform: scale(1.1) rotate(2deg);
  color: #b51724;
}
@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* Title & Description */
.tool-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  font-family: sans-serif;
}
.tool-card-desc {
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
  line-height: 1.5;
  font-family: sans-serif;
}

/* --- Responsive --- */
@media (max-width: 768px)  { 
  .tools-section { padding: 2rem 1rem; }
  .tools-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } 
}

@media (max-width: 480px) {
  /* On very small screens, force 1 column for full symmetry */
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 1.2rem; min-height: auto; }
  .tool-card-icon { font-size: 2rem; }
}/* End custom CSS */