﻿:root {
  --blue-dark: #003ea8;
  --blue-mid: #0b57d0;
  --blue-soft: #46b5ff;
  --white: #ffffff;
  --bg: #eaf4ff;
  --text: #0a2f7f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(1200px 500px at 15% 10%, rgba(96, 141, 181, 0.28) 0%, rgba(96, 141, 181, 0) 60%),
    radial-gradient(900px 480px at 88% 82%, rgba(120, 171, 204, 0.22) 0%, rgba(120, 171, 204, 0) 58%),
    linear-gradient(135deg, #e8edf3 0%, #d4dee8 45%, #c5d2df 100%);
  color: var(--text);
}

.layout {
  max-width: 1240px;
  margin: 0 auto;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: #0a53c8;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.app::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(122, 214, 255, 0.18), rgba(122, 214, 255, 0));
  pointer-events: none;
  animation: driftGlow 12s ease-in-out infinite;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px 18px;
  background: #d7e5ef;
  border-bottom: 1px solid #c7d9e8;
  position: relative;
}

.logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.step-indicator {
  color: #ffffff;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  position: absolute;
  right: 16px;
  top: 14px;
  background: #0f4ea0;
  border: 1px solid #3e8dd8;
  border-radius: 999px;
  padding: 6px 10px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(15, 78, 160, 0.25);
  z-index: 2;
}

.content {
  padding: 18px;
  position: relative;
  z-index: 1;
}

.title-icon-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0 10px;
}

.title-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e8f8ff 100%);
  border: 4px solid #42c3ff;
  box-shadow: 0 0 0 3px rgba(66, 195, 255, 0.35);
  animation: pulseRing 2.6s ease-in-out infinite;
}

.title-icon-svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #0f4fc2;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.title {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 44, 120, 0.18);
  font-size: 34px;
  text-align: center;
  margin: 10px 0 16px;
  font-weight: 800;
  line-height: 1.02;
  font-family: "Montserrat", "Manrope", sans-serif;
  text-transform: uppercase;
}

.title-divider {
  width: 64%;
  height: 6px;
  margin: 8px auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #55c9ff 0%, #94deff 100%);
  opacity: 0.95;
  animation: dividerSweep 3.2s ease-in-out infinite;
}

.subtitle {
  color: #d8efff;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 600;
  font-family: "Montserrat", "Manrope", sans-serif;
}

.input, textarea {
  width: 100%;
  border-radius: 14px;
  border: 2px solid #a7d7ff;
  padding: 16px;
  font-size: 16px;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-weight: 600;
  color: #17439a;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

.input:focus, textarea:focus {
  outline: none;
  border-color: #6fd2ff;
  box-shadow: 0 0 0 4px rgba(111, 210, 255, 0.2);
  transform: translateY(-1px);
}

.address-wrap {
  position: relative;
}

.lookup-suggestions {
  margin-top: 8px;
  background: rgba(206, 234, 255, 0.16);
  border: 1px solid rgba(129, 205, 255, 0.55);
  border-radius: 12px;
  padding: 10px;
}

.lookup-suggestions-title {
  margin: 0 0 8px;
  color: #cdeaff;
  font-size: 13px;
  font-weight: 700;
  font-family: "Montserrat", "Manrope", sans-serif;
}

.lookup-suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lookup-suggestion-item {
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  background: rgba(32, 129, 221, 0.9);
  border: 1px solid rgba(143, 213, 255, 0.9);
  border-radius: 10px;
  padding: 9px 12px;
}

.saved-address-bar {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(150, 214, 255, 0.65);
  background: rgba(16, 97, 191, 0.25);
}

.saved-address-label {
  color: #cdeaff;
  font-size: 12px;
  font-weight: 700;
  font-family: "Montserrat", "Manrope", sans-serif;
}

.saved-address-clear {
  width: auto;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(188, 227, 255, 0.85);
}

.schedule-saved-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(150, 214, 255, 0.65);
  background: rgba(16, 97, 191, 0.25);
}

.schedule-saved-label {
  color: #cdeaff;
  font-size: 12px;
  font-weight: 700;
  font-family: "Montserrat", "Manrope", sans-serif;
}

