.tc-profile-page {
  background: #f6f7fc;
  color: #1b1831;
}

.tc-profile-page .spacer-128 {
  height: 56px;
}

.tc-profile {
  --profile-primary: #5b00d6;
  --profile-primary-strong: #4300a5;
  --profile-secondary: #00a9c7;
  --profile-ink: #1b1831;
  --profile-muted: #6b6879;
  --profile-line: #e8e4f0;
  --profile-soft: #f4efff;
  --profile-positive: #087f5b;
  --profile-positive-bg: #e7f8f1;
  --profile-danger: #b42336;
  --profile-danger-bg: #fff0f1;
  --profile-warning: #8c5a00;
  --profile-warning-bg: #fff5dc;
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 22px 12px;
  direction: rtl;
}

[dir="ltr"] .tc-profile {
  direction: ltr;
}

.tc-profile * {
  box-sizing: border-box;
}

.tc-profile button,
.tc-profile input,
.tc-profile select,
.tc-profile textarea {
  font-family: inherit;
}

.tc-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 24px;
  min-height: 224px;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 203, 61, .23) 0 76px, transparent 77px),
    radial-gradient(circle at 7% 115%, rgba(255, 255, 255, .14) 0 115px, transparent 116px),
    linear-gradient(125deg, #381077 0%, #6413d8 48%, #8538e9 100%);
  box-shadow: 0 24px 60px rgba(72, 16, 151, .20);
  color: #fff;
}

.tc-profile-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.tc-profile-avatar {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 24px;
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 10px 30px rgba(23, 9, 57, .22);
  object-fit: cover;
}

.tc-profile-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

.tc-profile-name {
  max-width: 100%;
  margin: 0 0 8px;
  overflow: hidden;
  color: #fff;
  font-size: clamp(25px, 2.1vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-profile-code {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 11px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.tc-profile-balance-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 22px;
  background: rgba(26, 7, 64, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tc-balance-label {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 700;
}

.tc-balance-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  direction: ltr;
  color: #fff;
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.tc-balance-symbol {
  color: #ffd449;
  font-size: .62em;
}

.tc-currency-switcher {
  display: inline-flex;
  gap: 4px;
  margin-top: 15px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(25, 6, 65, .28);
}

.tc-currency-option {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: rgba(255, 255, 255, .82) !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.tc-currency-option.active,
.tc-currency-option:hover {
  background: #fff;
  color: var(--profile-primary-strong) !important;
}

.tc-quick-actions {
  position: relative;
  z-index: 2;
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -2px;
}

.tc-action-button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 16px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 13px;
  background: #fff;
  color: var(--profile-primary-strong) !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.tc-action-button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--profile-primary-strong) !important;
}

.tc-action-button.ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
}

.tc-action-button.danger-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
}

.tc-action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 8, 56, .16);
}

