/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-color: #fff;
  --surface-color: #f8fafc;
  --text-color: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --shadow-glow: 0 0 20px #2563eb33;
  --transition: all .2s cubic-bezier(.4, 0, .2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  background-color: #fdf5ff;
  background-image: radial-gradient(at 10% 20%, #f7e6ff 0, #0000 50%), radial-gradient(at 90% 10%, #e6f2ff 0, #0000 50%), radial-gradient(at 50% 100%, #ffebf5 0, #0000 50%);
  background-attachment: fixed;
  flex-direction: column;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.app-mode-container {
  max-width: 100% !important;
  padding-right: 380px !important;
}

@media (max-width: 992px) {
  .app-mode-container {
    padding-right: 2rem !important;
  }
}

.header {
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  -webkit-backdrop-filter: blur(12px);
  background-color: color-mix(in srgb, var(--bg-color) 70%, transparent);
  position: sticky;
  top: 0;
}

.header-content {
  justify-content: space-between;
  align-items: center;
  height: 75px;
  display: flex;
}

.logo {
  align-items: center;
  text-decoration: none;
  display: flex;
}

.logo-img {
  object-fit: contain;
}

.nav-links {
  align-items: center;
  gap: 2rem;
  height: 100%;
  display: flex;
}

.nav-links > a, .dropdown-trigger {
  color: var(--text-color);
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
}

.nav-links > a:hover, .dropdown-trigger:hover {
  color: var(--primary-color);
}

.dropdown {
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
}

.dropdown-trigger .caret {
  font-size: .7rem;
  transition: transform .2s;
}

.mega-menu {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 200;
  gap: 3rem;
  min-width: 600px;
  padding: 2.5rem;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%)translateY(10px);
}

.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%)translateY(0);
}

.dropdown:hover .dropdown-trigger .caret {
  transform: rotate(180deg);
}

.mega-menu-col {
  flex: 1;
}

.mega-menu-title {
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-size: .85rem;
}

.mega-menu-list {
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  display: flex;
}

.mega-menu-list a {
  color: var(--text-color);
  align-items: center;
  gap: 1rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
  display: flex;
}

.mega-menu-list a:hover {
  color: var(--primary-color);
}

.menu-icon {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  display: flex;
}

.auth-buttons {
  align-items: center;
  gap: 1.5rem;
  display: flex;
}

.btn-login {
  color: var(--text-color);
  transition: var(--transition);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-login:hover {
  color: var(--primary-color);
}

.btn-signup {
  color: #fff;
  transition: var(--transition);
  background-color: #dc2626;
  border-radius: 24px;
  padding: .6rem 1.5rem;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-signup:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
}

.hero {
  text-align: center;
  padding: 2rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: .1;
  z-index: -1;
  filter: blur(60px);
  border-radius: 50%;
  width: 400px;
  height: 400px;
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
}

.hero h1 {
  letter-spacing: -.02em;
  margin-bottom: .5rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  color: var(--text-muted);
  max-width: 900px;
  margin: 0 auto 1rem;
  font-size: 1.15rem;
  line-height: 1.4;
}

.btn {
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  justify-content: center;
  align-items: center;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.tools-section {
  padding: .5rem 0 4rem;
}

.section-title {
  display: none;
}

.tools-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  display: grid;
}

@media (max-width: 992px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

.tool-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-color);
  transition: var(--transition);
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
}

.tool-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.tool-icon {
  background-color: color-mix(in srgb, var(--primary-color) 15%, transparent);
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  display: flex;
}

.tool-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.tool-desc {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.5;
}

.footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--surface-color);
  z-index: 60;
  margin-top: auto;
  padding: 3rem 0;
  position: relative;
}

.footer-content {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.footer-links {
  gap: 1.5rem;
  display: flex;
}

.footer-links a {
  color: var(--text-muted);
  font-size: .9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-color);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.tool-page {
  max-width: 900px;
  padding: 3rem 2rem;
}

.breadcrumb {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: .9rem;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.tool-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tool-header h1 {
  margin-bottom: 0;
  font-size: 2.5rem;
  font-weight: 800;
}

.tool-header p {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.tool-interface {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 4rem;
  padding: 3rem;
}

.upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--bg-color);
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .75rem;
  display: flex;
}

.upload-zone h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--primary-color);
  background-color: color-mix(in srgb, var(--primary-color) 5%, transparent);
}

.upload-icon {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.hidden-input {
  display: none;
}

.error-alert {
  color: #b91c1c;
  border-radius: var(--radius);
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  margin-top: 1.5rem;
  padding: 1rem;
  font-weight: 500;
}

.pdf-workspace {
  margin-top: 1rem;
}

.workspace-header-row {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  display: flex;
}

.workspace-header {
  text-align: left;
}

.btn-add-more {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  display: flex;
  box-shadow: 0 4px 6px -1px #0000001a;
}

.btn-add-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px #00000026;
}

