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

.welcome {
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;

  display: flex;
  flex-direction: column;
  gap: 0.55rem;

  @media (max-width: 1000px) {
    margin-top: 1.2rem;
    margin-bottom: 1rem;
  }

  h1 {
    display: flex;
    align-items: center;
    gap: 0.35rem;

    margin: 0;

    font-size: 1.45rem;
    font-weight: 700;

    color: var(--heading);

    span {
      color: variables.$col-orange;
    }
  }
}

.wave {
  font-size: 1.2rem;
}

.meta {
  display: flex;
  align-items: center;
  gap: 1rem;

  flex-wrap: wrap;

  p {
    margin: 0;

    font-size: 0.82rem;
    font-weight: 500;

    color: var(--text-muted);
  }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.35rem 0.7rem;

  border-radius: 999px;

  background: rgba(46, 171, 91, 0.12);

  border: 1px solid rgba(46, 171, 91, 0.18);

  color: #2eab5b;

  font-size: 0.72rem;
  font-weight: 600;

  line-height: 1;
}

.dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #2eab5b;

  box-shadow: 0 0 0 rgba(46, 171, 91, 0.6);

  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 171, 91, 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(46, 171, 91, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 171, 91, 0);
  }
}

@media (max-width: 768px) {
  .welcome {
    h1 {
      font-size: 1.2rem;
    }
  }

  .meta {
    gap: 0.75rem;

    p {
      font-size: 0.78rem;
    }
  }

  .status {
    font-size: 0.68rem;
    padding: 0.32rem 0.65rem;
  }
}