﻿/* Credit-check Figma full-page flow ? full viewport (not phone frame) */
:root {
  --ccp-navy: #0b132b;
  --ccp-navy-2: #000d21;
  --ccp-blue: #2b65ec;
  --ccp-blue-2: #2563eb;
  --ccp-green: #0d9b6c;
  --ccp-teal: #1a9b8a;
  --ccp-text: #0f172a;
  --ccp-muted: #64748b;
  --ccp-line: #e2e8f0;
  --ccp-soft: #f8fafc;
  --ccp-radius: 16px;
  --ccp-shadow: 0 8px 20px rgba(37, 99, 235, .22);
  --ccp-content-w: 336px;
  --ccp-vh: 100dvh;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: "PeydaFaNum", "Vazirmatn", Tahoma, sans-serif;
  background: #fff;
  color: var(--ccp-text);
  direction: rtl;
}
body.ccp-lock { overflow: auto; }

body {
  min-height: var(--ccp-vh);
  display: block;
  overflow: auto;
}
.ccp-stage {
  width: 100%;
  min-height: var(--ccp-vh);
  position: relative;
  flex: none;
}
.ccp-app {
  width: 100%;
  min-height: var(--ccp-vh);
  background: #fff;
  position: relative;
  left: auto;
  top: auto;
  display: flex;
  flex-direction: column;
  transform: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.ccp-app.is-tall,
.ccp-stage.is-tall {
  height: auto;
  min-height: var(--ccp-vh);
}

.ccp-screen {
  display: none;
  flex: 1;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: var(--ccp-vh);
  max-height: var(--ccp-vh);
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
.ccp-screen.is-active {
  display: flex;
}
.ccp-screen--form,
.ccp-screen--pay,
.ccp-screen--result {
  overflow: auto;
  max-height: none;
}

/* Intro + flow header — full-width navy curve + centered brand logo */
.ccp-intro-header,
.ccp-flow-header {
  position: relative;
  width: 100%;
  height: 140px;
  min-height: 140px;
  box-sizing: border-box;
  background-color: #fff;
  background-image: url("/images/credit-check-page/header-curve.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 140px;
  color: #fff;
  padding: 33px 0 0;
  border: 0;
  border-bottom: 0;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 140px;
  z-index: 1;
  overflow: hidden;
}
.ccp-flow-header__inner { display: none; }
.ccp-flow-header--pay {
  height: 140px;
  min-height: 140px;
  flex-basis: 140px;
  padding: 20px 0 0;
  background-size: 100% 140px;
}
.ccp-pay-header__inner {
  width: 184px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.ccp-pay-header__inner h1 {
  margin: 0;
  color: #f8fafc;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}
.ccp-pay-header__inner p {
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}
.ccp-pay-header__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.ccp-pay-header__badge i {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  opacity: .9;
}
.ccp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 70px;
  text-decoration: none;
  line-height: 0;
}
.ccp-logo__img {
  width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 600px) and (min-height: 800px) {
  /* Keep intro header compact so CTA stays in the first viewport */
  .ccp-intro-header {
    height: 140px;
    min-height: 140px;
    flex-basis: 140px;
    padding-top: 33px;
    background-size: 100% 140px;
  }

  .ccp-flow-header {
    height: 190px;
    min-height: 190px;
    flex-basis: 190px;
    padding-top: 61px;
    background-size: 100% 190px;
  }

  .ccp-flow-header--pay {
    height: 140px;
    min-height: 140px;
    flex-basis: 140px;
    padding-top: 20px;
    background-size: 100% 140px;
  }

  .ccp-logo {
    width: 236px;
    height: 75px;
  }

  .ccp-logo__img {
    width: 236px;
  }

  .ccp-screen--auth .ccp-auth {
    gap: 43px;
  }

  .ccp-screen--auth .ccp-auth__block {
    min-height: 195px;
  }
}

.ccp-intro-body {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px 96px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.ccp-intro-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
}
.ccp-intro-text {
  margin: 0;
  color: var(--ccp-muted);
  line-height: 1.65;
  font-size: 14px;
  text-align: right;
  white-space: pre-line;
}
.ccp-intro-art {
  margin: 20px auto 0;
  width: min(260px, 100%);
  height: auto;
  max-width: 260px;
  max-height: min(280px, 34vh);
  align-self: center;
  display: block;
  object-fit: contain;
}

.ccp-dock {
  position: absolute;
  left: max(16px, calc((100% - 380px) / 2));
  right: max(16px, calc((100% - 380px) / 2));
  transform: none;
  width: auto;
  top: auto;
  bottom: 36px;
  margin-top: 0;
  padding: 0;
  background: transparent;
  display: flex;
  gap: 10px;
  direction: ltr;
  z-index: 2;
}
.ccp-btn {
  flex: 1;
  border: 0;
  border-radius: 999px;
  min-height: 52px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.ccp-btn--primary {
  background: linear-gradient(171deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
  box-shadow: var(--ccp-shadow);
}
.ccp-btn--ghost {
  background: #fff;
  color: var(--ccp-blue-2);
  border: 1px solid #dbe3f0;
}
.ccp-btn:disabled { opacity: .55; cursor: not-allowed; }

.ccp-body {
  flex: 1;
  padding: 18px 20px 110px;
}

/* Auth ? content at Figma (38, 317) w:336; button stays in the group */
.ccp-screen--auth { background: #fff; }
.ccp-auth {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  max-width: var(--ccp-content-w);
  margin: 48px auto 40px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  box-sizing: border-box;
  z-index: 1;
  flex: 1;
  justify-content: center;
}
.ccp-auth > .ccp-error {
  flex: 0 0 auto;
  margin: 0;
  min-height: 0;
}
.ccp-auth__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 159px;
  gap: 16px;
}
.ccp-auth__copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.ccp-auth__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #0f172a;
}
.ccp-auth__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: #64748b;
}
.ccp-auth__sub strong {
  color: #191919;
  font-weight: 700;
}
.ccp-field--auth {
  margin: 0;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
}
.ccp-field--auth .ccp-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  text-align: right;
  color: #0f172a;
}
.ccp-input--phone {
  min-height: 37px;
  height: 37px;
  border-radius: 10px;
  padding: 8px 36px 8px 12px;
  font-size: 14px;
  text-align: right;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.ccp-input-wrap {
  position: relative;
  width: 100%;
}
.ccp-input {
  width: 100%;
  font-family: inherit;
  outline: none;
}
.ccp-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.ccp-btn--auth {
  display: flex;
  direction: ltr;
  width: 100%;
  flex: 0 0 auto;
  align-self: stretch;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 0;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13.3px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(172deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow: 0 8px 20px 0 rgba(37, 99, 235, .22);
}
.ccp-btn--auth img {
  width: 24px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}
.ccp-btn--auth span {
  display: inline-block;
  padding-inline-start: 8px;
}
.ccp-btn--dock {
  position: absolute;
  left: max(38px, calc((100% - 336px) / 2));
  right: max(38px, calc((100% - 336px) / 2));
  transform: none;
  top: auto;
  bottom: 24px;
  width: auto;
  z-index: 2;
  margin: 0;
}

.ccp-link--edit,
.ccp-link--resend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.ccp-otp {
  position: relative;
  display: flex;
  direction: ltr;
  gap: 8px;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}
.ccp-otp__slots {
  display: flex;
  gap: 8px;
  width: 100%;
  pointer-events: none;
}
.ccp-otp__slots span {
  flex: 1;
  height: 52px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ccp-otp__slots span.is-filled {
  background: #fff;
  border-color: #cbd5e1;
}
.ccp-otp__slots span.is-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  background: #fff;
}
.ccp-otp__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font-size: 16px; /* prevents iOS zoom */
  letter-spacing: 0;
  z-index: 2;
  outline: none;
  -webkit-text-fill-color: transparent;
  -webkit-user-select: text;
  user-select: text;
}

/* Form panel at Figma (38, 317); CTA at y:753 */
.ccp-form {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  max-width: var(--ccp-content-w);
  margin: 36px auto 120px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  box-sizing: border-box;
  z-index: 1;
  flex: 1;
}
.ccp-form__main {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}
.ccp-form__main .ccp-auth__copy {
  gap: 4px;
  text-align: right;
  align-items: flex-start;
}
.ccp-form__main .ccp-auth__title,
.ccp-form__main .ccp-auth__sub {
  text-align: right;
  width: 100%;
}
.ccp-form__main .ccp-field--auth { width: 100%; gap: 4px; }
.ccp-form > .ccp-error { margin: 0; min-height: 0; }
.ccp-input--soft {
  min-height: 37px;
  height: 37px;
  border-radius: 10px;
  padding: 8px 36px 8px 12px;
  font-size: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: right;
}
.ccp-input--soft[dir="ltr"] { text-align: right; }

/* dir=rtl: flex row places first step on the RIGHT (start) */
.ccp-stepper--figma {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 0;
  padding: 0 12px;
  gap: 0;
  height: 44px;
  width: 100%;
  overflow: visible;
  direction: rtl;
}
.ccp-stepper--figma::before,
.ccp-stepper--figma::after {
  content: "";
  position: absolute;
  top: 9px;
  height: 2px;
  z-index: 0;
  border-radius: 1px;
}
.ccp-stepper--figma::before {
  right: 48px;
  width: calc(50% - 48px);
  background: #2563eb;
}
.ccp-stepper--figma::after {
  left: 48px;
  width: calc(50% - 48px);
  background: #e2e8f0;
}
.ccp-stepper--figma .ccp-stepper__item {
  position: relative;
  z-index: 1;
  flex: 0 0 51px;
  width: 51px;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  color: #64748b;
}
.ccp-stepper--figma .ccp-stepper__dot {
  width: 20px;
  height: 20px;
  border-radius: 40px;
  margin: 0 auto 4px;
  background: #64748b;
  border: 0;
  box-shadow: none;
}
.ccp-stepper--figma .ccp-stepper__item.is-done .ccp-stepper__dot,
.ccp-stepper--figma .ccp-stepper__item.is-active .ccp-stepper__dot {
  background: #2563eb;
}
.ccp-stepper--figma .ccp-stepper__item.is-done,
.ccp-stepper--figma .ccp-stepper__item.is-active {
  color: #2563eb;
}

.ccp-stepper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  margin: 0;
  padding: 0 8px;
  direction: rtl;
}
.ccp-stepper::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: #e2e8f0;
}
.ccp-stepper__item {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 10px;
  color: #64748b;
  width: 64px;
}
.ccp-stepper__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 auto 4px;
  background: #64748b;
}
.ccp-stepper__item.is-done .ccp-stepper__dot,
.ccp-stepper__item.is-active .ccp-stepper__dot {
  background: #2563eb;
}
.ccp-stepper__item.is-active { color: var(--ccp-blue); font-weight: 700; }

.ccp-h {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.ccp-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--ccp-muted);
  text-align: center;
}
.ccp-error {
  color: #dc2626;
  font-size: 12px;
  min-height: 18px;
  margin: 4px 0 0;
  text-align: center;
}
.ccp-muted { color: var(--ccp-muted); font-size: .88rem; text-align: center; }

