.course-sidebar .course-form .course-card-content {
  padding: 32px;
}

.course-sidebar .course-form .course-card-header .video-play-btn {
  width: 64px;
  height: 64px;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.course-sidebar .course-form .course-card-header .video-play-btn i {
  display: none;
}

.course-sidebar .course-form .course-card-header .video-play-btn:hover {
  color: transparent;
  opacity: 0.92;
}

.tma-course-play {
  display: block;
}

.tma-course-checkout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tma-course-main,
.tma-course-fields,
.tma-course-actions,
.tma-course-offer,
.tma-course-promo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tma-course-promo {
  gap: 7px;
}

.tma-course-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  text-align: start;
}

.tma-course-field span {
  color: #444;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.tma-course-checkout input,
.tma-course-checkout select {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 13px 16px;
  color: #222;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.tma-course-field > input {
  border: 1px solid #b1b1b1;
  border-radius: 8px;
  background: #fff;
}

.tma-course-checkout input::placeholder {
  color: #b1b1b1;
}

.tma-course-phone {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #b1b1b1;
  border-radius: 8px;
  background: #fff;
}

.tma-course-dial {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 14px;
  background: #f8f8f8;
  border-inline-end: 1px solid #b1b1b1;
}

.tma-course-flag,
.tma-course-flag[hidden] {
  display: block;
  width: 20px;
  height: 20px;
}

.tma-course-flag[hidden] {
  display: none !important;
}

.tma-course-dial select {
  width: auto;
  min-height: 0;
  padding: 13px 0;
  color: #222;
  font-size: 16px;
  appearance: none;
}

.tma-course-chevron {
  display: block;
  width: 12px;
  height: 7px;
}

.tma-course-phone input {
  flex: 1;
  min-width: 0;
}

.tma-course-price {
  border-radius: 10px;
  background: #fffaf0;
  padding: 16px;
  text-align: start;
}

.tma-course-price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.tma-course-price-current {
  color: #e74c39;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.tma-course-price-was {
  color: #888;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-decoration: line-through;
}

.tma-course-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ffdd99;
}

.tma-course-applied-code {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #888;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tma-course-applied-code img {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.tma-course-applied-name {
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.tma-course-applied-off {
  color: #888;
}

.tma-course-remove,
.tma-course-promo-link,
.tma-course-apply {
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.tma-course-remove {
  flex: 0 0 auto;
  padding: 0;
  color: #888;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tma-course-promo-link {
  align-self: flex-start;
  padding: 0;
  color: #e74c39;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.tma-course-promo-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.tma-course-promo input {
  flex: 1;
  min-width: 0;
  width: auto;
  height: 48px;
  min-height: 48px;
  border: 1px solid #b1b1b1;
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
}

.tma-course-promo input.is-invalid {
  border-color: #bb2124;
}

.tma-course-apply {
  flex: 0 0 auto;
  height: 48px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid #b1b1b1;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.tma-course-apply:disabled {
  cursor: wait;
  opacity: 0.7;
}

.tma-course-promo-error {
  margin: 0;
  color: #bb2124;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tma-course-promo[hidden],
.tma-course-applied[hidden],
.tma-course-promo-link[hidden],
.tma-course-price-was[hidden],
.tma-course-promo-error[hidden] {
  display: none !important;
}

.tma-course-price-note,
.tma-course-secure {
  display: block;
  margin: 4px 0 0;
  color: #888;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tma-course-secure {
  margin: 0;
  text-align: center;
}

.tma-course-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.tma-course-details[hidden],
.tma-course-detail[hidden] {
  display: none !important;
}

.tma-course-detail {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tma-course-detail span {
  flex: 0 0 110px;
  color: #6d6d6d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tma-course-detail strong {
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: end;
}

.tma-course-ask {
  margin: 0;
  color: #6d6d6d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.tma-course-discount {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #efe4dc;
  border-radius: 12px;
  background: #fff;
  text-align: start;
}

.tma-course-discount[hidden] {
  display: none !important;
}

.tma-course-discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #f3ebe6;
  color: #667085;
  font-size: 13px;
}

.tma-course-discount-row:last-child {
  border-bottom: 0;
}

.tma-course-discount-row strong {
  color: #1f2933;
  font-size: 14px;
}

.tma-course-discount-row.is-discount strong {
  color: #067647;
}

.tma-course-discount-row.is-total {
  background: #fff6ef;
  color: #1f2933;
  font-weight: 700;
}

.tma-course-discount-row.is-total strong {
  color: #c24a3a;
  font-size: 16px;
}

.tma-course-methods-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: #1f2933;
  text-align: start;
}

.tma-course-methods-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid #ece7e2;
  border-radius: 14px;
  background: #faf7f5;
}

.tma-course-method {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid #e7e1dc;
  border-radius: 12px;
  background: #fff;
  color: #1f2933;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tma-course-method.is-selected,
.tma-course-method[aria-pressed="true"] {
  border-color: #ff5a36;
  background: #fff1ec;
  box-shadow: 0 0 0 1px #ff5a36;
}

.tma-course-methods-note {
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
  text-align: center;
}

.tma-course-pay {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: #e74c39;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.tma-course-pay:hover:not(:disabled) {
  background: #cd2e19;
}

.tma-course-pay:disabled {
  background: #e7e1dc;
  color: #98a2b3;
  cursor: not-allowed;
}

.tma-course-pay.is-busy:disabled {
  opacity: 0.7;
  cursor: wait;
}

.tma-course-form-error,
.tma-course-coupon-message.is-bad {
  color: #b42318;
  margin: 0;
}

.tma-course-coupon-message.is-ok {
  color: #067647;
  margin: 0;
}

.tma-course-moyasar {
  margin-top: 4px;
  padding: 12px;
  border: 1px solid #ece7e2;
  border-radius: 14px;
  background: #fff;
}

.tma-course-moyasar-hint {
  margin: 0 0 10px;
  color: #667085;
  font-size: 14px;
}

.tma-course-moyasar .mysr-form-button,
.tma-course-moyasar button.mysr-button {
  background: #ff5a36 !important;
  border-color: #ff5a36 !important;
}

/* Landing page fixes (staging) — country code, field errors, focus. */
.tma-course-dial {
  position: relative;
  padding: 0;
}

.tma-course-dial select {
  /* The select covers the flag and the arrow, so both open the list. */
  padding-block: 13px;
  padding-inline: 44px 34px;
  cursor: pointer;
}

[dir="rtl"] .tma-course-dial select {
  padding-inline: 44px 34px;
}

.tma-course-flag {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  transform: translateY(-50%);
  pointer-events: none;
}

.tma-course-chevron {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.tma-course-field > input:focus,
.tma-course-phone:focus-within {
  outline: none;
  border-color: #ffc658;
}

.tma-course-field > input.is-invalid,
.tma-course-phone.is-invalid {
  border-color: #bb2124;
}

.tma-course-field .tma-course-field-error {
  display: block;
  margin: 0;
  color: #bb2124;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.tma-course-field .tma-course-field-error[hidden] {
  display: none;
}

/* Full country list: the open list shows "Country (+code)", the closed field
   shows the flag and the code only (the select text is hidden under them). */
.tma-course-dial-code {
  position: absolute;
  inset-inline-start: 44px;
  top: 50%;
  color: #222;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
}

.tma-course-dial select {
  width: calc(44px + 6.5ch + 34px);
  color: transparent;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.tma-course-dial select option {
  color: #222;
}
