/* yl-license-server 前台样式 —— 贴合 zibll 风格，跟随主题明暗模式
   依赖主题类: .zib-widget .but .jb-blue .form-control .badg .muted-color .muted-2-color */

.yl-ls-buy, .yl-ls-my { max-width: 720px; margin: 0 auto; }

/* 商品卡片 */
.yl-ls-goods { padding: 20px; }
.yl-ls-goods-icon {
  width: 52px; height: 52px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, #29b4ff, #1e7ccc);
  box-shadow: 0 4px 10px rgba(30, 124, 204, .25);
}
.yl-ls-price-big { color: #ff5c5c; line-height: 1.1; }
.yl-ls-price-big .pay-mark { font-size: .7em; }
.yl-ls-mod-badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(41, 140, 255, .08);
  border: 1px solid rgba(41, 140, 255, .18);
  font-size: 13px;
}

/* 域名表单 */
.yl-ls-domain-form, .yl-ls-change-form { display: flex; gap: 8px; align-items: stretch; }
.yl-ls-domain-form .form-control, .yl-ls-change-form .form-control { flex: 1; }

/* 消息条 */
.yl-ls-buy-msg, .yl-ls-my-msg { padding: 8px 12px; border-radius: 6px; font-size: 14px; }
.yl-ls-msg-ok  { background: rgba(46, 192, 116, .12); color: #26a35f; }
.yl-ls-msg-err { background: rgba(255, 92, 92, .12);  color: #e05252; }
.yl-ls-msg-wait{ background: rgba(41, 140, 255, .10); color: #1e7ccc; }

.yl-ls-pending {
  padding: 10px 14px; border-radius: 8px; font-size: 14px;
  background: rgba(255, 176, 32, .10); color: #b57a17;
  border: 1px dashed rgba(255, 176, 32, .45);
}

/* 步骤 */
.yl-ls-steps { padding: 16px 20px; }
.yl-ls-step { gap: 10px; }
.yl-ls-step-item { display: flex; align-items: center; padding: 6px 0; }
.yl-ls-step-num {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(41, 140, 255, .12); color: #1e7ccc;
  font-size: 13px; font-weight: 700;
}

/* 授权卡片 */
.yl-ls-code-card { padding: 16px 18px; border-left: 3px solid #2ebf74; }
.yl-ls-code-card.is-off { border-left-color: #e05252; opacity: .75; }
.yl-ls-code {
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 6px;
  background: rgba(41, 140, 255, .08); color: #1e7ccc;
}
.yl-ls-meta { gap: 6px; }
.yl-ls-meta-item {
  display: inline-flex; align-items: center;
  font-size: 13px; color: inherit; opacity: .75;
  padding: 3px 10px; margin-right: 6px;
  background: rgba(128, 128, 128, .08); border-radius: 5px;
}

/* 小屏 */
@media (max-width: 767px) {
  .yl-ls-goods { padding: 15px; }
  .yl-ls-goods-head { flex-wrap: wrap; }
  .yl-ls-domain-form, .yl-ls-change-form { flex-wrap: wrap; }
  .yl-ls-domain-form .but, .yl-ls-change-form .but { width: 100%; }
}
