/* Poppins font faces - offline */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/poppins/poppins-300.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/poppins/poppins-800.woff2") format("woff2");
}

/* Global baseline */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
body {
  margin: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Ubuntu,
    Cantarell,
    Noto Sans,
    sans-serif !important;
  color: #222222;
  background: #ffffff;
}

/* Shared containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
}

/* Index page styles */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.split .left {
  background:
    linear-gradient(
      135deg,
      rgba(214, 49, 46, 0.8) 0%,
      rgba(235, 230, 214, 0.8) 100%
    ),
    url("/images/puzzle_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split .left .inner {
  padding: 48px;
  max-width: 720px;
  text-align: center;
}
.split .left h1 {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
}
.split .left p {
  margin: 0;
  opacity: 0.9;
  font-size: clamp(14px, 2.2vw, 18px);
}
.split .right h2 {
  font-weight: 600;
  margin: 0 !important;
}
.split .right {
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background-color: #f7f7f7;
}
.card {
  max-width: 480px;
  margin: 2rem auto;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}
form {
  display: grid;
  gap: 0.75rem;
}
label {
  font-size: 12px;
  color: #444;
}
input[type="text"] {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}
input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 49, 46, 0.15);
  border-color: #d6312e;
}
button {
  background: #d6312e;
  color: #fff;
  border: 0;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}
.error {
  color: #b00020;
  margin-bottom: 0.5rem;
}
.hint {
  color: #666;
  font-size: 12px;
}

/* Line Items List Styles */
.line-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.line-item-form {
  margin: 0;
  padding: 0;
}

.line-item-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  background: white;
  text-align: left;
  font: inherit;
}
button.line-item-card.approved > .line-item-arrow {
  opacity: 0;
}
.line-item-card:hover {
  border-color: var(--brand);
  background-color: #fafafa;
  transform: translateX(4px);
}

.line-item-card.approved {
  background-color: #f0f9f4;
  border-color: #c6e6d4;
  opacity: 0.7;
  cursor: not-allowed;
}

.line-item-card.approved:hover {
  opacity: 0.85;
  transform: none;
  border-color: #c6e6d4;
}

.line-item-card:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.line-item-number {
  flex-shrink: 0;
}

