.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.header-text h1 {
  margin-bottom: 0;
}

.button-wrapper {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.single-app-card {
  margin: 0 auto;
  padding: 20px;
  border-radius: 12px;
  background: var(--bg-card-color);
  border: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.app-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--border);
}

.single-app-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-header-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-app-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.app-short-desc {
  font-size: 14px;
  line-height: 1.4;
}

.app-description {
  border-bottom: 1px solid var(--border);
  text-align: justify;
}

.single-app-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sticker-alert {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.95rem;
  background: #f8d7da;
  border: 1px solid #dfd3d4;
  color: #58151c;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  gap: 15px;
  margin-bottom: 1em;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

[data-theme='dark'] .sticker-alert {
  background: #3a1a1e;
  border-color: #5b2b30;
  color: #f3c1c4;
}

.sticker-alert-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
}

.sticker-alert .sticker-alert-action {
  width: auto;
  margin-left: 16px;
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.sticker-alert .sticker-alert-action .complaint-open-btn {
  width: auto;
  min-width: 150px;
  white-space: nowrap;
}

.tags {
  margin-top: 1em;
}

.btn {
  min-width: 150px;
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .button-wrapper {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .btn {
    font-size: 15px;
  }

  button.btn {
    height: 46px;
  }

  .sticker-alert .sticker-alert-action {
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .app-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn-tg {
    width: 100%;
    box-sizing: border-box;
  }

  .sticker-alert .sticker-alert-action {
    width: 100%;
    margin-left: 0;
  }

  .sticker-alert .sticker-alert-action .complaint-open-btn {
    width: 100%;
  }

}
