.lm-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.lm-plat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: transparent; color: inherit;
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: border-color .15s ease;
}
.lm-plat .ic { display: inline-flex; align-items: center; justify-content: center; width: 18px; flex-shrink: 0; }
.lm-plat .ic i { font-size: 16px; }
.lm-plat .ic img { max-width: 18px; max-height: 18px; border-radius: 4px; }
.lm-plat:hover { border-color: rgba(0,0,0,0.3); }
/* active state reuses this theme's own variant-colored .btn-primary for color/background —
   only layout properties are re-asserted here so the pill shape survives the merge */
.lm-plat.btn-primary { padding: 9px 16px; border-radius: 999px; border-style: solid; border-width: 1.5px; }
@media (max-width: 600px) {
  .lm-plat { padding: 7px 12px; font-size: 12.5px; }
}

/* ---- searchable category dropdown + "search any service" bar ---- */
.nv-search { position: relative; display: block; }
.nv-search > i.fa-search { position: absolute; left: 16px; top: 0; bottom: 0; display: flex; align-items: center; color: #94a3b8; font-size: 13px; pointer-events: none; z-index: 1; }
.nv-search > input, #nvServiceSearch.form-control { padding-left: 38px !important; }
.nv-catdd-search input { padding-left: 32px !important; }
.nv-svcsearch { margin-bottom: 4px; }

.nv-catdd { position: relative; }
.nv-catdd-btn {
  width: 100%; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 8px 14px; cursor: pointer; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nv-catdd-btn:hover { border-color: rgba(0,0,0,0.3); }
.nv-catdd.open .nv-catdd-btn { border-color: rgba(0,0,0,0.4); box-shadow: 0 0 0 3px rgba(0,0,0,0.06); }
.nv-catdd-btn .cur { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nv-catdd-btn .cur .ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; flex-shrink: 0; }
.nv-catdd-btn .cur .ic img { max-width: 22px; max-height: 22px; border-radius: 6px; }
.nv-catdd-btn .cur .ic i { font-size: 18px; }
.nv-catdd-btn .cur .tx { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-catdd-btn .ar { color: #94a3b8; font-size: 12px; transition: transform .2s ease; }
.nv-catdd.open .nv-catdd-btn .ar { transform: rotate(180deg); }

.nv-catdd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: #fff; border: 1px solid #eef1f5; border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15,23,42,.16); overflow: hidden; display: none;
}
.nv-catdd.open .nv-catdd-menu, .nv-svcsearch.open .nv-catdd-menu { display: block; }
.nv-catdd-search { position: relative; padding: 10px; border-bottom: 1px solid #f1f5f9; }
.nv-catdd-search i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 12px; }
.nv-catdd-search input { width: 100%; height: 38px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 12px 8px 32px; font-size: 13.5px; outline: none; }
.nv-catdd-list { max-height: 300px; overflow-y: auto; padding: 6px; }
.nv-catdd-list .it { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-decoration: none; color: inherit; }
.nv-catdd-list .it:hover, .nv-catdd-list .it.active { background: rgba(0,0,0,0.05); }
.nv-catdd-list .it .ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; flex-shrink: 0; }
.nv-catdd-list .it .ic img { max-width: 22px; max-height: 22px; border-radius: 6px; }
.nv-catdd-list .it .ic i { font-size: 17px; }
.nv-catdd-list .it .tx { font-weight: 600; font-size: 13.5px; }
.nv-catdd-empty { display: none; text-align: center; color: #94a3b8; font-size: 12.5px; padding: 16px 10px; }

.nv-svcsearch .nv-catdd-menu { top: calc(100% + 6px); }
.nv-svcsearch .nv-catdd-list { max-height: 320px; }

/* ---- Section titles (addfunds, tickets) ---- */
.et-section-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: inherit; }

/* ---- Page-level title (massorder, ...) ---- */
.et-page-title-wrap { padding: 8px 0 4px; }
.et-page-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; color: #fff !important; }
.et-page-subtitle { font-size: 15px; opacity: 0.85; color: #fff; margin-bottom: 0; }
@media (max-width: 576px) {
    .et-page-title { font-size: 22px; }
    .et-page-subtitle { font-size: 13px; }
}

/* ---- Child panel manage cards ---- */
.et-panel-card {
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}
.et-panel-card .btn-primary-account { margin-top: 8px; }
/* .et-panel-card .et-section-title color is set per color-skin below (each skin's own accent) */

/* ---- Add Funds: manual payment instructions + amount field ---- */
#addfunds_fields .alert.alert-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #334155;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: #1e293b;
}
#addfunds_fields .alert.alert-info p:last-child { margin-bottom: 0; }
body.dark-mode #addfunds_fields .alert.alert-info {
  background: rgba(255,255,255,0.04);
  border-color: #3f4149;
  border-left-color: #94a3b8;
  color: #dfe0e1;
}

#addfunds_fields .form-group { margin-bottom: 20px; }
#addfunds_fields .form-group label.control-label {
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 8px;
  display: block;
}
body.dark-mode #addfunds_fields .form-group label.control-label { color: #9199a8; }

#addfunds_fields .input-group {
  position: relative;
  transition: box-shadow .15s ease;
}
#addfunds_fields .input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(51,65,85,0.1);
  border-radius: 10px;
}
#addfunds_fields .input-group-addon {
  position: absolute;
  z-index: 2;
  padding: 12px 15px;
  color: #475569;
  font-weight: 700;
  font-size: 16px;
  pointer-events: none;
}
#addfunds_fields .input-group .form-control,
#addfunds_fields input#paymentAmount {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  padding: 0 16px 0 34px;
  box-shadow: none;
  width: 100%;
}
#addfunds_fields .input-group .form-control:focus,
#addfunds_fields input#paymentAmount:focus {
  border-color: #334155;
  box-shadow: 0 0 0 3px rgba(51,65,85,0.1);
  outline: none;
}
body.dark-mode #addfunds_fields .input-group .form-control,
body.dark-mode #addfunds_fields input#paymentAmount {
  border-color: #3f4149;
  background: transparent;
  color: #dfe0e1;
}
body.dark-mode #addfunds_fields .input-group-addon { color: #dfe0e1; }

#addfunds_fields #manualConvHint { display: block; margin-top: 8px; font-size: 12.5px; }

/* ---- Mass order submit button ---- */
.et-massorder-submit {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform .15s ease, box-shadow .15s ease;
}
.et-massorder-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}