.workspace-header h3 {
  margin-bottom: .5rem;
  font-weight: 700;
}

.workspace-header p {
  color: var(--text-muted);
  font-size: .95rem;
}

.pdf-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  display: grid;
}

@media (max-width: 992px) {
  .pdf-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .pdf-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .pdf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pdf-tile {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background-color: #fff;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  height: 240px;
  padding: .75rem;
  display: flex;
  position: relative;
}

.pdf-tile-preview {
  cursor: grab;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.pdf-tile-preview:active {
  cursor: grabbing;
}

.react-pdf__Page__canvas {
  object-fit: contain;
  max-height: 160px;
  box-shadow: 0 4px 6px -1px #0000001a;
  width: auto !important;
}

.pdf-loading {
  color: var(--text-muted);
  font-size: .8rem;
}

.pdf-tile-name {
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  color: var(--text-color);
  font-size: .85rem;
  font-weight: 500;
  overflow: hidden;
}

.pdf-tile-remove {
  color: #fff;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  background-color: #ef4444;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: .8rem;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: -8px;
  right: -8px;
  box-shadow: 0 2px 5px #0003;
}

.pdf-tile:hover .pdf-tile-remove {
  opacity: 1;
}

.pdf-tile-remove:hover {
  background-color: #dc2626;
  transform: scale(1.1);
}

.add-more-tile {
  border: 2px dashed var(--border-color);
  cursor: pointer;
  box-shadow: none;
  transition: var(--transition);
  background-color: #0000;
  justify-content: center;
}

.add-more-tile:hover, .dragging-pulse {
  border-color: var(--primary-color);
  background-color: color-mix(in srgb, var(--primary-color) 5%, transparent);
}

.add-more-icon {
  color: var(--primary-color);
  margin-bottom: .5rem;
  font-size: 3rem;
}

.add-more-text {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
}

.merge-btn {
  width: 100%;
  margin-top: 2rem;
  padding: 1rem;
  font-size: 1.1rem;
}

.merge-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.tool-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.tool-content p, .tool-content li {
  color: var(--text-muted);
  margin-bottom: .5rem;
  line-height: 1.7;
}

.tool-content ol {
  padding-left: 1.5rem;
}

.working-state, .result-state {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  display: flex;
}

.working-state h2, .result-state h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.progress-container {
  background-color: var(--border-color);
  border-radius: 4px;
  width: 100%;
  max-width: 500px;
  height: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.progress-bar {
  background-color: var(--primary-color);
  width: 0%;
  height: 100%;
  transition: width .3s;
}

.progress-text {
  color: var(--text-muted);
  font-weight: 500;
}

.result-icon {
  color: #10b981;
  margin-bottom: 1.5rem;
  font-size: 4rem;
}

.result-actions {
  gap: 1rem;
  margin-top: 2rem;
  display: flex;
}

.btn-secondary {
  color: var(--text-color);
  border: 1px solid var(--border-color);
  background-color: #fff;
}

.btn-secondary:hover {
  background-color: var(--surface-color);
  border-color: var(--text-muted);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.split-layout {
  align-items: flex-start;
  gap: 2rem;
  display: flex;
}

@media (max-width: 992px) {
  .split-layout {
    flex-direction: column;
  }
}

.split-workspace {
  flex-direction: column;
  flex: 1;
  gap: 1.5rem;
  min-width: 0;
  max-height: 600px;
  padding-right: 1rem;
  display: flex;
  overflow-y: auto;
}

.split-sidebar {
  background-color: var(--surface-color);
  border-left: 1px solid var(--border-color);
  z-index: 50;
  border-radius: 0;
  width: 350px;
  height: calc(100vh - 75px);
  padding: 1.5rem;
  position: fixed;
  top: 75px;
  bottom: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: -4px 0 15px #0000000d;
}

@media (max-width: 992px) {
  .split-sidebar {
    width: 100%;
    position: static;
  }
}

.split-tabs {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  display: flex;
}

.split-tab {
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid #0000;
  flex: 1;
  padding: .75rem 0;
  font-weight: 600;
}

.split-tab:hover {
  color: var(--text-color);
}

.split-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.split-input-group {
  margin-bottom: 1.5rem;
}

.split-input-group label {
  margin-bottom: .5rem;
  font-size: .95rem;
  font-weight: 600;
  display: block;
}

.split-input-group input {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 100%;
  padding: .75rem;
  font-family: monospace;
  font-size: 1rem;
}

.split-input-group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent);
  outline: none;
}

.split-example {
  color: var(--text-muted);
  margin-top: .25rem;
  font-size: .8rem;
  display: block;
}

.range-block {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius);
  background-color: #fff;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  display: flex;
}

.range-block-header {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.range-block-content {
  align-items: center;
  gap: 1.5rem;
  display: flex;
}

.range-separator {
  color: var(--text-muted);
  letter-spacing: 2px;
  font-size: 2rem;
}

/*# sourceMappingURL=src_app_globals_162hn9o.css.map*/