.schedule-saved-clear {
  width: auto;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(188, 227, 255, 0.85);
}

.lookup-spinner {
  position: absolute;
  right: 14px;
  top: 17px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(15, 78, 160, 0.22);
  border-top-color: #0f4ea0;
  animation: spin 0.7s linear infinite;
  z-index: 3;
}

.actions { display: flex; gap: 10px; margin-top: 14px; }

.advisor-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #2cb861, #36cf72);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  padding: 12px;
  font-family: "Montserrat", "Manrope", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.advisor-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(34, 150, 84, 0.34);
  filter: saturate(1.06);
}

.advisor-link-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.advisor-link-lookup {
  margin-top: 34px;
  opacity: 0.96;
}

button {
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #3fa9f5, #6bc6ff);
  color: white;
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  cursor: pointer;
  font-family: "Montserrat", "Manrope", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(64, 170, 240, 0.3);
  filter: saturate(1.06);
}

button:active {
  transform: translateY(0);
}

button.secondary {
  background: transparent;
  border: 2px solid #9ad1ff;
}

.card {
  width: 100%;
  background: white;
  color: #0b3ea8;
  border-radius: 18px;
  border: 2px solid #cfe8ff;
  padding: 18px;
  margin-bottom: 12px;
  animation: cardIn 0.42s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.card-schedule {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 14px 18px;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.card-schedule:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 36, 110, 0.18);
  border-color: #9ed8ff;
}

.card-schedule:hover .schedule-arrow {
  transform: translateX(3px);
}