.line-item-number i {
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

.line-item-card.approved .line-item-number i {
  background: var(--success);
}

.line-item-content {
  flex: 1;
}

.line-item-content h3 {
  margin: 0 0 0.25rem 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.line-item-style,
.line-item-template {
  margin: 0.125rem 0;
  font-size: 12px;
  color: var(--muted-ink);
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 0.25rem;
}

.status-badge.approved {
  background: var(--success);
  color: white;
}

.status-badge.pending {
  background: #f0f0f0;
  color: var(--muted-ink);
}

.line-item-arrow {
  flex-shrink: 0;
  color: var(--muted-ink);
  transition: transform 0.2s ease;
}

.line-item-card:hover .line-item-arrow {
  color: var(--brand);
  transform: translateX(4px);
}

/* Editor page styles (extracted from us.html) */
:root {
  --brand: #d6312e;
  --ink: #222222;
  --muted-ink: #5f5f5f;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --line: #e6e6e6;
  --beige: #f3ecda;
  --cta: #151515;
  --cta-hover: #000000;
  --success: #0a7d32;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  --brand-dark: #b12727;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: none;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 56px;
  width: auto;
  -o-object-fit: contain;
  object-fit: contain;
}
.hero a.brand img {
  height: 80px;
  margin-bottom: 20px;
}
.pvo_brand {
  background-color: #fff;
  padding: 10px;
  margin: 0 auto;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero {
  background-image: url("/images/page_bg_f.jpg") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background: var(--beige);
  border-bottom: 1px solid var(--line);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  text-align: center;
  padding: 50px;
}
.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  font-style: normal;
}
.hero p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 16px;
  margin-bottom: 20px;
}
.steps {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  background: #fff;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: auto;
}
.bc-combo-item .bc-image-box.popup-list-item:hover,
.bc-combo-item .bc-control.popup-list-item:hover,
.bc-combo-item
  .bc-button.mobile-bar-button.selected.popup-list-item.not-rounded,
.bc-combo-item .bc-control.selected {
  background-color: var(--bc-primary-50);
}
.pvo_step-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pvo_step-left span {
  font-weight: 500 !important;
}
.pvo_step2 .pvo_step-left {
  align-items: flex-start;
}
.pvo_step2 .pvo_step-left i {
  margin-top: 2px;
}
.step i {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-style: normal;
}
.step-checkbox {
  margin-left: auto;
  accent-color: var(--brand);
}
.main {
  padding: 16px 0;
}
.grid {
  display: grid;
  grid-template-columns: 2fr 420px;
  grid-template-areas:
    "item1 item2"
    "item1 item3"
    "item1 item4";
  gap: 16px;
}

.grid-item1 {
  grid-area: item1;
}

.grid-item2 {
  grid-area: item2;
  background: #fff;
  border: 1px solid var(--line);
}

.grid-item3 {
  grid-area: item3;
  background: #fff;
  border: 1px solid var(--line);
}

.grid-item4 {
  grid-area: item4;
  background: #fff;
  border: 1px solid var(--line);
}

.grid-item2 .printess-ui {
  padding: 14px 0;
  border: 0;
  margin: 0;
}
.preview-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.preview-card .note {
  text-align: center;
}
.printess-preview {
  height: 100%;
  max-height: 66vh;
  background: transparent;
  display: flex;
  align-items: start;
  justify-content: center;
  position: relative;
  border-radius: 0;
}
.pvo_reupload-msg {
  position: absolute;
  height: 90%;
  max-height: 66vh;
  width: 100%;
  max-width: 700px;
  /* background-color: rgba(0, 0, 0, 0.2);*/
  background-color: white;
  background-image: url("../images/custom_overlay_en.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.pvo_reupload-msg p {
  font-size: 32px;
  color: #fff;
  font-weight: bold;
  font-family: "poppins";
  width: 20ch;
  text-align: center;
  padding: 0;
  margin: 0;
  display: none !important;
}
.printess-preview-image {
  max-height: 66vh;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  transition: opacity 0.4s;
}
.printess-image-loader {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.printess-image-loader.loading {
  display: grid;
}

.printess-image-loader svg {
  width: 64px;
  height: 64px;
  opacity: 1;
}

.printess-image-loader .circular {
  animation: rotate 2s linear infinite;
}

.printess-image-loader .path {
  stroke: var(--brand);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
.bc-color-box.border-selected {
  border-radius: none !important;
}
.order-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 16px;
  box-shadow: none;
  margin-top: 0;
}
.order-card p,
.order-card div {
  padding-bottom: 8px;
}
.order-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
}
label,
.note,
.order-card .note,
.bc-info-label-text span,
.bc-label-text.sub-inline {
  font-size: 12px !important;
  color: var(--muted-ink);
  font-weight: 400;
}
.bc-info-label-text,
.bc-info-label-text span,
.bc-label-text.sub-inline {
  padding-top: 0.5em !important;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
}
.checkbox input {
  margin-top: 3px;
}
.legal {
  font-size: 12px;
  color: var(--muted-ink);
}
.legal a {
  color: inherit;
}
.cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-size: 14px;
}
.btn-primary {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}
.btn-primary[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: white;
  border: 1px solid grey;
  color: grey;
}
.btn-primary.ready:hover {
  opacity: 0.8;
}
.btn-red {
  background: var(--brand);
  color: #fff;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
  background: #fff;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  color: var(--muted-ink);
}
footer .container * {
  font-size: 14px !important;
}
footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
footer a {
  color: inherit;
  text-decoration: none;
  text-decoration: underline;
}
footer a:hover {
  text-decoration: underline;
}
/* Success Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999999 !important;
}
.modal-content {
  background: #fff;
  color: #111;
  max-width: 520px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 24px;
  text-align: center;
}
.modal-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
}
.modal-content p {
  margin: 0 0 16px 0;
  line-height: 1.5;
}
.modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Help Modal Specific Styles */
.help-modal {
  max-width: 580px;
  text-align: left;
}

.help-modal h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.help-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.help-section:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.help-section h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.help-section p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-ink);
}