.tc-profile-tabs-shell {
  margin-top: 20px;
  padding: 7px;
  border: 1px solid var(--profile-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(38, 28, 70, .06);
}

.tc-profile-tabs {
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  border: 0 !important;
  scrollbar-width: none;
}

.tc-profile-tabs::-webkit-scrollbar {
  display: none;
}

.tc-profile-tabs .nav-item {
  flex: 1 0 auto;
}

.tc-profile #profile-tabs.tc-profile-tabs .nav-link {
  width: 100%;
  min-height: 46px;
  padding: 10px 15px;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent;
  color: var(--profile-muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.tc-profile #profile-tabs.tc-profile-tabs .nav-link:hover {
  background: #f7f5fa;
  color: var(--profile-primary-strong);
}

.tc-profile #profile-tabs.tc-profile-tabs .nav-link.active {
  border: 0 !important;
  background: var(--profile-primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(91, 0, 214, .22);
}

.tc-profile-content {
  margin-top: 14px;
}

.tc-profile-panel {
  min-height: 170px;
  padding: clamp(18px, 2.3vw, 30px);
  border: 1px solid var(--profile-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 38px rgba(38, 28, 70, .06);
}

.tc-profile-loading {
  display: grid;
  min-height: 200px;
  place-items: center;
}

.tc-profile-loading img {
  width: 46px;
}

.tc-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.tc-section-heading h2 {
  margin: 0 0 4px;
  color: var(--profile-ink);
  font-size: clamp(19px, 1.6vw, 25px);
  font-weight: 900;
}

.tc-section-heading p {
  margin: 0;
  color: var(--profile-muted);
  font-size: 14px;
}

.tc-outline-button,
.tc-primary-button,
.tc-danger-button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 17px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.tc-primary-button,
.tc-primary-button:hover,
.tc-primary-button:focus {
  border: 2px solid var(--profile-primary);
  background: var(--profile-primary);
  color: #fff !important;
}

.tc-outline-button {
  border: 2px solid #d7c3ff;
  background: #fff;
  color: var(--profile-primary-strong) !important;
}

.tc-outline-button:hover,
.tc-outline-button:focus {
  background: var(--profile-soft);
  color: var(--profile-primary-strong) !important;
}

.tc-danger-button,
.tc-danger-button:hover,
.tc-danger-button:focus {
  border: 2px solid #a8172b;
  background: #a8172b;
  color: #fff !important;
}

.tc-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tc-info-item {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid #ece8f2;
  border-radius: 14px;
  background: #faf9fc;
}

.tc-info-label {
  display: block;
  margin-bottom: 5px;
  color: var(--profile-muted);
  font-size: 12px;
  font-weight: 700;
}

.tc-info-value {
  display: block;
  overflow-wrap: anywhere;
  color: var(--profile-ink);
  font-size: 15px;
  font-weight: 800;
}

.tc-history-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.tc-history-header h2 {
  margin: 0 0 5px;
  color: var(--profile-ink);
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 900;
}

.tc-history-header p {
  margin: 0;
  color: var(--profile-muted);
  font-size: 14px;
}

.tc-history-count {
  display: inline-flex;
  min-height: 36px;
  padding: 7px 12px;
  align-items: center;
  border-radius: 999px;
  background: var(--profile-soft);
  color: var(--profile-primary-strong);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.tc-history-filters {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tc-history-filters::-webkit-scrollbar {
  display: none;
}

.tc-filter-button {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 14px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #e4dfea;
  border-radius: 11px;
  background: #fff;
  color: #565164;
  font-size: 13px;
  font-weight: 800;
}

.tc-filter-button:hover {
  border-color: #cbb3f8;
  color: var(--profile-primary-strong);
}

.tc-filter-button.active {
  border-color: var(--profile-primary);
  background: var(--profile-primary);
  color: #fff !important;
}

.tc-filter-count {
  display: inline-flex;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0edf3;
  color: #555064;
  font-size: 11px;
}

.tc-filter-button.active .tc-filter-count {
  background: rgba(255, 255, 255, .20);
  color: #fff;
}

.tc-history-list {
  display: grid;
  gap: 10px;
}

.tc-transaction {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(155px, .65fr) minmax(210px, .8fr) 42px;
  gap: 18px;
  min-height: 86px;
  padding: 15px 16px;
  align-items: center;
  border: 1px solid #e9e5ef;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: inherit;
  box-shadow: 0 5px 18px rgba(38, 28, 70, .035);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.tc-transaction:hover {
  border-color: #d8c5fb;
  box-shadow: 0 10px 26px rgba(70, 30, 128, .09);
  transform: translateY(-1px);
}

.tc-transaction-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tc-transaction-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--profile-soft);
  color: var(--profile-primary);
  font-size: 18px;
}

.tc-transaction-title-wrap {
  min-width: 0;
}

.tc-transaction-title {
  display: block;
  overflow: hidden;
  color: var(--profile-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-transaction-date {
  display: block;
  margin-top: 3px;
  color: var(--profile-muted);
  font-size: 12px;
  direction: ltr;
  text-align: start;
}

.tc-status {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.tc-status.completed {
  background: var(--profile-positive-bg);
  color: var(--profile-positive);
}

.tc-status.cancelled {
  background: var(--profile-danger-bg);
  color: var(--profile-danger);
}

.tc-status.waiting,
.tc-status.shipping,
.tc-status.other {
  background: var(--profile-warning-bg);
  color: var(--profile-warning);
}

.tc-transaction-money {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.tc-transaction-amount {
  direction: ltr;
  font-size: 16px;
  font-weight: 900;
}

.tc-transaction-amount.positive {
  color: var(--profile-positive);
}

.tc-transaction-amount.negative {
  color: var(--profile-danger);
}

.tc-balance-change {
  color: var(--profile-muted);
  font-size: 11px;
  direction: ltr;
}

.tc-transaction-open {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #f7f4fb;
  color: var(--profile-primary);
}

.tc-show-more {
  display: none;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 1px solid #d8c5fb;
  border-radius: 13px;
  background: #fff;
  color: var(--profile-primary-strong);
  font-weight: 900;
}

.tc-history-empty {
  display: none;
  min-height: 180px;
  padding: 30px;
  place-items: center;
  border: 1px dashed #d9cdef;
  border-radius: 16px;
  color: var(--profile-muted);
  text-align: center;
}

.tc-history-empty i {
  display: block;
  margin-bottom: 10px;
  color: #a482ed;
  font-size: 32px;
}

.tc-details-modal .modal-content,
.tc-profile .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(18, 10, 39, .25);
}

.tc-details-modal .modal-header,
.tc-profile .modal-header {
  min-height: 68px;
  padding: 16px 20px;
  border-color: var(--profile-line);
  background: #fff;
}

.tc-details-modal .modal-title,
.tc-profile .modal-title {
  color: var(--profile-ink) !important;
  font-size: 19px !important;
  font-weight: 900;
}

.tc-details-modal .modal-body {
  padding: 20px;
  background: #f8f8fc;
}

.tc-detail-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  align-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #4d00bd, #7723df);
  color: #fff;
}

.tc-detail-summary h3 {
  margin: 7px 0 3px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.tc-detail-summary time {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.tc-detail-amount {
  direction: ltr;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  white-space: nowrap;
}

.tc-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.tc-detail-card {
  padding: 16px;
  border: 1px solid var(--profile-line);
  border-radius: 15px;
  background: #fff;
}

.tc-detail-card.full {
  grid-column: 1 / -1;
}

.tc-detail-card h4 {
  margin: 0 0 13px;
  color: var(--profile-ink);
  font-size: 14px;
  font-weight: 900;
}

.tc-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #f0edf4;
}

.tc-detail-row:last-child {
  border-bottom: 0;
}

.tc-detail-row span:first-child {
  color: var(--profile-muted);
  font-size: 12px;
}

.tc-detail-row strong,
.tc-detail-row span:last-child {
  max-width: 65%;
  overflow-wrap: anywhere;
  color: var(--profile-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: end;
}

.tc-detail-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-detail-product img {
  display: none;
  width: 58px;
  height: 58px;
  padding: 5px;
  border: 1px solid #ece8f2;
  border-radius: 12px;
  object-fit: contain;
}

.tc-detail-product img.has-photo {
  display: block;
}

.tc-coupon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tc-coupon-card {
  position: relative;
  padding: 20px 16px;
  overflow: hidden;
  border: 1px solid #e3d8f8;
  border-radius: 15px;
  background: linear-gradient(135deg, #fbf9ff, #f1eaff);
  text-align: center;
}

.tc-coupon-card::before,
.tc-coupon-card::after {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translateY(-50%);
}

.tc-coupon-card::before { inset-inline-start: -8px; }
.tc-coupon-card::after { inset-inline-end: -8px; }

.tc-coupon-code {
  color: var(--profile-primary-strong);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .06em;
}

.tc-esim-panel {
  display: grid;
  min-height: 260px;
  padding: 32px;
  place-items: center;
  border: 1px solid #dfd4f4;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 169, 199, .13), transparent 28%),
    linear-gradient(135deg, #fbfaff, #f3edff);
  text-align: center;
}

.tc-esim-panel i {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 17px;
  background: var(--profile-primary);
  color: #fff;
  font-size: 24px;
}

.tc-profile .form-control,
.tc-profile .form-select {
  min-height: 54px;
  border-color: #ddd5e9;
  border-radius: 13px;
  color: var(--profile-ink);
}

.tc-profile .form-control:focus,
.tc-profile .form-select:focus {
  border-color: #8b54e8;
  box-shadow: 0 0 0 4px rgba(91, 0, 214, .10);
}

.tc-profile .modal-footer {
  gap: 8px;
  padding: 14px 20px 18px;
  border-color: var(--profile-line);
}

.tc-profile .modal .btn.btn-lg:not(.w-100) {
  width: auto;
  min-width: 150px;
}

.tc-profile .modal .btn.w-100 {
  width: 100% !important;
}

.tc-profile .modal-footer .btn-primary,
.tc-profile .modal-body .btn-primary,
.tc-profile .modal-footer .btn-primary:hover,
.tc-profile .modal-body .btn-primary:hover {
  border-color: var(--profile-primary) !important;
  background: var(--profile-primary) !important;
  color: #fff !important;
}

.tc-profile .btn-outline-primary {
  border-color: var(--profile-primary) !important;
  background: #fff !important;
  color: var(--profile-primary-strong) !important;
}

.tc-profile .btn-outline-primary:hover {
  background: var(--profile-soft) !important;
  color: var(--profile-primary-strong) !important;
}

.tc-profile button:focus-visible,
.tc-profile a:focus-visible,
.tc-profile [tabindex]:focus-visible {
  outline: 3px solid rgba(0, 169, 199, .40) !important;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .tc-profile {
    padding: 20px 16px 8px;
  }

  .tc-profile-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
    gap: 16px;
    min-height: 210px;
    border-radius: 24px;
  }

  .tc-profile-tabs-shell {
    border-radius: 16px;
  }

  .tc-profile-tabs .nav-item {
    flex: 0 0 auto;
  }

  .tc-transaction {
    grid-template-columns: minmax(0, 1fr) 145px 42px;
  }

  .tc-transaction-money {
    grid-column: 1 / -2;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
  }

  .tc-transaction-open {
    grid-column: -2 / -1;
    grid-row: 1 / 3;
  }

  .tc-coupon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .tc-profile-page footer {
    margin-top: 20px;
  }

  .tc-profile-page .spacer-128 {
    height: 24px;
  }

  .tc-profile {
    padding: 14px 10px 4px;
  }

  .tc-profile-hero {
    display: flex;
    min-height: 0;
    padding: 20px 16px;
    flex-direction: column;
    gap: 16px;
    border-radius: 20px;
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 203, 61, .22) 0 58px, transparent 59px),
      linear-gradient(145deg, #3a0b83, #7020de);
  }

  .tc-profile-avatar {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
    border-radius: 19px;
  }

  .tc-profile-name {
    margin-bottom: 5px;
    font-size: 23px;
  }

  .tc-profile-balance-panel {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
  }

  .tc-balance-value {
    font-size: 34px;
  }

  .tc-currency-switcher {
    width: 100%;
  }

  .tc-currency-option {
    flex: 1;
  }

  .tc-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .tc-action-button {
    min-height: 48px;
    padding: 10px 8px;
    font-size: 13px;
  }

  .tc-profile-tabs-shell {
    margin-top: 12px;
    padding: 5px;
    border-radius: 14px;
  }

  .tc-profile-tabs {
    gap: 3px;
  }

  .tc-profile #profile-tabs.tc-profile-tabs .nav-link {
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 10px !important;
    font-size: 13px;
  }

  .tc-profile-content {
    margin-top: 9px;
  }

  .tc-profile-panel {
    padding: 15px;
    border-radius: 17px !important;
  }

  .tc-section-heading,
  .tc-history-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .tc-info-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tc-info-item {
    padding: 13px 14px;
  }

  .tc-history-filters {
    margin-inline: -15px;
    padding-inline: 15px;
  }

  .tc-transaction {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 11px 8px;
    min-height: 0;
    padding: 14px;
    border-radius: 15px;
  }

  .tc-transaction-main {
    grid-column: 1 / -1;
  }

  .tc-transaction-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .tc-transaction-title {
    white-space: normal;
  }

  .tc-status {
    grid-column: 1;
    grid-row: 2;
  }

  .tc-transaction-money {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: space-between;
  }

  .tc-transaction-open {
    grid-column: 2;
    grid-row: 2;
    width: 34px;
    height: 34px;
  }

  .tc-details-modal .modal-dialog {
    height: 100%;
    margin: 0;
    align-items: flex-end;
  }

  .tc-details-modal .modal-content {
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }

  .tc-details-modal .modal-body {
    padding: 14px;
  }

  .tc-detail-summary {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .tc-detail-amount {
    font-size: 21px;
  }

  .tc-detail-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .tc-detail-card.full {
    grid-column: auto;
  }

  .tc-detail-row strong,
  .tc-detail-row span:last-child {
    max-width: 60%;
  }

  .tc-coupon-grid {
    grid-template-columns: 1fr;
  }

  .tc-esim-panel {
    min-height: 230px;
    padding: 24px 16px;
  }

  .tc-profile .modal-dialog:not(.tc-details-modal .modal-dialog) {
    margin: 10px;
  }

  .tc-profile .modal-body {
    padding: 18px !important;
  }

  .tc-profile .modal-body .row {
    padding-inline: 0 !important;
  }
}

@media (max-width: 389.98px) {
  .tc-profile {
    padding-inline: 7px;
  }

  .tc-quick-actions {
    grid-template-columns: 1fr;
  }

  .tc-profile-tabs-shell {
    margin-inline: -2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-profile *,
  .tc-profile *::before,
  .tc-profile *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
