.alert--maintaince {
  display: inline-flex;
  padding: 12px;
  padding-right: 48px;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  background: #fcfcfd;
  color: var(--Gray-900, #101828) !important;
  font-family: "Source Sans Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  box-shadow: 0 12px 16px -4px rgba(16, 24, 40, 0.08),
    0 4px 6px -2px rgba(16, 24, 40, 0.03);
  width: fit-content;
  max-width: calc(100% - 40px);
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  transition: all 0.3s ease;
}

.alert--maintaince span {
  flex: 1;
  padding-right: 10px;
}

.alert--maintaince svg {
  display: flex;
  width: 48px;
  height: 48px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  border-radius: 28px;
  border: 8px solid #f4f8ff;
  background: #ebf2ff;
  flex-shrink: 0;
}

.alert--maintaince .alert-close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #98a2b3;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.alert--maintaince .alert-close:hover {
  color: #667085;
}

.alert--maintaince .alert-close svg {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  padding: 0;
}

.alert--maintaince.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

/* Responsive */
@media (max-width: 768px) {
  .alert--maintaince {
    width: fit-content;
    max-width: calc(100% - 32px);
    bottom: 16px;
    padding: 10px;
    padding-right: 44px;
    gap: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .alert--maintaince > svg:first-child {
    width: 40px;
    height: 40px;
    padding: 4px;
    border: 6px solid #f4f8ff;
  }

  .alert--maintaince .alert-close {
    right: 12px;
    width: 22px;
    height: 22px;
  }

  .alert--maintaince .alert-close svg {
    width: 18px;
    height: 18px;
  }

  .floating-actions-buttons {
    bottom: 100px !important;
  }
}

@media (max-width: 480px) {
  .alert--maintaince {
    width: calc(100% - 24px);
    max-width: none;
    bottom: 12px;
    padding: 8px;
    padding-right: 40px;
    gap: 8px;
    font-size: 13px;
    line-height: 18px;
  }

  .alert--maintaince > svg:first-child {
    width: 36px;
    height: 36px;
    padding: 3px;
    border: 5px solid #f4f8ff;
  }

  .alert--maintaince .alert-close {
    right: 10px;
    width: 20px;
    height: 20px;
  }

  .alert--maintaince .alert-close svg {
    width: 16px;
    height: 16px;
  }

  .floating-actions-buttons {
    bottom: 90px !important;
  }
}

.alert--maintaince.hidden ~ * .floating-actions-buttons,
body:has(.alert--maintaince.hidden) .floating-actions-buttons {
  bottom: 40px !important;
}
