/* Layout for the payment module. Colors and controls come from original.css. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: white; color: #222; }
[hidden] { display: none !important; }
button, input, select { font-family: Arial, sans-serif; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid #40759c; outline-offset: 2px; }
#header { text-align: left; margin-bottom: 0; }
#header .high-menu { grid-template-columns: 15% 20% 65%; font-size: 13px; }
#header .high-menu .logo { max-height: 60px; max-width: 100%; width: auto; }
#header .logo a { display: block; }
#header .currency { border-collapse: collapse; font-size: 12px; }
#header .currency th { font-weight: bold; }
#header .currency td, #header .currency th { padding: 2px 10px; }
#header .note-header { display: flex; align-items: flex-start; gap: 5px; }
#header .note-header > img { width: 421px; height: 69px; object-fit: contain; }
#header .header-payment { display: block; align-self: flex-end; margin-bottom: 4px; line-height: 0; flex-shrink: 0; }
#header .header-payment img { display: block; width: 126px; height: 27px; }
#header .top-baner { margin: auto; }
#header .top-baner .slider { margin: 16px 0; }
#header .slide img { aspect-ratio: 1920 / 420; object-fit: cover; }
#header .slides[data-slide="0"] { transform: translateX(0); }
#header .slides[data-slide="1"] { transform: translateX(-100%); }
#header .slides[data-slide="2"] { transform: translateX(-200%); }
#header .slides[data-slide="3"] { transform: translateX(-300%); }
#header .menu .nav { padding: 0; }
#header .menu ul { list-style: none; margin: 0; padding: 0; }
#header .menu li:focus-within > ul { display: block; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 10px 20px; z-index: 5; background: #eee; }
#header .menu li a { white-space: nowrap; }
#header .menu li a.login-link { font-weight: bold; }
.page-shell { width: var(--main-container-width); margin: 0 auto; padding-top: 25px; font-family: var(--main-font-family); font-size: 12px; }
.demo-notice { padding: 8px 12px; margin: 0 0 15px; background: #fff8d8; border: 1px solid #e8da9d; border-radius: 4px; color: #665b2f; line-height: 18px; }
.demo-notice strong { font-weight: normal; margin-right: 7px; }
.demo-dot { display: none; }
.page-intro { margin-bottom: 15px; }
.page-intro h1 { margin: 0 0 10px; border-radius: 8px; color: white; background: #366383; font: 18px/34px Tahoma, Arial, "sans serif"; text-align: center; }
.page-intro .intro-subtitle { color: #222; margin: 5px 0; font-size: 12px; line-height: 18px; }
.samo_container .back-link { background: transparent; color: #007355; border: 0; box-shadow: none; padding: 0; font: 12px Tahoma, Arial, "sans serif"; letter-spacing: 0; margin: 2px 0 7px; text-decoration: underline; text-underline-offset: 2px; }
.samo_container .back-link:hover { background: transparent; color: #f36f21; }
.steps, .eyebrow, .section-number { display: none; }
.payment-card { background: #f5f5f5; border-radius: 8px; box-shadow: 0 2px 8px #e0e0e0; padding: 15px 20px; }
.card-section { padding: 0; }
.card-section + .card-section { margin-top: 20px; padding-top: 15px; border-top: 1px solid #ddd; }
.section-title { margin: 0 0 15px; font: bold 13px Tahoma, Arial, "sans serif"; color: #366383; }
.claim-row { display: flex; align-items: flex-end; gap: 12px; max-width: 590px; }
.field { min-width: 0; }
.claim-row .field { flex: 1; }
.field label { display: block; font-size: 12px; margin: 0 0 6px; }
.samo_container input { border: 1px solid #999; border-radius: 5px; padding: 1px 2px; font: 13px/18px Arial, sans-serif; height: 22px; background: white; color: #222; width: 100%; margin: 0; }
.samo_container input:focus { outline: 1px solid #40759c; border-color: #40759c; }
.samo_container input[aria-invalid="true"] { border-color: #c62828; outline-color: #c62828; }
.samo_container input:disabled { background: #e3e3e3; }
.samo_container .claim-input { text-transform: uppercase; }
.samo_container .primary, .samo_container .secondary { display: inline-flex; justify-content: center; align-items: center; gap: 10px; cursor: pointer; padding: 8px 16px; color: white; background: #366383; font: bold 14px Arial, sans-serif; text-align: center; text-decoration: none; letter-spacing: .25px; border: 0; border-radius: 4px; box-shadow: 0 2px 4px #dbdbdb; transition: background .25s; margin: 2px 0; min-height: 32px; }
.samo_container .primary:hover, .samo_container .secondary:hover { background: #40759c; }
.samo_container .primary:disabled, .samo_container .secondary:disabled { color: #9e9e9e; background: #dfdfdf; }
.field-hint { color: #666; font: 11px/17px Tahoma, Arial, "sans serif"; margin: 6px 0 0; }
.claim-summary { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 12px; }
.claim-summary th { background: #366383; color: white; padding: 7px 10px; font-weight: normal; text-align: left; }
.claim-summary td { background: #f6f9fb; border-bottom: 1px solid #8e959a; padding: 10px; font-variant-numeric: tabular-nums; }
.claim-summary th, .claim-summary td { width: 33.333%; }
.claim-status { font-size: 12px; color: #222; margin-top: 10px; }
.status-dot { display: none; }
.amount-layout { display: flex; align-items: flex-start; gap: 45px; }
.amount-layout > .field { width: 300px; }
.amount-control { position: relative; width: 220px; }
.samo_container .amount-control input { padding-right: 25px; }
.currency-symbol { position: absolute; right: 9px; top: 2px; font: 13px Arial, sans-serif; color: #222; }
.samo_container .full-amount { background: transparent; box-shadow: none; border: 0; padding: 0; color: #007355; font: 11px Tahoma, Arial, "sans serif"; text-decoration: underline; text-underline-offset: 2px; letter-spacing: 0; margin-top: 6px; }
.samo_container .full-amount:hover { color: #f36f21; background: transparent; }
.samo_container .full-amount:disabled { color: #999; background: transparent; }
.cost-breakdown { max-width: 430px; flex: 1; padding-top: 2px; }
.cost-line { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; line-height: 20px; }
.cost-line span:last-child { white-space: nowrap; }
.cost-line.total { margin-top: 5px; border-top: 1px solid #ccc; padding-top: 5px; }
.cost-line.total span:last-child { font-weight: bold; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.secure-copy { display: flex; gap: 8px; align-items: center; font-size: 11px; line-height: 17px; color: #666; }
.secure-copy svg { width: 14px; height: 20px; color: #007355; }
.empty-state { color: #666; text-align: left; font-size: 12px; line-height: 18px; }
.notice { padding: 9px 12px; margin-top: 12px; font-size: 12px; line-height: 18px; background: #fff8d8; border: 1px solid #e8da9d; border-radius: 4px; }
.notice.error { color: #a32020; border-color: #e7b3b3; background: #fff0f0; }
.notice.success { color: #007355; border-color: #b2d2c8; background: #edf7f2; }
.field-error { color: #c62828; margin: 6px 0; font-size: 11px; }
.demo-examples { margin-top: 20px; padding: 0; font-size: 12px; }
.demo-examples summary { cursor: pointer; color: #007355; padding: 6px 0; }
.examples-content { padding: 8px 0; }
.examples-content > p { margin: 0 0 10px; font-size: 11px; color: #666; }
.example-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.samo_container .example { background: #f5f5f5; color: #222; font: 12px Tahoma, Arial, "sans serif"; letter-spacing: 0; text-align: left; border-radius: 8px; padding: 10px; box-shadow: 0 2px 8px #e0e0e0; }
.samo_container .example:hover { background: #eee; }
.example strong { display: block; color: #007355; margin-bottom: 4px; font-weight: normal; }
.example span { color: #666; font-size: 11px; }
.support-line { font-size: 11px; color: #666; margin: 15px 0; }
.site-footer { display: flex; justify-content: space-between; font-size: 11px; padding: 15px 0 25px; margin-top: 15px; color: #007355; }
.loading-card { color: #666; padding: 20px; background: #f5f5f5; border-radius: 8px; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.methods { display: flex; gap: 10px; padding: 0; margin: 10px 0 15px; }
.samo_container .method { flex: 1; display: block; text-align: left; background: white; color: #007355; font: 12px Tahoma, Arial, "sans serif"; border: 1px solid #ccc; border-radius: 8px; box-shadow: none; letter-spacing: 0; padding: 12px; }
.samo_container .method:hover:enabled { background: #f6f9fb; }
.samo_container .method.selected { border-color: #366383; background: #e3e7ea; color: #222; }
.samo_container .method:disabled { color: #999; background: #e3e3e3; }
.method-icon, .radio-dot { display: none; }
.method-name, .method-description, .method-fee { display: block; }
.method-description, .method-fee { font-size: 10px; margin-top: 5px; }
.disabled-note { font-size: 11px; color: #666; margin: 0 0 12px; }
.waiting-header { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 18px; }
.waiting-header .section-title { margin: 0; }
.status-badge { color: #366383; font-size: 11px; }
.waiting-layout { display: flex; gap: 35px; }
.waiting-layout > div { flex: 1; }
.payment-total { font-size: 20px; color: #222; font-weight: normal; margin: 10px 0 15px; }
.summary-label { color: #666; font-size: 12px; }
.details-list { margin: 0; font-size: 12px; }
.details-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px solid #ddd; }
.details-list dt { color: #666; }
.details-list dd { margin: 0; text-align: right; }
.checkout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 15px; }
.bank-info { width: 220px; padding: 15px; border: 1px solid #ddd; border-radius: 8px; background: white; }
.bank-info p { font-size: 11px; line-height: 17px; color: #666; }
.bank-symbol svg { display: block; width: 30px; height: 40px; color: #007355; margin: 0 auto 15px; }
.result-body { padding: 10px 0; max-width: 600px; margin: 0 auto; }
.result-icon { color: #007355; font: 28px Arial, sans-serif; }
.result-icon.failure { color: #c62828; }
.result-title { font-size: 16px; font-weight: normal; color: #366383; margin: 10px 0; }
.result-copy { font-size: 12px; line-height: 18px; }
.result-body .primary { margin-top: 20px; }
.test-bank-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 20px; }
.bank-name { font-size: 16px; }
.bank-name span { color: #ef3124; font-weight: bold; margin-right: 5px; }
.standalone-bank { max-width: 800px; margin: auto; }
.simulator-copy { color: #666; font-size: 12px; margin-top: 15px; }
.simulation-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 15px 0; }
.spinner { display: inline-block; width: 12px; height: 12px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skip-link { position: absolute; top: -100px; left: 10px; background: white; color: #007355; padding: 10px; z-index: 20; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  #header .high-menu { grid-template-columns: 17% 25% 58%; height: auto; min-height: 72px; }
  #header .note-header { flex-wrap: wrap; justify-content: flex-end; }
  #header .note-header > img { max-width: 100%; height: auto; }
  #header .header-payment { margin-left: auto; margin-bottom: 0; }
  #header .menu li a { padding: 15px 11px; }
}
@media (max-width: 700px) {
  :root { --main-container-width: calc(100% - 24px); }
  #header .high-menu { grid-template-columns: 140px 1fr; grid-template-areas: "logo note"; padding-top: 8px; min-height: 66px; }
  #header .currency-header { display: none; }
  #header .note-header { align-items: flex-start; justify-content: flex-end; }
  #header .note-header > img { display: none; }
  #header .header-payment { align-self: flex-start; margin-top: 8px; }
  #header .header-payment img { width: 126px; height: 27px; }
  #header .top-baner .slider { margin: 8px 0 12px; border-radius: 10px; }
  #header .top-baner button { padding: 5px; font-size: 10px; }
  #header .top-baner button.prev { left: 5px; }
  #header .slider button.next { right: 5px; }
  #header .menu ul.nav-center { display: flex; flex-wrap: wrap; width: 100%; }
  #header .menu li { display: block; }
  #header .menu li a { padding: 10px 9px; font-size: 11px; }
  #header .menu ul ul { display: none; }
  .page-shell { padding-top: 18px; }
  .payment-card { padding: 15px; }
  .amount-layout { flex-direction: column; gap: 15px; }
  .amount-layout > .field { width: 100%; }
  .cost-breakdown { max-width: none; width: 100%; }
  .waiting-layout { flex-direction: column; gap: 20px; }
  .bank-info { width: 100%; }
  .bank-symbol { display: none; }
  .example-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .claim-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .samo_container .claim-row .primary { align-self: flex-start; }
  .claim-summary th, .claim-summary td { padding: 8px 5px; font-size: 10px; }
  .amount-control { width: 100%; }
  .submit-row { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .example-list { grid-template-columns: 1fr; }
  .site-footer { font-size: 10px; }
  .methods { flex-direction: column; }
  .simulation-buttons { grid-template-columns: 1fr; }
  .test-bank-heading { flex-direction: column; align-items: flex-start; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