.ccp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
}
.ccp-choice {
  position: relative;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 10px;
  min-height: 37px;
  padding: 8px 12px;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 400;
  font-size: 14px;
  text-align: right;
  color: #88919f;
  width: 100%;
  box-sizing: border-box;
}
.ccp-choice__label {
  line-height: normal;
  flex: 0 1 auto;
  text-align: right;
}
.ccp-choice__radio {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
  border: 0;
  box-sizing: border-box;
  background: transparent url("/images/credit-check-page/icon-radio.svg") center / 16px 16px no-repeat;
}
.ccp-choice.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
  color: #0f172a;
  font-weight: 600;
}
.ccp-choice.is-selected .ccp-choice__radio {
  border-radius: 50%;
  border: 2px solid #2563eb;
  background: radial-gradient(circle at center, #2563eb 0 4px, #fff 5px 100%);
}
/* full-row option — same radio+label cluster as others, centered in the wide row */
.ccp-choice--full {
  grid-column: span 2;
  width: 100%;
  justify-content: center;
}

.ccp-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  padding: 18px 16px;
}
.ccp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ccp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 600;
}
.ccp-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ccp-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5z'/%3E%3C/svg%3E") center/12px no-repeat;
  flex: 0 0 auto;
}
.ccp-section-title {
  margin: 18px 0 8px;
  font-weight: 800;
}
.ccp-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  margin: 12px 0;
}
.ccp-pay-fee {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 8px 0 16px;
}
.ccp-label {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: right;
}
.ccp-active-count { margin-top: 12px; }
.ccp-otp-timer { margin: 0; width: 100%; }