.schedule-left {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.schedule-icon-wrap {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  aspect-ratio: 1 / 1;
  flex: 0 0 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.schedule-icon {
  width: 23px;
  height: 23px;
  min-width: 23px;
  min-height: 23px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.schedule-text {
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: #0f3f99;
}

.schedule-arrow {
  font-size: 36px;
  line-height: 1;
  color: #0f56c7;
  margin-left: 10px;
  transition: transform 0.18s ease;
}

.card-schedule.accent-blue .schedule-icon-wrap { background: #0f6be5; }
.card-schedule.accent-green .schedule-icon-wrap { background: #09a84a; }
.card-schedule.accent-violet .schedule-icon-wrap { background: #6b40d8; }
.card-schedule.accent-orange .schedule-icon-wrap { background: #f39a0d; }
.card-schedule.accent-cyan .schedule-icon-wrap { background: #14a8c6; }

.schedule-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d8efff;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin: 4px 0 12px;
}

.schedule-loading-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(216, 239, 255, 0.3);
  border-top-color: #ffffff;
  animation: spin 0.7s linear infinite;
}

@media (max-width: 680px) {
  .schedule-text { font-size: 20px; }
  .schedule-arrow { font-size: 31px; }
}

#products-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product h3 {
  margin: 0 0 6px;
  font-size: 18px;
  min-height: 48px;
  text-align: center;
}

.product-media {
  width: 100%;
  height: 182px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.product-image {
  max-width: 100%;
  max-height: 176px;
  object-fit: contain;
}

.product-price {
  font-size: 18px;
  font-weight: 900;
  color: #083b98;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  margin: 0 0 10px;
  text-align: center;
}

.qty {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.qty button {
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
}
.qty span {
  font-size: 34px;
  min-width: 30px;
  text-align: center;
  font-weight: 800;
  color: #0b3ea8;
  line-height: 1;
}

.footer-total {
  margin: 10px 0;
  color: white;
  font-size: 28px;
  font-weight: 800;
}

.hidden { display: none; }

.screen-enter .title-icon-wrap,
.screen-enter .title,
.screen-enter .title-divider,
.screen-enter .subtitle,
.screen-enter .address-wrap,
.screen-enter .actions,
.screen-enter #schedule-list,
.screen-enter #products-list,
.screen-enter .confirm {
  animation: fadeUp 0.46s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.screen-enter .title { animation-delay: 0.04s; }
.screen-enter .subtitle { animation-delay: 0.08s; }
.screen-enter .address-wrap, .screen-enter #schedule-list, .screen-enter #products-list, .screen-enter .confirm { animation-delay: 0.12s; }
.screen-enter .actions { animation-delay: 0.16s; }

.confirm {
  background: rgba(7, 63, 161, 0.28);
  border: 1px solid #8fd7ff;
  border-radius: 14px;
  color: #e2f4ff;
  padding: 14px;
}

.confirm p { margin: 0; }

#screen-confirm .title {
  display: none;
}

.confirm-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.confirm-top-icon-wrap {
  display: none;
}

.confirm-top-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(23%) sepia(86%) saturate(1841%) hue-rotate(205deg) brightness(95%) contrast(97%);
}

.confirm-status {
  width: 100%;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #0b3f98;
  background: #ffffff;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 4px;
  text-shadow: none;
}

.confirm-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  column-gap: 8px;
  margin-bottom: 7px;
  border-bottom: 1px solid rgba(137, 211, 255, 0.34);
  padding-bottom: 7px;
}

.confirm-row p {
  margin: 0;
}

.confirm-icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #89d7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
}

.confirm-row-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(20%) sepia(57%) saturate(2621%) hue-rotate(202deg) brightness(98%) contrast(96%);
}

.confirm-label {
  color: #e6f7ff;
  font-weight: 700;
  font-size: 14px;
}

.confirm-value {
  color: #68c8ff;
  font-weight: 800;
  font-size: 13px;
}

.confirm-note {
  margin-top: 8px;
  text-align: left;
  color: #bfe4ff;
  font-weight: 600;
  border-top: 1px solid rgba(130, 203, 255, 0.55);
  padding-top: 8px;
  font-size: 12px;
}

.confirm-payline {
  height: 1px;
  background: rgba(124, 205, 255, 0.8);
  margin: 10px 0 10px;
}

.confirm-pay-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.confirm-transfer-card {
  border: 1px solid rgba(164, 222, 255, 0.8);
  border-radius: 10px;
  background: rgba(9, 75, 181, 0.28);
  box-shadow: inset 0 0 0 1px rgba(205, 239, 255, 0.12);
  padding: 11px;
  display: grid;
  gap: 10px;
}

.confirm-transfer-copy {
  min-width: 0;
}

.confirm-transfer-heading {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.confirm-pay-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #d8f3ff;
  font-weight: 600;
}

.confirm-pay-line2 {
  display: block;
  margin-top: 6px;
}

.confirm-alias-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7fd6ff, #57bfff);
  color: #063b90;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(6, 59, 144, 0.2);
}

.confirm-copy-btn {
  width: auto;
  justify-self: start;
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid rgba(206, 239, 255, 0.95);
  background: linear-gradient(90deg, #3ba9ef, #74d2ff);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(8, 52, 132, 0.28);
}

.confirm-mp {
  margin-top: 10px;
}

.confirm-mp-btn {
  width: 100%;
  text-transform: uppercase;
  font-weight: 800;
}

.confirm-mp-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: #bfe4ff;
  font-weight: 600;
}

.dev-credit {
  margin-top: auto;
  text-align: center;
  color: #a9d4ff;
  font-size: 12px;
  padding: 14px 12px 16px;
  font-family: "Montserrat", "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-top: 1px solid rgba(182, 224, 255, 0.28);
  text-transform: uppercase;
}

.dev-credit strong {
  font-weight: 800;
  color: #d9efff;
}

.dev-credit strong a {
  color: inherit;
  text-decoration: none;
}

.dev-credit strong a:hover {
  text-decoration: underline;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 3px rgba(66, 195, 255, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(66, 195, 255, 0.2); }
}

@keyframes dividerSweep {
  0%, 100% { opacity: 0.85; transform: scaleX(0.98); }
  50% { opacity: 1; transform: scaleX(1.02); }
}

@keyframes driftGlow {
  0%, 100% { transform: translateX(-3%) translateY(0); }
  50% { transform: translateX(3%) translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 1024px) {
  body {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
  }

  .layout {
    width: 100%;
    max-width: 1360px;
  }

  .app {
    max-width: none;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    min-height: calc(100vh - 48px);
    box-shadow: 0 20px 60px rgba(0, 37, 104, 0.2);
    background: #0a53c8;
  }

  .header {
    padding: 24px 28px 18px;
  }

  .content {
    padding: 28px;
  }

  #screen-lookup,
  #screen-schedule,
  #screen-products,
  #screen-confirm {
    max-width: 960px;
    margin: 0 auto;
  }

  #screen-lookup:not(.hidden) {
    max-width: none;
    width: 100%;
    display: flex;
    gap: 44px;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 8px;
    padding-left: 44px;
    padding-right: 44px;
  }

  .title {
    font-size: 44px;
    margin-top: 6px;
  }

  .subtitle {
    font-size: 20px;
    margin-bottom: 18px;
  }

  #screen-lookup .address-wrap,
  #screen-lookup .actions,
  #screen-lookup .advisor-link {
    max-width: 100%;
    margin: 0;
  }

  #screen-lookup .lookup-left,
  #screen-lookup .lookup-right {
    flex: 1;
  }

  #screen-lookup .lookup-left {
    flex: 0 0 46%;
    max-width: none;
    margin: 0;
  }

  #screen-lookup .lookup-right {
    flex: 0 0 46%;
    max-width: none;
    margin: 0;
    padding-top: 74px;
  }

  #screen-lookup .actions {
    margin-top: 10px;
  }

  #screen-lookup .advisor-link {
    margin-top: 8px;
  }

  #screen-lookup .advisor-link-lookup {
    margin-top: 26px;
  }

  #screen-lookup .title-icon-wrap {
    justify-content: flex-start;
    margin: 8px 0 10px;
  }

  #screen-lookup .title {
    text-align: left;
    margin: 0 0 8px;
  }

  #screen-lookup .title-divider {
    margin: 0 0 10px;
    width: 72%;
  }

  #screen-lookup .subtitle {
    text-align: left;
    margin-bottom: 0;
    max-width: 520px;
    font-size: 18px;
    line-height: 1.2;
  }

  #screen-lookup .title-icon {
    width: 62px;
    height: 62px;
  }

  #screen-lookup .title-icon-svg {
    width: 30px;
    height: 30px;
  }

  #screen-schedule #schedule-list,
  #screen-schedule .actions,
  #screen-schedule .advisor-link {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  #screen-schedule:not(.hidden) {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(420px, 46%) minmax(520px, 46%);
    justify-content: space-between;
    column-gap: 44px;
    align-items: start;
    padding-top: 30px;
    padding-left: 44px;
    padding-right: 44px;
  }

  #screen-schedule .title,
  #screen-schedule .subtitle,
  #screen-schedule #schedule-loading {
    grid-column: 1;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  #screen-schedule #schedule-list,
  #screen-schedule .actions,
  #screen-schedule .advisor-link {
    grid-column: 2;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #screen-schedule .schedule-saved-bar {
    grid-column: 1 !important;
    grid-row: auto;
    justify-self: start;
    align-self: start;
    margin-top: 2px;
    margin-bottom: 12px;
    max-width: 94%;
    position: relative;
    z-index: 2;
  }
  #screen-schedule #schedule-list {
    margin-top: -22px;
    position: relative;
    z-index: 1;
  }

  #screen-schedule .title {
    font-size: 34px;
    line-height: 1.05;
    margin-bottom: 12px;
    margin-top: 58px;
  }

  #screen-schedule .subtitle {
    font-size: 18px;
    margin-bottom: 10px;
  }

  #screen-products #products-list,
  #screen-products textarea,
  #screen-products .footer-total,
  #screen-products .actions,
  #screen-products .advisor-link {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  #screen-products:not(.hidden) {
    max-width: none;
    width: 100%;
    padding-top: 30px;
    padding-left: 44px;
    padding-right: 44px;
  }

  #screen-confirm .confirm,
  #screen-confirm .actions,
  #screen-confirm .advisor-link {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  #screen-confirm:not(.hidden) {
    max-width: none;
    width: 100%;
    padding-top: 30px;
    padding-left: 44px;
    padding-right: 44px;
  }

  #screen-confirm .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
  }

  #screen-confirm .actions .advisor-link {
    margin-top: 0;
    width: 100%;
    justify-content: center;
  }

  .confirm-transfer-card {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
  }

  .confirm-copy-btn {
    margin-top: 0;
    min-width: 220px;
    justify-self: end;
  }

  .title-icon {
    width: 96px;
    height: 96px;
  }

  .title-icon-svg {
    width: 48px;
    height: 48px;
  }

  #products-list {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 16px;
  }

  .product h3 {
    font-size: 22px;
    min-height: 58px;
  }

  .product-media { height: 236px; }
  .product-image { max-height: 228px; }

  .product-price {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .qty span {
    font-size: 30px;
  }

  .card-schedule {
    min-height: 80px;
    padding: 12px 16px;
  }

  .schedule-text {
    font-size: 22px;
  }

  .schedule-arrow {
    font-size: 32px;
  }

  .dev-credit {
    font-size: 13px;
    padding-bottom: 18px;
  }
}

