@charset "UTF-8";
/* line 2, app/assets/stylesheets/b2c_design/_ch_tokens.scss */
.ch-b2c,
.ch-home,
.ch-b2c-page--auth,
.ch-pharmacy,
header.main-header.ch-header {
  --ch-primary: #1e3a5f;
  --ch-accent: #2563eb;
  --ch-accent-soft: #eff6ff;
  --ch-text: #0f172a;
  --ch-muted: #64748b;
  --ch-border: #e2e8f0;
  --ch-radius: 16px;
  --ch-shadow: 0 12px 40px rgba(30, 58, 95, 0.08);
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ch-text);
}

/* line 3, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx {
  padding: 0.75rem 0 2.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 12rem);
  font-family: "Poppins", system-ui, sans-serif;
}

/* line 8, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* line 14, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__top {
  margin-bottom: 1rem;
}

/* line 18, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ch-muted);
  text-decoration: none;
}

/* line 28, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__back:hover {
  color: var(--ch-accent);
}

/* line 33, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__hero {
  text-align: left;
  max-width: none;
  margin: 0 0 0.75rem;
}

/* line 39, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ch-text);
}

/* line 47, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ch-muted);
}

/* line 54, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__alert {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* line 61, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

/* line 67, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* line 74, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

/* line 81, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__steps {
  position: sticky;
  top: 6rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  box-shadow: var(--ch-shadow);
}

/* line 91, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__steps-title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ch-muted);
}

/* line 100, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__step {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ch-text);
}

/* line 108, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__step:last-child {
  margin-bottom: 0;
}

/* line 113, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--ch-primary);
  border-radius: 50%;
}

/* line 127, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__trust {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ch-border);
  font-size: 0.8125rem;
  color: var(--ch-muted);
  line-height: 1.5;
}

/* line 135, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__trust li {
  margin-bottom: 0.35rem;
  list-style: none;
  padding-left: 1.25rem;
  position: relative;
}

/* line 141, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

/* line 151, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--ch-border);
  border-radius: var(--ch-radius);
  box-shadow: var(--ch-shadow);
}

/* line 159, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__field {
  margin-bottom: 1.35rem;
}

/* line 162, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__field:last-of-type {
  margin-bottom: 0;
}

/* line 167, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ch-text);
}

/* line 175, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--ch-muted);
}

/* line 181, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* line 193, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__upload {
  display: block;
  position: relative;
  margin: 0;
  border: 2px dashed var(--ch-border);
  border-radius: 12px;
  background: var(--ch-accent-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* line 203, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__upload:hover, .ch-upload-rx__upload.is-dragover {
  border-color: var(--ch-accent);
  background: #dbeafe;
}

/* line 209, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__upload.has-file {
  border-style: solid;
  border-color: #059669;
  background: #ecfdf5;
}

/* line 216, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.25rem;
  text-align: center;
  pointer-events: none;
}

/* line 227, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__upload-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ch-accent);
  color: #fff;
  border-radius: 12px;
}

/* line 238, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__upload-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ch-text);
}

/* line 245, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__upload-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ch-muted);
}

/* line 251, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__filename {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #047857;
  word-break: break-all;
}

/* line 259, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 1rem;
}

/* line 265, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__input {
  position: relative;
}

/* line 268, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__input .form-control,
.ch-upload-rx__input .ch-upload-rx__select,
.ch-upload-rx__input input[type="text"],
.ch-upload-rx__input input[type="tel"],
.ch-upload-rx__input input[type="email"],
.ch-upload-rx__input input[type="number"],
.ch-upload-rx__input select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ch-text);
  background: #fff;
  border: 1px solid var(--ch-border);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* line 285, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__input .form-control:focus,
.ch-upload-rx__input .ch-upload-rx__select:focus,
.ch-upload-rx__input input[type="text"]:focus,
.ch-upload-rx__input input[type="tel"]:focus,
.ch-upload-rx__input input[type="email"]:focus,
.ch-upload-rx__input input[type="number"]:focus,
.ch-upload-rx__input select:focus {
  outline: none;
  border-color: var(--ch-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* line 291, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__input .form-control::placeholder,
.ch-upload-rx__input .ch-upload-rx__select::placeholder,
.ch-upload-rx__input input[type="text"]::placeholder,
.ch-upload-rx__input input[type="tel"]::placeholder,
.ch-upload-rx__input input[type="email"]::placeholder,
.ch-upload-rx__input input[type="number"]::placeholder,
.ch-upload-rx__input select::placeholder {
  color: #94a3b8;
}

/* line 297, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__actions {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ch-border);
}

/* line 303, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--ch-accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* line 315, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__submit:hover:not(:disabled) {
  background: #1d4ed8;
}

/* line 319, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* line 325, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__submit-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ch-muted);
  text-align: center;
}

/* line 333, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--ch-border);
  border-radius: 12px;
}

/* line 341, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-status {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ch-muted);
}

/* line 347, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-status.is-loading {
  color: var(--ch-accent);
}

/* line 351, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-status.is-error {
  color: #b91c1c;
}

/* line 355, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-status.is-success {
  color: #047857;
}

/* line 360, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-preview-head {
  margin-bottom: 0.85rem;
}

/* line 364, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ch-text);
}

/* line 371, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-lead {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ch-muted);
}

/* line 377, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: start;
}

/* line 384, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-image-wrap {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ch-border);
  border-radius: 10px;
}

/* line 392, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* line 398, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-text-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* line 404, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-text-title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ch-text);
}

/* line 411, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-text {
  flex: 1;
  margin: 0;
  padding: 0.75rem;
  max-height: 280px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ch-text);
  background: #fff;
  border: 1px solid var(--ch-border);
  border-radius: 10px;
}

/* line 428, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-meta {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--ch-muted);
}

/* line 434, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* line 441, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-primary, .ch-upload-rx__ocr-secondary {
  flex: 1 1 160px;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* line 452, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-primary {
  color: #fff;
  background: var(--ch-accent);
  border: 1px solid var(--ch-accent);
}

/* line 457, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-primary:hover {
  background: #1d4ed8;
}

/* line 462, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-secondary {
  color: var(--ch-text);
  background: #fff;
  border: 1px solid var(--ch-border);
}

/* line 467, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx__ocr-secondary:hover {
  border-color: var(--ch-accent);
}

/* line 473, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx .form-group {
  margin-bottom: 0;
}

/* line 477, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx .help-block,
.ch-upload-rx .invalid-feedback {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #b91c1c;
}

/* line 485, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx .select2-container,
.ch-upload-rx .select2-drop,
.ch-upload-rx .select2-focusser,
.ch-upload-rx .select2-offscreen {
  display: none !important;
}

/* line 492, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx .simple_form .control-label {
  display: none;
}

/* line 496, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
.ch-upload-rx .input,
.ch-upload-rx .form-group {
  margin: 0;
}

/* line 502, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription {
  overflow-x: hidden;
  padding-top: 5rem !important;
}

/* line 507, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription.remove-android-space {
  padding-top: 5rem !important;
}

/* line 511, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription .errors__container {
  margin: 0;
  padding: 0;
  min-height: 0;
}

/* line 516, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription .errors__container .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* line 521, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription .errors__container:empty {
  display: none;
}

/* line 526, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription .page-wrap {
  display: flex;
  flex-direction: column;
  min-height: auto;
}

/* line 532, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription .ch-upload-rx {
  flex: 1 0 auto;
}

/* line 537, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription .ch-footer,
body.controller__orders.action__upload_prescription footer,
body.controller__orders.action__upload_prescription .footer-dark-area {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* line 546, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
body.controller__orders.action__upload_prescription .select2-focusser,
body.controller__orders.action__upload_prescription .select2-offscreen {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

@media (max-width: 768px) {
  /* line 558, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  body.controller__orders.action__upload_prescription {
    padding-top: 4rem !important;
  }
  /* line 562, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
  }
  /* line 566, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* line 571, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__top {
    margin-bottom: 0.75rem;
  }
  /* line 575, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* line 580, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__steps {
    position: static;
    display: none;
  }
  /* line 585, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__card {
    padding: 1rem;
  }
  /* line 589, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__row {
    grid-template-columns: 1fr;
  }
  /* line 593, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__field-value, .ch-upload-rx__input .form-control, .ch-upload-rx__input select {
    font-size: 16px;
  }
  /* line 599, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__submit {
    min-height: 48px;
  }
  /* line 603, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__ocr-grid {
    grid-template-columns: 1fr;
  }
  /* line 607, app/assets/stylesheets/b2c_design/ch_upload_prescription.scss */
  .ch-upload-rx__ocr-text {
    max-height: 200px;
  }
}
