/******** radius *******/
/******** 间隙 *******/
/******** fontSize *******/
/******** 组件尺寸 *******/
/******** z-index *******/
/******** borderSize *******/
/******** borderStyle *******/
/******** shadow distance *******/
/******** size *******/
/******** spacing *******/
/******** shadow *******/
/******** opacity *******/
/******** fontWeight ********/
/******** Animation *******/
/******** color *******/
/******** diff *******/
/******** icon hover *******/
/******** media *******/
/*****************************************************
 * type: info / warning / error /success
 *****************************************************/
.pd-Alert {
  box-sizing: border-box;
  border-radius: 2px;
  padding: 8px 15px;
  font-size: 13px;
  overflow: hidden;
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  line-height: 1.5715;
}
.pd-Alert-with-title {
  padding: 15px 15px;
}
.pd-Alert-with-title {
  align-items: flex-start;
}
.pd-Alert-info {
  border: 1px solid transparent;
  background-color: var(--primary-1);
}
.pd-Alert-success {
  border: 1px solid transparent;
  background-color: var(--success-1);
}
.pd-Alert-warning {
  border: 1px solid transparent;
  background-color: var(--warning-1);
}
.pd-Alert-error {
  border: 1px solid transparent;
  background-color: var(--danger-1);
}
.pd-Alert-banner {
  border: none;
  border-radius: 0;
}
.pd-Alert-content-wrapper {
  position: relative;
  flex: 1;
}
.pd-Alert-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}
.pd-Alert-info .pd-Alert-title {
  color: var(--color-text-1);
}
.pd-Alert-info .pd-Alert-content {
  color: var(--color-text-1);
}
.pd-Alert-info.pd-Alert-with-title .pd-Alert-content {
  color: var(--color-text-2);
}
.pd-Alert-success .pd-Alert-title {
  color: var(--color-text-1);
}
.pd-Alert-success .pd-Alert-content {
  color: var(--color-text-1);
}
.pd-Alert-success.pd-Alert-with-title .pd-Alert-content {
  color: var(--color-text-2);
}
.pd-Alert-warning .pd-Alert-title {
  color: var(--color-text-1);
}
.pd-Alert-warning .pd-Alert-content {
  color: var(--color-text-1);
}
.pd-Alert-warning.pd-Alert-with-title .pd-Alert-content {
  color: var(--color-text-2);
}
.pd-Alert-error .pd-Alert-title {
  color: var(--color-text-1);
}
.pd-Alert-error .pd-Alert-content {
  color: var(--color-text-1);
}
.pd-Alert-error.pd-Alert-with-title .pd-Alert-content {
  color: var(--color-text-2);
}
.pd-Alert-icon-wrapper {
  margin-right: 8px;
  height: 20.4295px;
  display: flex;
  align-items: center;
}
.pd-Alert-icon-wrapper svg {
  font-size: 16px;
}
.pd-Alert-with-title .pd-Alert-icon-wrapper {
  height: 22.5px;
}
.pd-Alert-with-title .pd-Alert-icon-wrapper svg {
  font-size: 18px;
}
.pd-Alert-info .pd-Alert-icon-wrapper svg {
  color: var(--primary-6);
}
.pd-Alert-success .pd-Alert-icon-wrapper svg {
  color: var(--success-6);
}
.pd-Alert-warning .pd-Alert-icon-wrapper svg {
  color: var(--warning-6);
}
.pd-Alert-error .pd-Alert-icon-wrapper svg {
  color: var(--danger-6);
}
.pd-Alert-close-btn {
  box-sizing: border-box;
  padding: 0;
  border: none;
  outline: none;
  font-size: 12px;
  color: var(--color-text-2);
  background-color: transparent;
  cursor: pointer;
  transition: color 0.1s cubic-bezier(0, 0, 1, 1);
  margin-left: 8px;
  top: 4px;
  right: 0;
}
.pd-Alert-close-btn:hover {
  color: var(--color-text-1);
}
.pd-Alert-action + .pd-Alert-close-btn {
  margin-left: 8px;
}
.pd-Alert-action {
  margin-left: 8px;
}
.pd-Alert-with-title .pd-Alert-close-btn {
  margin-top: 0;
  margin-right: 0;
}
.pd-Alert-rtl {
  direction: rtl;
  text-align: right;
}
.pd-Alert-rtl .pd-Alert-with-title {
  align-items: flex-end;
}
.pd-Alert-rtl .pd-Alert-icon-wrapper {
  margin-right: 0;
  margin-left: 8px;
}
.pd-Alert-rtl .pd-Alert-close-btn {
  right: initial;
  left: 0;
}
.pd-Alert-rtl .pd-Alert-action {
  margin-left: 0;
  margin-right: 8px;
}
.pd-Alert-rtl .pd-Alert-action + .pd-Alert-close-btn {
  margin-left: 0;
  margin-right: 8px;
}