@media (max-width: 640px) {
  #screen-confirm:not(.hidden) {
    padding-top: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  #screen-confirm .confirm {
    padding: 10px;
    border-radius: 12px;
  }

  #screen-confirm .actions {
    margin-top: 8px;
    gap: 8px;
    display: flex;
    flex-direction: column;
  }

  #screen-confirm .actions button,
  #screen-confirm .advisor-link {
    min-height: 42px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
  }

  #screen-confirm .advisor-link {
    margin-top: 8px;
  }

  .title { font-size: 30px; line-height: 1.05; }
  .logo { height: 48px; }
  .input, textarea { font-size: 15px; padding: 14px; }
  button { font-size: 15px; padding: 12px; }
  .subtitle { font-size: 15px; }
  .title-icon { width: 78px; height: 78px; }
  .title-icon-svg { width: 40px; height: 40px; }
  .step-indicator { font-size: 12px; right: 12px; top: 10px; padding: 6px 9px; }
  #screen-lookup .advisor-link-lookup {
    margin-top: 0 !important;
    transform: translateY(100px) !important;
    display: block;
  }
  #products-list { grid-template-columns: 1fr 1fr; }
  .product h3 { font-size: 16px; min-height: 34px; }
  .product-media { height: 164px; }
  .product-image { max-height: 158px; }
  .qty button { width: 36px; height: 36px; font-size: 24px; }
  .qty span { font-size: 20px; }
  .confirm-top { margin-bottom: 8px; }
  .confirm-top-icon-wrap { display: none; }
  .confirm-status {
    width: 100%;
    font-size: 18px;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 10px;
    background: #ffffff;
    color: #0b3f98;
    text-shadow: none;
  }
  .confirm-row {
    grid-template-columns: 30px 1fr;
    column-gap: 8px;
    margin-bottom: 7px;
    border-bottom: 1px solid rgba(137, 211, 255, 0.34);
    padding-bottom: 7px;
  }
  .confirm-icon-circle {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .confirm-row-icon { width: 15px; height: 15px; }
  .confirm-label { font-size: 14px; }
  .confirm-value { font-size: 13px; }
  .confirm-payline { margin: 8px 0; }
  .confirm-transfer-card { padding: 9px; border-radius: 10px; }
  .confirm-transfer-kicker { font-size: 10px; letter-spacing: 0.08em; }
  .confirm-pay-row { grid-template-columns: 1fr; }
  .confirm-copy-btn { width: 100%; }
  .confirm-transfer-heading {
    font-size: 15px;
    margin-bottom: 7px;
  }
  .confirm-copy-btn {
    width: 100%;
    justify-self: stretch;
    margin-top: 10px;
  }
  .confirm-pay-text { font-size: 12px; line-height: 1.25; }
  .confirm-copy-btn {
    min-width: 0;
    font-size: 13px;
    padding: 9px 12px;
    border-radius: 9px;
  }
  .confirm-note {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 12px;
  }
  .dev-credit {
    font-size: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
