main {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1400px !important;
  height: 100vh;
}

#screen-wrapper {
  display: flex;
  align-self: flex-start;
  margin: auto;
  width: clamp(1280px, 80%, 100%);
  height: clamp(780px, 60%, 100%);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.section-content {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
}

.page-content {
  height: 100%;
  width: 600px;
  min-width: 350px;
  position: relative;
  flex: 1;
  overflow: hidden;
  transition: background-color 0.5s ease;
}

.screen-content {
  background-color: #fff;
  height: 100%;
  min-width: 350px;
  position: relative;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  flex: 1;
  overflow: hidden;
  transition: background-color 0.5s ease;
}

#screen-wrapper.welcome .screen-content,
#screen-wrapper.summary .screen-content,
#screen-wrapper.billing .screen-content {
  background-color: #ffffff88;
}

#screen-wrapper.summary .screen-content,
#screen-wrapper.billing {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.fade-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* optional, ensures it fills */
  height: 100%; /* if needed */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s ease;
}


.fade-page.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem 4rem;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.page.active {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.cart-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
}

.next-page {
  align-self: flex-end;
}

.prev-page {
  align-self: flex-start;
  width: auto;
}

.page.forward section.prev-active {
  transform: translateX(-100%);
}

#pages.back section.active {
  transform: translateX(0);
}

#pages.back section.prev-active {
  transform: translateX(100%);
}

.get-started-page {
  flex: 1;
  box-shadow: -5px 0 5px -2px rgba(0, 0, 0, 0.01), -10px 0 10px -5px rgba(0, 0, 0, 0.01);
}

.screen-content section h1 {
  font-size: 32px;
  margin-bottom: 0.5rem;
}

.screen-content section h2 {
  font-size: 38px;
  font-weight: 2;
}

.screen-content section header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-left: 10px;
}

.screen-content section .step-indicator {
  margin-top: 20px;
  margin-bottom: 12px;
  display: inline-block;
  font-size: 16px;
  color: #555;
  margin-left: 10px;
}

.screen-content section .step-label {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: #0c1b3f;
  padding: 0 16px;
  height: 28px;
  line-height: 26px;
  border-radius: 14px;
  margin-bottom: 20px;
}