/* Tips Dialog Styles */

.tips-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tips-dialog-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.tips-dialog {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  width: 400px;
  padding: 24px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tips-dialog.show {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.tips-dialog-icon {
  font-size: 48px;
  line-height: 1;
  width: 64px;
  height: 64px;
  display: flex;
  /*align-items: center;*/
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.tips-dialog-icon-info {
  background: #e3f2fd;
}

.tips-dialog-icon-warn {
  background: #fff3e0;
}

.tips-dialog-icon-error {
  background: #ffebee;
}

.tips-dialog-message {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  text-align: center;
  word-wrap: break-word;
  width: 100%;
}

.tips-dialog-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 8px;
}

.tips-dialog-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
}

.tips-dialog-btn-cancel {
  background: #f5f5f5;
  color: #666;
}

.tips-dialog-btn-cancel:hover {
  background: #e0e0e0;
}

.tips-dialog-btn-confirm {
  background: #2196f3;
  color: #fff;
}

.tips-dialog-btn-confirm:hover {
  background: #1976d2;
}

.tips-dialog-btn-info {
  background: #2196f3;
  color: #fff;
}

.tips-dialog-btn-info:hover {
  background: #1976d2;
}

.tips-dialog-btn-warn {
  background: #ff9800;
  color: #fff;
}

.tips-dialog-btn-warn:hover {
  background: #f57c00;
}

.tips-dialog-btn-error {
  background: #f44336;
  color: #fff;
}

.tips-dialog-btn-error:hover {
  background: #d32f2f;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tips-dialog {
    width: calc(100% - 40px);
    max-width: 400px;
    padding: 20px;
    gap: 16px;
  }

  .tips-dialog-icon {
    font-size: 40px;
    width: 56px;
    height: 56px;
  }

  .tips-dialog-message {
    font-size: 14px;
  }

  .tips-dialog-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .tips-dialog-btn {
    width: 100%;
    padding: 12px 24px;
  }
}

