/* ------------------------------
   APP DIALOG – PLAY STORE STYLE
   (Your color palette preserved)
------------------------------- */

.app-dialog {
  width: min(900px, 96vw);
  max-height: 90vh;
  overflow: hidden;

  /* EZT A HÁRMAT TILOS IDE RAKNI!!! */
  /* display: flex; */
  /* flex-direction: column; */

  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  color: var(--text);
  padding: 0;
  box-shadow: var(--shadow);
}

/* helyette ez: */
.dialog-body {
  display: grid;              /* marad */
}


/* Header */
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

/* Body layout */
.dialog-body {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
  padding: 18px;
  overflow-y: auto;
}

/* LEFT SIDE ------------------- */

.dialog-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo */
.app-logo-lg {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  border: 1px solid var(--border);
  object-fit: cover;
  margin-bottom: 14px;
}

/* Meta under logo */
.dialog-left .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

/* Tags */
#dialogTags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 200, 120, 0.12);
  color: #0b8450;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(0, 200, 120, 0.35);
  white-space: nowrap;
  user-select: none;
}

/* RIGHT SIDE ------------------ */

.dialog-right h4 {
  font-size: 22px;
  margin: 0 0 6px;
}

.dialog-right p {
  margin: 4px 0;
}

.dialog-right .desc {
  color: #cfe0ee;
  line-height: 1.5;
  margin: 12px 0 16px;
}

/* Buttons */
.dialog-download {
  margin-top: 10px;
  margin-bottom: 14px;
  display: inline-block;
}

/* MOBILE MODE ----------------- */

@media (max-width: 860px) {

  .dialog-body {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
    max-height: 80vh;
  }

  .dialog-left {
    align-items: center;
  }

  .app-logo-lg {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }

  .dialog-left .meta {
    text-align: center;
    font-size: 14px;
  }

  .dialog-download {
    width: 100%;
    text-align: center;
  }
}
