@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@500;600;700&display=swap");

:root {
  --el-orange: #f68c1e;
  --el-orange-dark: #e07f0e;
  --el-gray: #4d5055;
  --el-gray-dark: #35373a;
  --el-text: #333333;
  --el-text-muted: #6b7280;
  --el-border: #d7dbe0;
  --el-muted-btn: #9aa1a9;
  --el-radius-card: 20px;
  --el-radius-input: 8px;
  --font-heading: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #f4f6f8;
  color: var(--el-text);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--el-border);
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.header-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--el-text-muted);
}

.header-secure svg {
  color: var(--el-gray);
  flex: none;
}

.stage {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.payment-card {
  display: flex;
  width: 100%;
  max-width: 1820px;
  min-height: 900px;
  border-radius: var(--el-radius-card);
  overflow: hidden;
  border: 1px solid var(--el-border);
  box-shadow: 0 12px 32px rgba(20, 40, 60, 0.08);
  background: #ffffff;
}

.payment-photo {
  flex: 1 1 48%;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  padding: 64px;
  background: linear-gradient(160deg, var(--el-gray) 0%, var(--el-gray-dark) 100%);
  color: #ffffff;
  overflow: hidden;
}

.photo-pattern {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 60%;
  background-image: repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 46px);
  pointer-events: none;
}

.photo-content {
  position: relative;
  max-width: 420px;
}

.photo-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--el-orange);
  margin-bottom: 16px;
}

.photo-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 32px;
}

.photo-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.photo-features svg {
  flex: none;
  color: var(--el-orange);
}

.payment-panel {
  flex: 1 1 52%;
  padding: 48px 56px 56px;
  overflow-y: auto;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 24px;
  color: #1f1f1f;
}

.panel-section {
  margin-bottom: 28px;
}

.section-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--el-gray);
  margin: 0 0 14px;
}

.radio-row {
  display: flex;
  gap: 40px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--el-text);
  cursor: pointer;
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #b9bfc6;
  flex: none;
  position: relative;
  transition: border-color 150ms ease;
}

.radio-option input[type="radio"]:checked + .radio-dot {
  border-color: var(--el-orange);
}

.radio-option input[type="radio"]:checked + .radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--el-orange);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-action {
  font-size: 13px;
  color: var(--el-orange);
  text-decoration: none;
  font-weight: 600;
}

.link-action:hover {
  text-decoration: underline;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 13px 14px;
  font-size: 14px;
  border: 1px solid var(--el-border);
  border-radius: var(--el-radius-input);
  color: var(--el-text);
  background: #ffffff;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input::placeholder {
  color: #a3a9b0;
}

input:disabled,
select:disabled {
  background: #eceef0;
  color: #a3a9b0;
  opacity: 0.65;
}

.input-with-icon {
  position: relative;
}

.input-with-icon input {
  padding-right: 40px;
}

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa1a9;
  font-size: 14px;
}

.select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-split {
  grid-column: auto;
}

.amount-option {
  gap: 12px;
}

.amount-value {
  color: var(--el-orange);
  font-weight: 600;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--el-text-muted);
  line-height: 1.5;
  margin: 18px 0 24px;
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  margin-top: 3px;
  flex: none;
  width: 16px;
  height: 16px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--el-radius-input);
  cursor: pointer;
  color: #ffffff;
  font-family: inherit;
  transition: background-color 150ms ease, opacity 150ms ease;
}

.btn-muted {
  background: var(--el-muted-btn);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-muted:not(:disabled) {
  opacity: 1;
  background: var(--el-orange);
  cursor: pointer;
}

.btn-muted:not(:disabled):hover {
  background: var(--el-orange-dark);
}

.scroll-top {
  position: fixed;
  right: 34px;
  bottom: 96px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: #3a3f47;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}

.chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--el-orange);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(247, 148, 30, 0.4);
}

.ms-order-confirmation {
  position: fixed;
  inset: 0;
  z-index: 100;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--el-orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 30, 0.15);
}

.replay-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: #1f1f1f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 50;
}

.replay-btn:hover {
  background: var(--el-orange);
}

@media (max-width: 900px) {
  .replay-btn {
    left: 16px;
    bottom: 16px;
    padding: 10px 14px;
    font-size: 12px;
  }
}

@media (max-width: 1300px) {
  .payment-photo {
    flex: 1 1 38%;
  }

  .payment-panel {
    flex: 1 1 62%;
    padding: 40px 32px 40px;
  }

  .field-row {
    gap: 16px;
  }

  .field-label-row {
    flex-wrap: wrap;
    gap: 4px;
  }
}

@media (max-width: 900px) {
  .payment-card {
    flex-direction: column;
    min-height: auto;
  }

  .payment-photo {
    display: none;
  }

  .payment-panel {
    padding: 32px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .radio-row {
    gap: 20px;
  }
}