.help-modal .modal-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
}

/* Upload overlay styles */
.bc-upload-hint {
  font-size: 100% !important;
}
.bc-scale-warning {
  display: none !important;
}
.upload-overlay {
  display: none; /* toggled via style/js */
}
.upload-card {
  max-width: 200px;
  text-align: center;
}
.upload-brand {
  width: 96px;
  height: 96px;
  -o-object-fit: contain;
  object-fit: contain;
  display: inline-block;
}
.upload-text {
  margin-top: 12px;
}
.upload-progress {
  margin-top: 12px;
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.upload-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--brand);
  border-radius: 999px;
  transform: translateX(-100%);
  animation: upload-indeterminate 1.3s infinite linear;
}
.upload-hint-message > p {
  color: red !important;
}
.upload-hint-message > p,
.sc-scale-hint * {
  font-size: 12px !important;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    sans-serif !important;
  text-align: left !important;
}
.sc-scale-hint,
.upload-hint-message {
  padding: 0 !important;
  margin: 0 !important;
}

@keyframes upload-indeterminate {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Slim‑UI theming overrides */
.bc-image-box.selected {
  border-color: var(--brand) !important;
}
.printess-ui {
  color: var(--ink);
  font-family: inherit;
  --bc-border-color: transparent;
  --bc-control-background: #ffffff;
  --bc-button-solid-primary: #ffffff;
  --bc-button-solid-primary-back: var(--brand);
  --bc-button-solid-primary-hover: var(--brand-dark);
  --bc-button-solid-primary-active: var(--brand-dark);
  --bc-button-solid-secondary: #222222;
  --bc-button-solid-secondary-back: #ffffff;
  --bc-button-solid-secondary-hover: #f7f7f7;
  --bc-button-solid-secondary-active: #efefef;
  --bc-button-outline-primary: var(--brand);
  --bc-button-outline-primary-back: #ffffff;
  --bc-button-outline-primary-hover: var(--brand-dark);
  --bc-button-outline-primary-active: var(--brand-dark);
  --bc-button-outline-secondary: #5f5f5f;
  --bc-button-outline-secondary-back: #ffffff;
  --bc-button-outline-secondary-hover: #222222;
  border: 1px solid var(--line);
  border-radius: 0;
  margin: -16px 0 15px 0;
}
.printess-ui :is(label, small, p, span) {
  color: var(--muted-ink);
}
.printess-ui input,
.printess-ui select,
.printess-ui textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}
.printess-ui input:focus,
.printess-ui select:focus,
.printess-ui textarea:focus {
  outline: 2px solid rgba(21, 21, 21, 0.25);
  outline-offset: 1px;
}
.printess-ui input[type="range"],
.printess-ui progress {
  accent-color: var(--brand, #d6312e);
}
.printess-ui input[type="checkbox"],
.printess-ui input[type="radio"] {
  accent-color: var(--brand, #d6312e);
}
bc-image-list .bc-image-thumb-crop,
.sc-image-thumb .bc-image-thumb-crop {
  background-color: #f7f7f7;
}
.sc-image-thumb {
  border: 1px solid #8b8b99;
  border-radius: var(--bc-border-radius);
}
.bc-image-thumb-crop svg {
  color: var(--muted-ink);
}
.sc-cluster {
  border: none;
}
.sc-cluster .bc-combo:first-child {
  display: none !important;
}
.bc-combo-color-selected {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
.bc-label-text,
.bc-text-input {
  font-size: 16px !important;
  color: #2b2b2b;
  font-weight: 600;
}

/* Fix mobile scroll blocking after text input */
.bc-text-input,
.bc-text-input:focus {
  touch-action: manipulation !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  user-select: text !important;
}
input,
textarea,
select {
  font-size: 16px;
}

/* Mobile styles consolidated below at @media (max-width: 768px) */
@supports not (accent-color: red) {
  .printess-ui input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 4px;
    background: #fff;
    position: relative;
  }
  .printess-ui input[type="checkbox"]:checked {
    border-color: var(--brand, #d6312e);
    background: var(--brand, #d6312e);
  }
  .printess-ui input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 4px;
    height: 9px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
  }
  .printess-ui input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 50%;
    background: #fff;
    position: relative;
  }
  .printess-ui input[type="radio"]:checked {
    border-color: var(--brand, #d6312e);
  }
  .printess-ui input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--brand, #d6312e);
  }
  .printess-ui input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 3px;
    background: #ddd;
    border-radius: 999px;
    outline: none;
  }
  .printess-ui input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand, #d6312e);
    border: 0;
  }
  .printess-ui input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand, #d6312e);
    border: 0;
  }
  .printess-ui input[type="range"]::-moz-range-track {
    background: #ddd;
    height: 3px;
    border-radius: 999px;
  }
}

