/* Transfer Success Modal Styles */
#tsubs-transfer-success-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 17, 23, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100; /* Highest priority */
}

.tsubs-ts-section {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  position: relative;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: end;

  .tsubs-ts-actions {
    width: 100%;

    .tsubs-ts-btn-primary {
      border: 1px solid black;
    }
  }
}

.tsubs-ts-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.tsubs-ts-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #121117;
  margin-bottom: 20px;
}

.tsubs-ts-success-visual {
  background-color: #fdf5f2; /* Very light orange tint background */
  border-radius: 12px;
  padding: 40px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;

  .tsubs-ts-title {
    text-align: start;
  }
}

.tsubs-ts-avatar-transition {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.tsubs-ts-avatar-wrap {
  position: relative;
  width: 64px;
  height: 64px;
}

.tsubs-ts-avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.tsubs-ts-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background-color: #ff2500;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 2px solid #fdf5f2;
}

.tsubs-ts-chevrons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tsubs-ts-title {
  font-size: 32px;
  font-weight: 700;
  color: #121117;
  margin: 0;
}

.tsubs-ts-body {
  margin-bottom: 32px;
  padding: 0 12px;
  text-align: start;
}

.tsubs-ts-text {
  font-size: 15px;
  color: #121117;
  line-height: 1.5;
  margin-bottom: 12px;
}

.tsubs-ts-text:last-child {
  margin-bottom: 0;
}

.tsubs-ts-btn-primary {
  background: #ff2500;
  color: #ffffff;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s;
}

.tsubs-ts-btn-primary:hover {
  background: #d01e00;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
  #tsubs-transfer-success-backdrop {
    align-items: flex-end !important;
  }

  .tsubs-ts-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 30px 20px 24px !important;
    border-radius: 24px 24px 0 0 !important;
    max-height: 90vh !important;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    animation: slideUpTSSheet 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }

  @keyframes slideUpTSSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  /* Bottom sheet handle */
  .tsubs-ts-section::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
  }

  .tsubs-ts-body {
    flex: 1;
    overflow-y: auto;
    text-align: left;
  }

  .tsubs-ts-actions {
    margin-top: auto;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .tsubs-ts-title {
    font-size: 24px;
  }
}

