/* ===== TDesign Toast 组件样式 ===== */
.tdesign-toast {
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12001;
  opacity: 1;
  transition: opacity 0.3s ease;
  background-color: var(--td-toast-bg-color, rgba(0, 0, 0, 0.6));
  border-radius: var(--td-toast-radius, 12rpx);
  font-size: 28rpx;
  color: var(--td-toast-color, #fff);
  max-width: var(--td-toast-max-width, 370rpx);
  min-height: 0;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

.tdesign-toast--column {
  padding: 48rpx;
  min-width: 160rpx;
  min-height: 160rpx;
  border-radius: 16rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tdesign-toast--loading.tdesign-toast--with-text {
  min-width: 204rpx;
  min-height: 204rpx;
  padding-top: 0;
  padding-bottom: 0;
}

.tdesign-toast__content {
  align-items: center;
  line-height: 44rpx;
}

.tdesign-toast__content--row {
  display: flex;
  text-align: left;
  padding: 28rpx 44rpx;
}

.tdesign-toast__content--column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tdesign-toast__icon--row {
  display: flex;
  font-size: var(--td-toast-row-icon-size, 48rpx);
}

.tdesign-toast__icon--column {
  font-size: var(--td-toast-column-icon-size, 64rpx);
}

.tdesign-toast__text {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: pre-line;
}

.tdesign-toast__text--column:not(:empty):not(:only-child) {
  margin-top: 16rpx;
}

.tdesign-toast__text--row:not(:empty):not(:only-child) {
  margin-left: 16rpx;
}

.tdesign-toast--enter {
  opacity: 0;
}

.tdesign-toast--enter-active {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.tdesign-toast--leave {
  opacity: 1;
}

.tdesign-toast--leave-active {
  opacity: 0;
  transition: opacity 0.3s ease;
}