@use "../../../../styles/abstracts/variables" as *;

.notice {
  position: relative;
  
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.9rem 1rem;

  margin-bottom: 1.25rem;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025) 0%,
    rgba(255, 255, 255, 0.015) 100%
  );

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-left: 3px solid #f7931a;

  border-radius: 10px;

  overflow: hidden;

  transition: all 0.25s ease;

  &:hover {
    border-color: rgba(247, 147, 26, 0.25);

    background: linear-gradient(
      180deg,
      rgba(247, 147, 26, 0.04) 0%,
      rgba(255, 255, 255, 0.015) 100%
    );
  }

  &::before {
    content: "";

    position: absolute;

    inset: 0;

    background: radial-gradient(
      circle at left center,
      rgba(247, 147, 26, 0.08),
      transparent 55%
    );

    pointer-events: none;
  }

  &--text {
    display: flex;
    align-items: center;
    gap: 0.85rem;

    position: relative;
    z-index: 0;

    span {
      width: 32px;
      height: 32px;

      flex-shrink: 0;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 8px;

      background: rgba(247, 147, 26, 0.12);

      border: 1px solid rgba(247, 147, 26, 0.2);

      svg {
        font-size: 1rem;
      }
    }

    p {
      margin: 0;

      color: rgba(255, 255, 255, 0.88);

      font-size: 0.78rem !important;

      line-height: 1.7;

      font-weight: 500;

      letter-spacing: -0.01em;
    }

    strong {
      color: #f7931a;
      font-weight: 600;
    }

    a {
      color: #f7931a;

      font-weight: 600;

      text-decoration: none;

      transition: opacity 0.2s ease;

      &:hover {
        opacity: 0.85;
      }
    }
  }

  @media only screen and (max-width: 1000px) {
    padding: 0.85rem;

    &--text {
      gap: 0.75rem;

      span {
        width: 28px;
        height: 28px;

        svg {
          font-size: 0.9rem;
        }
      }

      p {
        font-size: 0.74rem !important;
        line-height: 1.6;
      }
    }
  }

  @media only screen and (max-width: 600px) {
    &--text {
      align-items: flex-start;

      span {
        margin-top: 0.1rem;
      }

      p {
        font-size: 0.73rem !important;
      }
    }
  }
}