/* Catalogue: only what the Pack Offer sheet (pack_offer.css) does not already
   cover -- the app cards carry a logo and a short description. */

.cat-app-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.cat-app-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-app-logo,
.cat-app-logo-fallback {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 32px;
}

.cat-app-logo-fallback {
  font-size: 26px;
  line-height: 32px;
  text-align: center;
  color: currentColor;
  opacity: 0.6;
}

.cat-app-desc {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.8;
  margin: 6px 0;
}

/* Console: the "app" cell of the order list and the domain row */
.cat-order-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}

/* Several apps share one label: each full address is listed under the field */
.cat-domain-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.cat-domain-list li {
  font-size: 0.85rem;
  padding: 2px 0;
  opacity: 0.85;
}

.cat-domain-list li strong {
  font-weight: 600;
  margin-right: 6px;
}

/* The pack's domain rows reserve a 150px column for an app label; here there is
   one field for every app, so it takes the full width. */
.pack-domain-grid.cat-domain-grid .pack-input {
  display: flex;
}

/* The console's wizard (order form / review) lives in the same fixed-height,
   overflow:hidden .vps-nx-dashboard shell as the Pack Offer's. Without these
   the shell clips the form with no way to scroll to what is below the fold. */
#cat-wizard-view {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#btn-my-apps {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

#btn-my-apps:hover {
  background: rgba(255, 255, 255, 0.22);
}
