/* [project]/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  color: #17212b;
  --accent: #3568e8;
  --accent-dark: #2854c4;
  --ink: #17212b;
  --muted: #63717d;
  --line: #dce3e8;
  --panel: #fffffff0;
  --success: #16845b;
  --error: #c2413b;
  background: #f3f6f8;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(#ffffff94, #fff3), radial-gradient(circle at 50% 0, #e5ecf9 0, #0000 44%), #f3f6f8;
  min-height: 100vh;
  margin: 0;
}

button, input {
  font: inherit;
}

button, label {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 72px 0 52px;
}

.page-header {
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  display: flex;
}

.product-mark {
  background: #ffffffbf;
  border: 1px solid #3568e838;
  border-radius: 14px;
  flex: 0 0 48px;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 12px;
  display: flex;
  box-shadow: 0 8px 24px #273b5e14;
}

.product-mark span {
  background: var(--accent);
  border-radius: 4px;
  width: 4px;
}

.product-mark span:first-child {
  opacity: .45;
  height: 10px;
}

.product-mark span:nth-child(2) {
  height: 18px;
}

.product-mark span:nth-child(3) {
  opacity: .7;
  height: 14px;
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  letter-spacing: -.035em;
  margin-bottom: 6px;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.08;
}

.page-header p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
}

.workflow-panel {
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid #c6d0d9d1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 70px #28374e1c;
}

form {
  padding: 38px 40px 40px;
}

.step-heading {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  display: flex;
}

.step-heading.compact {
  margin-bottom: 18px;
}

.step-number {
  width: 38px;
  height: 38px;
  color: var(--accent);
  letter-spacing: .04em;
  background: #f7f9fc;
  border: 1px solid #d5dfea;
  border-radius: 10px;
  flex: 0 0 38px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.step-label, .field-label {
  color: #7a8792;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  display: block;
}

h2 {
  letter-spacing: -.015em;
  margin-bottom: 0;
  font-size: 20px;
}

.upload-area {
  text-align: center;
  background: #fafbfd;
  border: 1.5px dashed #b5c0ca;
  border-radius: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 230px;
  padding: 34px 24px;
  transition: border-color .16s, background .16s, box-shadow .16s;
  display: flex;
}

.upload-area:hover, .upload-area.is-dragging {
  border-color: var(--accent);
  background: #f4f7ff;
  box-shadow: inset 0 0 0 1px #3568e80f;
}

.upload-area.is-dragging {
  border-style: solid;
}

.upload-area.has-file {
  border-color: #91a7d9;
}

.upload-area input {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.upload-icon {
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 15px;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 7px 18px #2a405e14;
}

.upload-icon:before, .upload-icon:after, .upload-icon span:before {
  content: "";
  position: absolute;
}

.upload-icon:before {
  background: var(--accent);
  border-radius: 2px;
  width: 2px;
  height: 16px;
  top: 14px;
  left: 23px;
}

.upload-icon:after {
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  width: 8px;
  height: 8px;
  top: 14px;
  left: 19px;
  transform: rotate(45deg);
}

.upload-icon span:before {
  border-bottom: 2px solid #91a0ad;
  border-left: 2px solid #91a0ad;
  border-right: 2px solid #91a0ad;
  border-radius: 0 0 3px 3px;
  height: 7px;
  bottom: 11px;
  left: 13px;
  right: 13px;
}

.upload-title {
  color: var(--ink);
  margin-bottom: 7px;
  font-size: 17px;
  font-weight: 750;
}

.upload-separator {
  color: #8c98a2;
  margin-bottom: 14px;
  font-size: 13px;
}

.secondary-button, .primary-button, .download-button {
  cursor: pointer;
  border-radius: 10px;
  font-weight: 750;
  transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}

.secondary-button {
  color: #253544;
  background: #fff;
  border: 1px solid #c8d3df;
  padding: 10px 17px;
}

.secondary-button:hover {
  border-color: #96a9bb;
  box-shadow: 0 5px 15px #22334912;
}

.selected-file {
  border: 1px solid var(--line);
  color: #7a8792;
  background: #f9fafb;
  border-radius: 12px;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  margin-top: 16px;
  padding: 13px 16px;
  display: flex;
}

.selected-file.is-selected {
  color: var(--ink);
  background: #f7f9ff;
  border-color: #cbd9f6;
}

.selected-file strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  display: block;
}

.file-status-icon {
  background: #fff;
  border: 1px solid #cbd5de;
  border-radius: 7px;
  flex: 0 0 32px;
  width: 32px;
  height: 38px;
}

.is-selected .file-status-icon {
  background: linear-gradient(135deg, #fff 70%, #dce7ff 70%);
  border-color: #9eb6ea;
}

.step-divider {
  background: var(--line);
  height: 1px;
  margin: 32px 0;
}

.primary-button, .download-button {
  background: var(--accent);
  color: #fff;
  border: 0;
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: flex;
  box-shadow: 0 9px 22px #3568e833;
}

.primary-button {
  width: 100%;
  min-height: 52px;
  padding: 13px 20px;
  font-size: 15px;
}

.primary-button span:last-child {
  font-size: 20px;
  line-height: 1;
}

.primary-button:hover:not(:disabled), .download-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px #3568e845;
}

.primary-button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  background: #b9c2cb;
}

.secondary-button:focus-visible, .primary-button:focus-visible, .download-button:focus-visible, .upload-area:focus-within {
  outline-offset: 3px;
  outline: 3px solid #3568e838;
}

.result-state {
  border-top: 1px solid var(--line);
  align-items: center;
  gap: 15px;
  padding: 22px 40px;
  display: flex;
}

.result-state strong {
  margin-bottom: 4px;
  display: block;
}

.result-state p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.result-state.generating {
  background: #f7f9fc;
}

.progress-indicator {
  border: 2px solid #c8d4ed;
  border-top-color: var(--accent);
  border-radius: 50%;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  animation: .9s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress-indicator {
    animation: none;
  }

  .secondary-button, .primary-button, .download-button, .upload-area {
    transition: none;
  }
}

.result-state.success {
  background: #f4fbf7;
}

.result-state.error {
  background: #fff7f6;
}

.result-icon {
  border-radius: 50%;
  flex: 0 0 36px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-weight: 900;
  display: inline-flex;
}

.success .result-icon {
  color: var(--success);
  background: #dff4e9;
}

.error .result-icon {
  color: var(--error);
  background: #fde5e2;
}

.result-copy {
  flex: 1;
}

.download-button {
  min-height: 40px;
  padding: 9px 16px;
}

.trust-row {
  color: #6f7c87;
  justify-content: center;
  gap: 26px;
  padding: 22px 8px 0;
  font-size: 12px;
  display: flex;
}

.trust-row span {
  align-items: center;
  gap: 7px;
  display: inline-flex;
}

.trust-row i {
  background: #8fa2b5;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

@media (max-width: 640px) {
  .app-shell {
    width: min(100% - 24px, 760px);
    padding: 38px 0 30px;
  }

  .page-header {
    align-items: flex-start;
  }

  form {
    padding: 28px 20px 30px;
  }

  .upload-area {
    min-height: 210px;
  }

  .result-state {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px;
  }

  .download-button {
    width: 100%;
    margin-top: 4px;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-left: 20px;
  }
}

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