.ccp-hidden { display: none !important; }
.ccp-link {
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.ccp-terms { margin-top: 12px; font-size: .9rem; }

/* Pay — Figma 4:1218: card under header, paybar directly under card */
.ccp-screen--pay {
  height: auto;
  min-height: var(--ccp-vh);
  overflow: visible;
  padding-bottom: 24px;
  background: #fff;
}
.ccp-pay-shell {
  width: 100%;
  max-width: 412px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ccp-pay {
  position: relative;
  width: 100%;
  max-width: 356px;
  min-height: 644px;
  margin: 32px auto 0;
  padding: 16px;
  box-sizing: border-box;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  box-shadow: 0 0 5px rgba(0,0,0,.1);
}
.ccp-pay .ccp-h {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  color: #0f172a;
  width: 100%;
}
.ccp-pay__block {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.ccp-pay .ccp-section-title {
  margin: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #0f172a;
  width: 100%;
}
.ccp-pay .ccp-section-title--dark {
  color: #000;
}
.ccp-pay .ccp-auth__sub {
  text-align: center;
  margin: 0;
  font-size: 10px;
  line-height: 20px;
  color: #000;
  width: 100%;
}
.ccp-list--pay {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.ccp-list--pay li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #0f172a;
  text-align: right;
}
.ccp-list--pay li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.4 11.1 12.5 4.9'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  flex: 0 0 20px;
  order: -1;
}
.ccp-pay .ccp-terms {
  margin: 0;
  width: 100%;
  max-width: 324px;
  min-height: 108px;
  padding: 8px;
  border-radius: 12px;
  background: #e7f1fc;
  border: 1px solid #2563eb;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  text-align: right;
}
.ccp-pay .ccp-terms__text {
  margin: 0;
  width: 100%;
  text-align: right;
  color: #7b899a;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}
.ccp-pay .ccp-check {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
}
.ccp-pay .ccp-check span {
  line-height: 1.4;
  text-align: right;
  flex: 0 1 auto;
}
.ccp-pay .ccp-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #2563eb;
  border-radius: 5px;
  background: #fff;
  margin: 0;
  flex: 0 0 16px;
  cursor: pointer;
  box-sizing: border-box;
}
.ccp-pay .ccp-check input:checked {
  background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5z'/%3E%3C/svg%3E") center/12px no-repeat;
  border-color: #2563eb;
}
.ccp-pay .ccp-link--terms {
  display: inline-flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  color: #2563eb;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  direction: rtl;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  width: auto;
  max-width: 100%;
}
.ccp-pay .ccp-link--terms i {
  font-size: 12px;
  line-height: 1;
}
.ccp-pay > .ccp-error {
  margin: 0;
  min-height: 0;
  width: 100%;
}
.ccp-paybar {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  max-width: 354px;
  min-height: 64px;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  direction: ltr;
  z-index: 2;
  margin: 0 auto;
  padding: 10px 12px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.ccp-paybar__price {
  text-align: right;
  direction: rtl;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.ccp-paybar__row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: nowrap;
  direction: rtl;
}
.ccp-paybar__label {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
}
.ccp-paybar__amount {
  color: #008966;
  font-size: 16px;
  font-weight: 800;
  line-height: 27px;
  letter-spacing: -.15px;
  white-space: nowrap;
}
.ccp-paybar__currency {
  color: #008966;
  font-size: 16px;
  font-weight: 800;
  line-height: 27px;
  white-space: nowrap;
}
.ccp-paybar__price small {
  display: block;
  color: #757575;
  font-size: 9.8px;
  font-weight: 400;
  line-height: 15px;
  text-align: right;
}
.ccp-btn--pay {
  width: auto;
  min-width: 158px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 14px;
  min-height: 44px;
  height: 44px;
  font-weight: 800;
  font-size: 12.6px;
  letter-spacing: -.13px;
  color: #fff;
  cursor: pointer;
  background: #008966;
  box-shadow: 0 0 11px rgba(0,137,102,.2);
  font-family: inherit;
  padding: 12px 14px;
  white-space: nowrap;
}
.ccp-pay-secure {
  margin: 0 0 8px;
  text-align: center;
  color: #757575;
  font-size: 9.8px;
  line-height: 15.68px;
}
/* Result ? Figma 4:1289 (taller 412?1106) */
.ccp-app.is-tall { height: 1106px; }
.ccp-stage.is-tall { height: calc(1106px * var(--ccp-scale)); }
.ccp-screen--result {
  background: #f8fafc;
  overflow: auto;
}
.ccp-result {
  padding: 72px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ccp-result__note {
  width: 100%;
  max-width: 357px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  padding: 12px;
  font-size: 12.6px;
  line-height: 1.45;
  color: #2563eb;
  text-align: center;
}
.ccp-result__note strong { color: #0f172a; }
.ccp-result__success {
  width: 100%;
  max-width: 358px;
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,.1);
  text-align: center;
}
.ccp-result__check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34,168,126,.63);
  display: grid;
  place-items: center;
  margin: 4px 0 8px;
}
.ccp-result__check::after {
  content: "";
  width: 44px;
  height: 42px;
  border-radius: 48px;
  background: #059669 url("/images/credit-check-page/icon-check-white.svg") center / 16px 11px no-repeat;
}
.ccp-result__check img { display: none; }
.ccp-result__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}
.ccp-result__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}
.ccp-result__track {
  background: #e7f1fc;
  border-radius: 12px;
  padding: 12px;
  min-width: 140px;
}
.ccp-result__track-label {
  font-size: 12px;
  font-weight: 800;
  color: #0d6efd;
  margin-bottom: 8px;
}
.ccp-result__track-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ccp-result__track-row code {
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.ccp-result__copy {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}
.ccp-result__hint {
  margin: 4px 0 0;
  font-size: 12.6px;
  font-weight: 800;
  color: #0d6efd;
}
.ccp-result__video {
  width: 100%;
  max-width: 353px;
  height: 184px;
  background: #0f172a;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 5px rgba(0,0,0,.1);
}
.ccp-result__loans {
  width: 100%;
  max-width: 352px;
  background: #e4ecff;
  border-radius: 19px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 5px rgba(0,0,0,.1);
  text-align: center;
}
.ccp-result__loans-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
}
.ccp-result__loans-title span {
  color: #2563eb;
  font-weight: 800;
}
.ccp-result__loans-sub {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.ccp-result__features {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
}
.ccp-result__features > div {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.ccp-result__q {
  display: block;
  width: 100%;
  max-width: 245px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 11px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.ccp-result__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  text-decoration: none;
  font-size: 12.6px;
  font-weight: 500;
}
.ccp-result__actions {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 344px;
  justify-content: center;
}
.ccp-result__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 37px;
  border-radius: 8px;
  font-size: 12.6px;
  font-weight: 800;
  text-decoration: none;
  box-sizing: border-box;
}
.ccp-result__btn--outline {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: #fff;
}
.ccp-result__btn--solid {
  background: #2563eb;
  color: #fff;
  border: 0;
}

/* Custom alert modal — no CDN / no SweetAlert */
.ccp-alert {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .18s ease;
  font-family: inherit;
  direction: rtl;
}
.ccp-alert.is-in { opacity: 1; }
.ccp-alert.is-out { opacity: 0; }
.ccp-alert__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
}
.ccp-alert__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.15rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
  text-align: center;
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease;
}
.ccp-alert.is-in .ccp-alert__card { transform: none; }
.ccp-alert__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto .75rem;
  border-radius: 50%;
  border: 3px solid #f59e0b;
  background: #fffbeb
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 8v5'/%3E%3Ccircle cx='12' cy='16.5' r='1' fill='%23f59e0b' stroke='none'/%3E%3C/svg%3E")
    center / 28px 28px no-repeat;
}
.ccp-alert--error .ccp-alert__icon {
  border-color: #dc2626;
  background: #fef2f2
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E")
    center / 26px 26px no-repeat;
}
.ccp-alert__title {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}
.ccp-alert__text {
  margin: 0;
  font-size: .92rem;
  color: #475569;
  line-height: 1.75;
}
.ccp-alert__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  margin-top: .95rem;
  padding: .65rem 1.25rem;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
}
.ccp-alert--error .ccp-alert__btn { background: #dc2626; }
.ccp-alert__btn:focus {
  outline: 2px solid rgba(37, 99, 235, .35);
  outline-offset: 2px;
}

