/* NoticeBox — مشابه components/NoticeBox.tsx */

.ic-notice {
  position: relative;
  margin: 10px 20px 0;
  padding: 16px;
  border-radius: 24px;
}

.ic-notice--update,
.ic-notice--web-app {
  background: #f3e8ff;
}

.ic-notice--notification {
  background: #fef2e3;
}

.ic-notice--payment-error {
  background: #e8f4fd;
}

.ic-notice__close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ic-notice__close-icon {
  opacity: 0.85;
}

.ic-notice--update .ic-notice__close-icon,
.ic-notice--web-app .ic-notice__close-icon {
  filter: brightness(0) saturate(100%) invert(72%) sepia(12%) saturate(1126%) hue-rotate(219deg) brightness(92%) contrast(89%);
}

.ic-notice--notification .ic-notice__close-icon {
  filter: brightness(0) saturate(100%) invert(72%) sepia(35%) saturate(638%) hue-rotate(346deg) brightness(93%) contrast(88%);
}

.ic-notice__body {
  margin-bottom: 12px;
}

.ic-notice__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #2d3a4a;
  text-align: right;
}

.ic-notice__message {
  margin: 0;
  font-size: 12px;
  line-height: 24px;
  color: #4b5867;
  text-align: right;
}

.ic-notice__actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.ic-notice__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 10px 18px;
  border-radius: 16px;
  border: 0;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

.ic-notice__btn--update,
.ic-notice__btn--web-app {
  background: #9066ef;
}

.ic-notice__btn--notification {
  background: #f2ad41;
}

.ic-notice__btn--payment-error {
  background: #4e91e6;
}

.ic-notice__btn--secondary {
  background: transparent;
  border: 1px solid #4e91e6;
  color: #4e91e6;
}

.ic-notice[hidden] {
  display: none !important;
}