.bc-button.solid {
  background-color: var(--brand);
  border-color: var(--brand);
}
.bc-button.solid:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

/* Responsive Breakpoints */
@media (max-width: 1020px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "item2"
      "item3"
      "item1"
      "item4";
  }
  .printess-ui {
    max-height: unset;
  }
}

@media (max-width: 768px) {
  /* Body and document settings */
  body {
    position: relative !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* Touch input optimization */
  .printess-ui input,
  .printess-ui textarea,
  .bc-text-input {
    touch-action: manipulation !important;
  }

  /* Brand and header */
  .brand img {
    height: 60px;
    margin-bottom: 20px;
  }

  /* Hero section */
  .hero {
    background-image: none !important;
  }
  .hero .container {
    padding: 20px 16px !important;
  }
  .hero h1 {
    font-size: 20px;
    font-weight: 400 !important;
  }

  /* Steps */
  .steps {
    gap: 10px;
  }

  /* Grid layout */
  .container {
    padding: 12px 14px;
  }
  .grid {
    grid-template-columns: 1fr;
  }

  /* Grid items */
  .preview-card {
    border: 1px solid var(--line);
    border-top: none;
    margin-top: -16px;
  }
  .grid-item2,
  .grid-item3,
  .grid-item4 {
    overflow: visible;
  }
  .grid-item3 {
    border-bottom: none;
  }
  .grid-item4 {
    border: 1px solid var(--line);
  }

  /* Preview */
  .printess-preview {
    max-height: 55vh;
  }
  .printess-preview-image {
    max-height: 55vh;
  }

  /* Order card and buttons */
  .order-card {
    padding: 12px;
  }
  .btn {
    width: 100%;
  }

  /* Footer */
  footer .container {
    justify-content: space-between;
  }
  footer .container * {
    font-size: 12px !important;
  }

  /* Login page - collapse split-screen */
  .split {
    grid-template-columns: 1fr;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .split .left {
    display: none;
  }
  .split .right {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 10px 12px;
  }

  /* Login page adjustments */
  .split .right {
    padding: 16px;
  }
  .card {
    width: 100%;
    max-width: none;
    padding: 24px 20px;
  }
}

@media (min-width: 1021px) {
  .card {
    width: 480px;
  }
}

/* iOS Safari scrolling fixes */
@supports (-webkit-touch-callout: none) {
  html,
  body {
    height: auto !important;
    min-height: 100vh;
  }

  .split {
    min-height: auto;
    height: auto;
  }

  /* Ensure touch scrolling works properly */
  * {
    -webkit-overflow-scrolling: touch;
  }
}

/* BUG FIXING */
.bc-image-crop-rotate-overlay {
  position: fixed !important;
}
.bc-image-crop-rotate-overlay .bc-image-container {
  max-width: 100vw !important;
  max-height: 100vh !important;
}
.bc-adjust-controls {
  position: fixed;
  bottom: 0;
  background-color: white;
  z-index: 3;
}
#overlay-container > div.bc-image-container > svg > g > g > g > text {
  display: none !important;
}
.pvo_flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pvo_hide {
  display: none !important;
}
