/**
 * @file
 * Styles for therapist license purchase success page.
 */

.tp-page {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--tl-bg, #F7F5F2);
  color: var(--tl-text, #202020);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 60px;
}

/* ── Card ── */
.tp-card {
  width: 100%;
  max-width: 560px;
  background: var(--tl-white, #ffffff);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 8px 48px rgba(7, 73, 72, 0.07);
  text-align: center;
}

/* ── Success icon ── */
.tp-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tp-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.tp-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--tl-success, #27AE60);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tp-success-icon svg .tp-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: tp-draw-check 0.45s ease 0.55s forwards;
}

@keyframes tp-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes tp-draw-check {
  to { stroke-dashoffset: 0; }
}

/* ── Title ── */
.tp-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--tl-text, #202020);
  margin-bottom: 12px;
  animation: tp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.tp-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--tl-text-muted, rgba(32, 32, 32, 0.58));
  margin-bottom: 32px;
  animation: tp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

@keyframes tp-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Info block ── */
.tp-info-block {
  background: var(--tl-bg, #F7F5F2);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 16px;
  text-align: left;
  animation: tp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.tp-info-block-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tp-info-block-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--tl-blue, #074948);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.tp-info-block-icon span {
  font-size: 14px;
  font-weight: 600;
  color: var(--tl-text, #202020);
}

.tp-info-block p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--tl-text-muted, rgba(32, 32, 32, 0.58));
  margin: 0;
}

/* ── Telegram CTA ── */
.tp-tg-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--tl-blue, #074948) 10%, var(--tl-gold, #E1C59D) 90%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(7, 73, 72, 0.25),
              0 2px 8px rgba(225, 197, 157, 0.15);
  transition: all 0.35s ease;
  text-decoration: none;
  animation: tp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

.tp-tg-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(7, 73, 72, 0.35),
              0 4px 16px rgba(225, 197, 157, 0.2);
  color: #fff;
  text-decoration: none;
}

.tp-tg-cta svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ── Support ── */
.tp-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--tl-bg, #F7F5F2);
  border-radius: 14px;
  animation: tp-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
}

.tp-support-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(7, 73, 72, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-support-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--tl-blue, #074948);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tp-support-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--tl-text-muted, rgba(32, 32, 32, 0.58));
  text-align: left;
}

.tp-support-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--tl-text, #202020);
  margin-bottom: 1px;
}

.tp-support-email {
  color: var(--tl-blue, #074948);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(7, 73, 72, 0.2);
  text-underline-offset: 2px;
}

.tp-support-email:hover {
  text-decoration-color: var(--tl-blue, #074948);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .tp-page { padding: 32px 16px 48px; }

  .tp-card {
    padding: 36px 24px;
    border-radius: 16px;
  }

  .tp-title { font-size: 20px; }
}
