/* Xania Marketplace Core UI (minimal, theme-friendly) */

.xmc-card{
  border-radius: 18px;
  border: 1px solid rgba(215,224,255,1);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 16px 42px rgba(11,18,32,0.10);
  padding: 14px;
  margin: 12px 0;
}

.xmc-card__title{
  font-weight: 950;
  letter-spacing: -0.02em;
  color: rgba(11,18,32,0.92);
  font-size: 16px;
}
.xmc-card__sub{
  margin-top: 4px;
  font-weight: 800;
  color: rgba(11,18,32,0.72);
  font-size: 13px;
}

.xmc-muted{ color: rgba(11,18,32,0.65); font-weight: 800; margin-top: 10px; }

.xmc-licenses{ margin-top: 12px; display:flex; flex-direction:column; gap: 10px; }
.xmc-license{
  border-radius: 16px;
  border: 1px solid rgba(215,224,255,1);
  background: rgba(246,248,255,0.75);
  padding: 12px;
}
.xmc-license__top{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.xmc-license__name{ font-weight: 950; letter-spacing: -0.01em; }
.xmc-license__key{ margin-top: 8px; }
.xmc-license__key code{ font-weight: 900; }
.xmc-license__meta{ margin-top: 6px; display:flex; gap: 10px; flex-wrap:wrap; font-weight: 800; font-size: 12px; color: rgba(11,18,32,0.70); }
.xmc-license__acts{ margin-top: 6px; font-weight: 800; color: rgba(11,18,32,0.74); }

.xmc-license__action{ margin-top: 10px; display:flex; gap: 8px; flex-wrap:wrap; align-items:center; }
.xmc-input{
  border-radius: 14px;
  border: 1px solid rgba(30,75,255,0.18);
  background: rgba(255,255,255,0.92);
  padding: 10px 12px;
  font-weight: 800;
  min-width: 220px;
}
.xmc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,106,0,0.28);
  background: rgba(255,106,0,0.92);
  color: rgba(11,27,58,0.98);
  font-weight: 950;
  cursor: pointer;
}
.xmc-btn--ghost{
  background: rgba(246,248,255,0.85);
  border-color: rgba(30,75,255,0.18);
  color: rgba(11,18,32,0.90);
}

.xmc-pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  border: 1px solid rgba(11,27,58,0.10);
  background: rgba(11,27,58,0.06);
  color: rgba(11,18,32,0.82);
  white-space: nowrap;
}
.xmc-pill.is-open{ border-color: rgba(255,106,0,0.26); background: rgba(255,106,0,0.12); }
.xmc-pill.is-answered{ border-color: rgba(30,75,255,0.22); background: rgba(30,75,255,0.10); }
.xmc-pill.is-closed{ opacity: 0.9; }

.xmc-license__notice{ margin-top: 8px; font-weight: 900; font-size: 13px; }
.xmc-license__notice.is-good{ color: rgba(11,120,70,0.95); }
.xmc-license__notice.is-bad{ color: rgba(170,30,30,0.95); }

/* Support */
.xmc-support-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 980px){
  .xmc-support-grid{ grid-template-columns: 1fr 1fr; }
}
.xmc-form{ margin-top: 12px; display:flex; flex-direction:column; gap: 10px; }
.xmc-field{ display:flex; flex-direction:column; gap: 6px; }
.xmc-field > span{ font-weight: 900; color: rgba(11,18,32,0.80); font-size: 13px; }
.xmc-field input, .xmc-field textarea{
  border-radius: 14px;
  border: 1px solid rgba(30,75,255,0.18);
  background: rgba(255,255,255,0.92);
  padding: 10px 12px;
  font-weight: 800;
  color: rgba(11,18,32,0.92);
  outline: none;
}

.xmc-ticket-list{ margin-top: 12px; display:flex; flex-direction:column; gap: 10px; }
.xmc-ticket{
  display:block;
  text-decoration:none;
  border-radius: 16px;
  border: 1px solid rgba(215,224,255,1);
  background: rgba(246,248,255,0.75);
  padding: 12px;
  color: rgba(11,18,32,0.92);
}
.xmc-ticket:hover{
  border-color: rgba(255,106,0,0.28);
  box-shadow: 0 16px 42px rgba(11,18,32,0.12);
}
.xmc-ticket__top{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.xmc-ticket__title{ font-weight: 950; letter-spacing: -0.01em; }
.xmc-ticket__meta{ margin-top: 6px; display:flex; gap: 10px; flex-wrap:wrap; font-weight: 800; font-size: 12px; color: rgba(11,18,32,0.68); }

.xmc-thread{ margin-top: 12px; }
.xmc-thread__head{ display:flex; align-items:center; justify-content:space-between; gap: 10px; margin-bottom: 10px; }

.xmc-msg{
  border-radius: 16px;
  border: 1px solid rgba(215,224,255,1);
  background: rgba(246,248,255,0.75);
  padding: 12px;
  margin-top: 10px;
}
.xmc-msg.is-admin{ border-color: rgba(255,106,0,0.22); background: rgba(255,106,0,0.10); }
.xmc-msg__meta{ font-weight: 950; color: rgba(11,18,32,0.76); font-size: 12px; }
.xmc-msg__body{ margin-top: 6px; font-weight: 800; color: rgba(11,18,32,0.84); line-height: 1.4; }
