
:root {
  --purple: #2e1b44;
  --purple-dark: #241436;
  --teal: #087f82;
  --teal-dark: #066b6e;
  --teal-soft: #edf8f8;
  --background: #f7f8fa;
  --surface: #ffffff;
  --field-background: #fafbfc;
  --text: #17203a;
  --muted: #6d7487;
  --border: #e3e7ed;
  --shadow: 0 8px 24px rgba(24, 32, 56, 0.07);
  --radius-large: 17px;
  --radius-medium: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  font-family: "Tajawal", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
}

button {
  font: inherit;
}

/* هيدر قصير وموف ثابت */
.site-header {
  width: 100%;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  width: auto;
  max-width: 115px;
  height: 46px;
  object-fit: contain;
  margin-bottom:7px;
}

/* عرض الصفحة أصغر على شاشات الويب */
.page-container {
  width: min(100% - 28px, 680px);
  margin: 0 auto;
  padding: 26px 0 34px;
}

.page-intro {
  margin-bottom: 20px;
  text-align: center;
}

.page-intro h1 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(27px, 4vw, 34px);
  font-weight: 800;
}

.page-intro p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.content-card {
  padding: 21px;
  border: 1px solid rgba(229, 232, 238, 0.9);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card + .content-card {
  margin-top: 19px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.section-title h2 {
  margin: 0;
  color: var(--purple);
  font-size: 19px;
  font-weight: 800;
}

.title-icon,
.row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

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

.row-icon {
  width: 21px;
  height: 21px;
}

.title-icon svg,
.row-icon svg,
.continue-button svg,
.security-text svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.data-list {
  display: grid;
  gap: 7px;
}

.data-row {
  min-height: 57px;
  display: grid;
  grid-template-columns: minmax(155px, 1fr) minmax(160px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--field-background);
}

.row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3f465a;
  font-size: 13px;
  font-weight: 500;
}

.data-row > strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  overflow-wrap: anywhere;
}

.data-row .amount {
  color: var(--teal);
  font-size: 18px;
  font-weight: 800;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.payment-option {
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 20px 14px;
  border: 1.5px solid #d3d8e1;
  border-radius: 13px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.payment-option:hover,
.payment-option:focus-visible {
  transform: translateY(-1px);
  border-color: var(--teal);
  box-shadow: 0 7px 18px rgba(8, 127, 130, 0.1);
  outline: none;
}

.payment-option.selected {
  border-color: var(--teal);
  box-shadow: 0 6px 16px rgba(8, 127, 130, 0.08);
}

.radio-circle {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 20px;
  height: 20px;
  border: 2px solid #b8bfca;
  border-radius: 50%;
  background: #ffffff;
}

.payment-option.selected .radio-circle {
  border: 5px solid var(--teal);
}

.provider-logo {
  min-width: 105px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 15px;
  border-radius: 10px;
  color: #12182b;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.tabby-logo {
  background: #35e5aa;
  font-family: Arial, sans-serif;
  letter-spacing: -1.5px;
}

.tamara-logo {
  background: linear-gradient(
    120deg,
    #ffd269 0%,
    #ffa986 35%,
    #e99bc2 68%,
    #8d70c9 100%
  );
  font-size: 23px;
}

.provider-description {
  display: grid;
  gap: 4px;
  text-align: center;
}

.provider-description strong {
  font-size: 14px;
  font-weight: 800;
}

.provider-description small {
  color: var(--muted);
  font-size: 12px;
}

.payment-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 9px;
  color: #35415a;
  background: var(--teal-soft);
}

.notice-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--teal);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.payment-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.continue-button {
  width: 100%;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 18px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: var(--teal);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.continue-button:hover,
.continue-button:focus-visible {
  background: var(--teal-dark);
  transform: translateY(-1px);
  outline: none;
}

.continue-button svg {
  width: 19px;
  height: 19px;
}

.security-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 15px 0 0;
  color: #757d8e;
  font-size: 11px;
  font-weight: 500;
}

.security-text svg {
  width: 15px;
  height: 15px;
}

.demo-message {
  min-height: 17px;
  margin: 8px 0 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: rgba(255, 255, 255, 0.9);
  background: var(--purple);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.payment-logo{
display:block;
max-width:140px;
max-height:52px;
width:auto;
height:auto;
object-fit:contain;
margin:auto;
}

.payment-logo.mis{
  max-width: 145px;
  max-height: 58px;
}

.payment-logo.tamara{
  max-width:200px;
  max-height: 102px;
}
.policy-title{
  color:#2e1b44;
  font-size:28px;
  font-weight:800;
  margin-bottom:30px;
  text-align:center;
}

.policy-content{
  line-height:2;
  color:#444;
}

.policy-content h2{
  color:#2e1b44;
  margin-bottom:15px;
}

@media (max-width: 600px) {
  .site-header {
    height: 58px;
  }

  .header-logo {
    height: 34px;
  }

  .page-container {
    width: min(100% - 20px, 680px);
    padding: 22px 0 28px;
  }

  .content-card {
    padding: 17px 13px;
  }

  .data-row {
    grid-template-columns: minmax(125px, 1fr) minmax(110px, 1fr);
    gap: 9px;
    padding: 10px 11px;
  }

  .row-label {
    font-size: 12px;
  }

  .data-row > strong {
    font-size: 13px;
  }

  .payment-option {
    min-height: 155px;
  }
}

@media (max-width: 430px) {
  .payment-options {
    grid-template-columns: 1fr;
  }

  .payment-option {
    min-height: 142px;
  }

  .data-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .data-row > strong {
    padding-right: 29px;
    text-align: right;
  }

  .payment-notice {
    align-items: flex-start;
  }
}

@media (max-width: 350px) {
  .page-container {
    width: calc(100% - 14px);
  }

  .page-intro h1 {
    font-size: 26px;
  }

  .content-card {
    padding: 15px 10px;
  }
}