@use '../../styles/panel-shared' as panel;

.support-dialog-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.panel-header {
  @include panel.panel-header;
}

.dialog-content {
  padding: 1.5rem;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.intro {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color-secondary);
  text-align: center;
  margin: 0 0 1.5rem;
}

.support-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--ground-background);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;

  &:hover {
    transform: translateY(-1px);
  }

  &.star-card {
    border-color: rgba(34, 197, 94, 0.3);

    &:hover {
      border-color: rgb(34, 197, 94);
    }

    .card-icon {
      color: rgb(34, 197, 94);
    }
  }

  &.collective-card {
    border-color: rgba(99, 102, 241, 0.3);

    &:hover {
      border-color: rgb(99, 102, 241);
    }

    .card-icon {
      color: rgb(99, 102, 241);
    }
  }

  &.kofi-card {
    border-color: rgba(251, 146, 60, 0.3);

    &:hover {
      border-color: rgb(251, 146, 60);
    }

    .card-icon {
      color: rgb(251, 146, 60);
    }
  }
}

.card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary-color);
  line-height: 1.5;
}

.card-arrow {
  font-size: 0.85rem;
  color: var(--text-secondary-color);
  flex-shrink: 0;
}

.closing {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-text-color);
  margin: 1.5rem 0 0;
}
