@import url("reset.css");
@import url("bootstrap.css");
@import 'secondary.css';
@import url("small.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");
html {
  min-height: 100%;
  height: 100%;
  background-color: #f5f5f5;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "PT Sans", sans-serif, arial;
}

* {
  outline: none !important;
}

a, a:hover, a:active, a:focus {
  white-space: nowrap;
}

.wapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}
.wapper > section {
  flex: 1 0 auto;
}
.wapper > section > header {
  height: 50px;
    background: #161c24;
  overflow: hidden;
}
.wapper > section > header .menu-button {
  float: left;
  margin-top: 8px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 25px;
  color: white;
}
.wapper > section > header .menu-button:hover, .wapper > section > header .menu-button:active {
  color: white;
}
.wapper > section > header .logo {
  margin: 0;
  padding: 0;
  text-decoration: none;
  line-height: 50px;
  font-family: "Inter", serif;
  color: #ffffff;
  font-size: 20px;
  white-space: nowrap;
  display: inline-block;
}
.wapper > section > header .logo img {
  height: 40px;
}
.wapper > section > header .logo:hover {
  text-decoration: none;
  color: #eceaea;
}
@media (max-width: 767px) {
  .wapper > section > header .logo {
    max-width: 250px !important;
  }
}
.wapper > section > header .image-logo {
  width: 50px;
  height: 50px;
  float: right;
}
.wapper > section > aside {
    /* position: sticky; */
    /* top: 0; */
    /* width: 20%; */
    /* left: 0; */
    float: left;
    /* background: #25292d; */
    /* height: 100vh; */
    /* overflow: hidden; */
}
.wapper > section > main {
  position: relative;
  overflow: hidden;
  width: 80%;
  float: right;
}
.wapper > section > main .page {
  padding: 15px 10px;
}
@media (max-width: 767px) {
  .wapper > section > main, .wapper > section > aside {
    width: 100% !important;
  }
  .wapper > section > aside {
    overflow-y: scroll;
    height: calc( 100vh - 50px );
    position: relative !important;
  }
}
.wapper footer {
  flex: 0 0 auto;
  position: relative;
  min-height: 60px;
  line-height: 60px;
  text-align: center;
}
.wapper footer .copyright {
  text-align: center;
  line-height: 60px;
}

.copyright {
  line-height: 15px;
  font-size: 13px;
  transition: all 0.5s;
  color: #555555;
}
.copyright a {
  color: #555555;
}
.copyright a:hover {
  color: RGB(69, 104, 142);
}

.central-block {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 450px;
  background: #ffffff;
  box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.central-block.auth-block {
  width: 450px;
}
.central-block.install-block {
  width: 550px;
}
.central-block .central-block-header {
  height: 40px;
  background: #25292d;
  border-radius: 3px;
}
.central-block .central-block-header h3 {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 18px;
  color: white;
  position: absolute;
  width: 100%;
  line-height: 40px;
  top: 0;
}
.central-block .central-block-header img {
  height: 40px;
  width: 40px;
  margin-left: 15px;
}
.central-block .central-block-body {
  position: relative;
  height: auto;
  overflow: hidden;
  padding: 10px;
}
.central-block .central-block-body .form-horizontal {
  max-width: 340px;
  margin: 40px auto 30px;
}
.central-block .central-block-body .form-horizontal input {
  margin-bottom: 10px;
}

@media (max-width: 500px) {
  .central-block {
    width: calc( 100% - 30px ) !important;
  }
}

table.playground thead .number {
	width: 5% !important;
}

table.playground thead .name {
	width: 35% !important;
}

table.playground thead .price {
	width: 15% !important;
}

table.playground thead .availability {
	width: 15% !important;
}

table.playground thead .actions {
	width: 30% !important;
}

table.playground thead tr td {
	text-align: center !important;
}

table.playground tbody td:nth-child(1),
table.playground tbody td:nth-child(3),
table.playground tbody td:nth-child(4),
table.playground tbody td:nth-child(5)
{
	text-align: center !important;
}

.mt-4 {
	margin-top: 0.4rem !important;
}

#rcon_list tr td {
	align-items: center;
	border-style: none;
}

.table.table-responsive {
	border-style: none;
}

.modal-body.p_rcon {
	padding: 0;
}

.modal-body.p_rcon form,
.modal-body.p_rcon .f-table {
	padding: 15px;
}

#rcon_list tr td:last-child {
	display: flex;
    justify-content: end;
}

.block-text {
	display: flex;
    background-color: #191D20;
    color: white;
    align-items: center;
    padding: 15px;
	height: 40px;
}

#form_rcon_add .col-md-12 {
	padding-right: 0;
}

/*# sourceMappingURL=primary.css.map */


/* PBGame CMS admin refinements */
.admin-modules-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;align-items:start}
#modules .block{height:100%;border:1px solid #dbe4ef;border-radius:16px;background:#fff;box-shadow:0 12px 30px rgba(31,41,55,.06);padding:0;overflow:hidden}
#modules .block .block_head{background:linear-gradient(135deg,#111827,#1f2937);color:#fff;padding:14px 18px;font-weight:600;border-radius:16px 16px 0 0}
#modules .block p,#modules .block hr,#modules .block .clearfix,#modules .block button,#modules .block a{margin-left:18px;margin-right:18px}
#modules .block p{margin-top:14px}
#modules .block hr{border-color:#eef2f7}
#modules .btn{border-radius:10px;font-weight:600}
.admin-info-card{border-radius:18px;background:linear-gradient(135deg,#f8fbff,#eef5ff);border:1px solid #dbe7ff;padding:0 0 18px 0;overflow:hidden}
.admin-info-card .block_head_info{padding:16px 18px;font-size:18px;font-weight:700;color:#0f172a;background:linear-gradient(135deg,#dbeafe,#eff6ff)}
.admin-info-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding:16px 18px 0}
.admin-info-item{background:#fff;border:1px solid #e5ecf6;border-radius:14px;padding:14px 14px 12px;line-height:1.5;color:#334155}
.admin-pages-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.admin-loading-card{display:flex;align-items:center;justify-content:center;min-height:160px;border:1px dashed #cbd5e1;border-radius:16px;background:#fff}
.admin-page-card{background:#fff;border:1px solid #e5ecf6;border-radius:16px;box-shadow:0 10px 24px rgba(15,23,42,.06);overflow:hidden}
.admin-page-card__header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;background:linear-gradient(135deg,#111827,#1f2937);color:#fff}
.admin-page-card__title{font-size:16px;font-weight:700;margin:0}
.admin-page-card__meta{font-size:12px;opacity:.8}
.admin-page-card__body{padding:16px}
.admin-page-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.admin-page-grid .full{grid-column:1/-1}
.admin-page-thumb{display:flex;gap:12px;align-items:flex-start}
.admin-page-thumb img{width:96px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #dbe4ef}
.admin-page-card label{font-size:12px;font-weight:600;color:#64748b;margin:0 0 6px;display:block}
.admin-page-card .form-control{border-radius:10px}
.admin-page-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0 16px 16px}
.admin-page-actions .btn{border-radius:10px;font-weight:600}
.pages-builder-section .panel{border-radius:14px;overflow:hidden;border-color:#e5ecf6;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.pages-builder-section .panel-heading{background:#111827!important;color:#fff!important;border:none;font-weight:700}


.admin-editor-intro{background:#ffffff;border:1px solid #e5ecf6;border-radius:16px;padding:18px 20px;margin-bottom:16px;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.admin-editor-intro h4{margin:0 0 6px;font-weight:700;color:#111827}
.admin-editor-intro p{margin:0;color:#64748b;line-height:1.55}
.admin-page-card--compact .admin-page-card__header{padding:16px 18px}
.admin-page-card__title-wrap{min-width:0}
.admin-page-card__thumb-small{width:64px;height:64px;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);display:flex;align-items:center;justify-content:center;flex:0 0 64px}
.admin-page-card__thumb-small img{width:100%;height:100%;object-fit:cover}
.admin-page-card__summary{font-size:13px;line-height:1.55;color:#475569;margin-bottom:14px;min-height:42px}
.admin-pill-row{display:flex;flex-wrap:wrap;gap:8px}
.admin-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid #dbe4f0;background:#f8fafc;color:#334155}
.admin-pill--accent{background:#eef4ff;border-color:#cfe0ff;color:#1d4ed8}
.admin-pill--success{background:#ecfdf5;border-color:#bbf7d0;color:#15803d}
.admin-pill--warn{background:#fff7ed;border-color:#fed7aa;color:#c2410c}
.admin-pill--danger{background:#fef2f2;border-color:#fecaca;color:#dc2626}
.admin-pill--muted{background:#f8fafc;border-color:#e2e8f0;color:#64748b}
.admin-page-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0 16px 16px}
.admin-page-actions .btn{border-radius:12px;padding:8px 14px;font-weight:600}
.module-card{display:flex;flex-direction:column;min-height:100%}
.module-card .block_head{position:relative;z-index:1}
.module-card__body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:14px;height:100%}
.module-card__status{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.module-card__links,.module-card__actions{display:flex;flex-wrap:wrap;gap:10px}
.module-card__links .btn,.module-card__actions .btn{border-radius:10px;font-weight:600}
.module-card__info{color:#334155;line-height:1.6;font-size:13px;background:#f8fbff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;overflow:auto;max-height:320px;white-space:normal}
.module-card__info ul{padding-left:18px;margin:8px 0 0}
.module-card__info li{margin-bottom:6px}
.module-card__info .btn{margin:6px 8px 0 0;border-radius:999px}
.module-card--discover .module-card__info{max-height:220px}
#modules .block p,#modules .block hr,#modules .block .clearfix,#modules .block button,#modules .block a{margin-left:0;margin-right:0}

.admin-grid-section{grid-column:1/-1;border:1px solid #dbe4ef;border-radius:18px;background:linear-gradient(135deg,#ffffff,#f8fbff);padding:18px 20px;box-shadow:0 12px 30px rgba(31,41,55,.05)}
.admin-grid-section__title{font-size:20px;font-weight:800;color:#0f172a;margin-bottom:6px}
.admin-grid-section__desc{font-size:13px;line-height:1.6;color:#64748b;max-width:900px}
#modules .module-card--system .block_head{background:linear-gradient(135deg,#0f172a,#1d4ed8)}
#modules .module-card--system{border-color:#cfe0ff}

.admin-pages-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 18px;}
.admin-pages-toolbar .form-control{flex:1 1 300px;max-width:480px;}
.admin-filter-group{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.admin-filter-chip{display:inline-flex;align-items:center;justify-content:center;padding:9px 14px;border-radius:999px;border:1px solid #dbe4f0;background:#fff;color:#475569;font-size:13px;font-weight:600;transition:.18s ease;}
.admin-filter-chip:hover,.admin-filter-chip.is-active{background:#eef4ff;border-color:#cfe0ff;color:#1d4ed8;box-shadow:0 8px 18px rgba(37,99,235,.08);}
.admin-page-group{grid-column:1/-1;display:grid;gap:16px;}
.admin-page-group__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border:1px solid #dbe4ef;border-radius:16px;background:linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 10px 24px rgba(15,23,42,.04);}
.admin-page-group__title{font-size:18px;font-weight:800;color:#111827;}
.admin-page-group__desc{font-size:13px;color:#64748b;}
@media (max-width: 767px){.admin-pages-toolbar{flex-direction:column;align-items:stretch;}.admin-pages-toolbar .form-control{max-width:none;}.admin-filter-group{justify-content:flex-start;}}


.admin-page-card__title,.module-card .block_head{position:relative}
.admin-page-card__title{padding-left:0}
.module-card[data-module-active="enabled"] .block_head:before,
.module-card[data-module-active="disabled"] .block_head:before{content:'';position:absolute;left:0;top:50%;width:10px;height:10px;border-radius:50%;transform:translateY(-50%);box-shadow:0 0 0 4px rgba(255,255,255,.08)}
.module-card[data-module-active="enabled"] .block_head:before{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.18)}
.module-card[data-module-active="disabled"] .block_head:before{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.18)}
#local_modules .module-card .block_head{padding-left:18px}
.admin-dev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width: 991px){.admin-dev-grid{grid-template-columns:1fr}}

.admin-state-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px;vertical-align:middle;box-shadow:0 0 0 4px rgba(148,163,184,.12)}
.admin-state-dot--enabled{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.18)}
.admin-state-dot--disabled{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.18)}
.module-card .block_head .admin-state-dot{margin-top:-2px}
.admin-page-card__title .admin-state-dot{margin-top:-1px}

.admin-page-card__title .admin-state-dot{box-shadow:none!important;width:9px;height:9px}
.admin-editor-note{margin-top:10px;padding:12px 14px;border-radius:14px;background:#f8fbff;border:1px solid #dbe7ff;color:#475569;font-size:13px;line-height:1.55}
.admin-editor-note b{color:#0f172a}
.admin-page-group__head--warn{background:linear-gradient(135deg,#fff7ed,#fffbeb);border-color:#fed7aa}
.admin-page-group__head--danger{background:linear-gradient(135deg,#fef2f2,#fff7f7);border-color:#fecaca}
.admin-page-card__helper{margin-top:12px;font-size:12px;line-height:1.55;color:#64748b}

.module-card .block_head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:18px}
.module-card .block_head:before{display:none !important}
.module-card__title{font-weight:700;color:inherit;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.module-card__head-status{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px;line-height:1;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;white-space:nowrap}
.module-card__head-status--enabled{background:#ecfdf5;border-color:#bbf7d0;color:#15803d}
.module-card__head-status--disabled{background:#fef2f2;border-color:#fecaca;color:#dc2626}
.module-card__head-status .admin-state-dot{margin:0;width:9px;height:9px;box-shadow:none}
.module-card__meta{margin-top:2px;font-size:12px;line-height:1.8;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
@media (max-width: 767px){.module-card__meta{grid-template-columns:1fr}.module-card .block_head{padding-right:14px}}

body.has-dc-sidebar #modules_tab_main .admin-modules-grid,
body.has-dc-sidebar #modules_tab_system .admin-modules-grid {
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 12px !important;
}

body.has-dc-sidebar #modules_tab_main .module-card,
body.has-dc-sidebar #modules_tab_system .module-card {
  min-height: 0;
  border-color: #cddde7 !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 1px 2px rgba(17,45,65,.06), 0 8px 18px rgba(17,45,65,.045) !important;
}

body.has-dc-sidebar #modules_tab_main .module-card .block_head,
body.has-dc-sidebar #modules_tab_system .module-card .block_head {
  min-height: 42px !important;
  padding: 9px 12px !important;
  background: linear-gradient(90deg, #155f8d, #28799e) !important;
  border-left-width: 3px !important;
}

body.has-dc-sidebar #modules_tab_main .module-card__title,
body.has-dc-sidebar #modules_tab_system .module-card__title {
  font-size: 13px;
  letter-spacing: .01em;
}

body.has-dc-sidebar #modules_tab_main .module-card__body,
body.has-dc-sidebar #modules_tab_system .module-card__body {
  gap: 12px;
  padding: 12px 14px 14px !important;
}

body.has-dc-sidebar #modules_tab_main .module-card__info,
body.has-dc-sidebar #modules_tab_system .module-card__info {
  display: none !important;
}

body.has-dc-sidebar #modules_tab_main .module-card__links,
body.has-dc-sidebar #modules_tab_system .module-card__links {
  min-height: 32px;
  align-items: center;
}

body.has-dc-sidebar #modules_tab_main .module-card__links:empty,
body.has-dc-sidebar #modules_tab_system .module-card__links:empty {
  display: none;
}

body.has-dc-sidebar #modules_tab_main .module-card__links .btn,
body.has-dc-sidebar #modules_tab_system .module-card__links .btn,
body.has-dc-sidebar #modules_tab_main .module-card__actions .btn,
body.has-dc-sidebar #modules_tab_system .module-card__actions .btn {
  min-height: 30px;
  padding: 6px 11px !important;
  border-radius: 5px !important;
  font-size: 12px !important;
}

body.has-dc-sidebar #modules_tab_main .module-card__meta,
body.has-dc-sidebar #modules_tab_system .module-card__meta {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dbe7ef;
  border-radius: 6px;
  background: #f7fbfd;
  color: #5f7283 !important;
  line-height: 1.45;
  gap: 8px 14px;
}

body.has-dc-sidebar #modules_tab_main .module-card__meta strong,
body.has-dc-sidebar #modules_tab_system .module-card__meta strong {
  color: #315f7a;
}

body.has-dc-sidebar #modules_tab_main .module-card__actions,
body.has-dc-sidebar #modules_tab_system .module-card__actions {
  margin-top: auto;
  padding-top: 2px;
  align-items: center;
}

body.has-dc-sidebar .admin-module-install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}

body.has-dc-sidebar .admin-module-install-grid:before,
body.has-dc-sidebar .admin-module-install-grid:after {
  content: none !important;
  display: none !important;
}

body.has-dc-sidebar .admin-module-install-grid > [class*="col-"] {
  width: auto;
  float: none;
  padding-left: 0;
  padding-right: 0;
}

body.has-dc-sidebar .admin-module-install-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  padding: 0 14px 14px !important;
  border-color: #cddde7 !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow: 0 1px 2px rgba(17,45,65,.06), 0 10px 22px rgba(17,45,65,.05) !important;
}

body.has-dc-sidebar .admin-module-install-card > .block_head {
  min-height: 42px !important;
  margin: 0 -14px 14px !important;
  padding: 9px 14px !important;
  border-left-width: 3px !important;
  background: linear-gradient(90deg, #155f8d, #28799e) !important;
}

body.has-dc-sidebar .admin-module-install-card__control,
body.has-dc-sidebar .admin-module-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

body.has-dc-sidebar .admin-module-file-input {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px !important;
  border: 1px dashed #a9c3d2 !important;
  border-radius: 6px !important;
  background: #f7fbfd !important;
  color: #315f7a !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.has-dc-sidebar .admin-module-install-card .btn-primary {
  min-width: 126px;
  min-height: 36px;
  padding: 8px 14px !important;
  border-color: #155f8d !important;
  background: #155f8d !important;
  color: #fff !important;
}

body.has-dc-sidebar .admin-module-install-card .btn-primary:hover {
  background: #104f77 !important;
  color: #fff !important;
}

body.has-dc-sidebar .admin-module-install-card .form-control {
  min-height: 36px;
}

body.has-dc-sidebar .admin-module-install-card .text-muted.m-t-10 {
  margin: 12px 0 0 !important;
  padding: 10px 12px;
  border: 1px solid #dbe7ef;
  border-radius: 6px;
  background: #f7fbfd;
  color: #5f7283 !important;
  line-height: 1.45;
}

body.has-dc-sidebar .admin-module-install-card #loading_result,
body.has-dc-sidebar .admin-module-install-card #installing_result {
  margin-top: auto;
}

@media (max-width: 991px) {
  body.has-dc-sidebar .admin-module-install-grid,
  body.has-dc-sidebar .admin-module-install-card__control,
  body.has-dc-sidebar .admin-module-key-row {
    grid-template-columns: 1fr;
  }

  body.has-dc-sidebar .admin-module-install-card .btn-primary {
    width: 100%;
  }
}

/* PBGame CMS admin layout refresh */
.wapper > section > aside.admin-sidebar-shell{
  width:290px;
  min-width:290px;
  max-width:290px;
  overflow-y:auto;
  overflow-x:hidden;
}
.wapper > section > main{
  width:calc(100% - 260px);
}
.admin-sidebar-brand{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px 16px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.admin-sidebar-brand__logo{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg,#ffffff,#e7eef8);
  color:#111827;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  font-size:18px;
}
.admin-sidebar-brand__meta{min-width:0}
.admin-sidebar-brand__eyebrow{
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.6);
  margin-bottom:4px;
}
.admin-sidebar-brand__title{
  font-size:20px;
  line-height:1.15;
  font-weight:800;
  color:#fff;
  margin-bottom:6px;
}
.admin-sidebar-brand__text{
  font-size:12px;
  line-height:1.55;
  color:rgba(255,255,255,.72);
}
@media (max-width: 767px){
  .wapper > section > aside.admin-sidebar-shell,
  .wapper > section > main{width:100%!important;max-width:none;min-width:0}
}

/* PBGame CMS 2.3.1 â€” admin sidebar and button fallback fix, 2026-04-29 */
@media (min-width: 768px) {
  body.has-dc-sidebar { padding-left:260px!important; box-sizing:border-box!important; }
  body.has-dc-sidebar .dc-sidebar { position:fixed!important; left:0!important; top:0!important; bottom:0!important; width:260px!important; min-width:260px!important; max-width:260px!important; height:100vh!important; z-index:1000!important; margin:0!important; }
}
body.theme-css .input-group-btn[data-toggle="buttons"] > label.btn,
body.theme-css .btn-group[data-toggle="buttons"] > label.btn.active {
  background: #46d388 !important;
  color: #0d1520 !important;
  border-color: #46d388 !important;
  font-weight: 600 !important;
}
body.theme-css .input-group-btn[data-toggle="buttons"] > label.btn input[type="radio"],
body.theme-css .btn-group[data-toggle="buttons"] > label.btn input[type="radio"] { position:absolute!important; opacity:0!important; width:1px!important; height:1px!important; pointer-events:none!important; }

/* PBGame CMS 2.3.1 â€” final admin content left alignment, 2026-04-29
   Sidebar is fixed, so the main column must not keep old float/right 80% layout. */
@media (min-width: 768px) {
  body.has-dc-sidebar {
    padding-left: 260px !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.has-dc-sidebar .wapper,
  body.has-dc-sidebar .wapper > section {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.has-dc-sidebar .wapper > section > header {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    left: 0 !important;
    right: auto !important;
  }

  body.has-dc-sidebar .wapper > section > main {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 14px 18px !important;
    left: 0 !important;
    right: auto !important;
    position: relative !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.has-dc-sidebar .wapper > section > main .page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 15px 0 !important;
    box-sizing: border-box !important;
  }

  body.has-dc-sidebar .breadcrumbs,
  body.has-dc-sidebar .page > .breadcrumbs {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 767px) {
  body.has-dc-sidebar {
    padding-left: 0 !important;
  }

  body.has-dc-sidebar .wapper > section > main {
    float: none !important;
    width: 100% !important;
    padding: 0 10px 14px !important;
  }
}

/* PBGame CMS admin UIX refresh matched to XenForo-style sidebar */
body.has-dc-sidebar {
  --uix-bg: #edf3f7;
  --uix-surface: #ffffff;
  --uix-surface-soft: #f6fafc;
  --uix-surface-tint: #eef7fc;
  --uix-border: #d7e3eb;
  --uix-border-strong: #bfd2de;
  --uix-text: #142536;
  --uix-muted: #6f8190;
  --uix-blue: #155f8d;
  --uix-blue-dark: #104f77;
  --uix-blue-soft: #e3f1f8;
  --uix-accent: #33b78a;
  --uix-danger: #c84646;
  --uix-warning: #f0a235;
  --uix-radius: 5px;
  --uix-shadow: 0 1px 2px rgba(17, 45, 65, .07), 0 6px 18px rgba(17, 45, 65, .045);
  color: var(--uix-text);
  font-size: 13px;
}

body.has-dc-sidebar .wapper > section {
  background: var(--uix-bg) !important;
}

body.has-dc-sidebar .wapper > section > main {
  background: var(--uix-bg) !important;
  color: var(--uix-text);
}

body.has-dc-sidebar .wapper > section > main .page {
  padding: 12px 14px 18px !important;
}

body.has-dc-sidebar .wapper > section > header {
  display: none !important;
}

body.has-dc-sidebar .breadcrumbs,
body.has-dc-sidebar .page > .breadcrumbs {
  display: none !important;
  align-items: center;
  min-height: 34px;
  margin: 0 0 12px !important;
  padding: 7px 14px !important;
  border: 1px solid var(--uix-border) !important;
  border-left: 4px solid var(--uix-blue) !important;
  border-radius: var(--uix-radius) !important;
  background: var(--uix-surface) !important;
  box-shadow: 0 1px 3px rgba(17,45,65,.08) !important;
  color: var(--uix-muted) !important;
  font-size: 13px;
}

body.has-dc-sidebar .page > .breadcrumbs + *,
body.has-dc-sidebar .page > script:first-child + .breadcrumbs + * {
  margin-top: 0 !important;
}

body.has-dc-sidebar .breadcrumbs a {
  color: var(--uix-blue-dark) !important;
  text-decoration: none !important;
}

body.has-dc-sidebar .breadcrumbs a:hover {
  color: var(--uix-blue) !important;
}

body.has-dc-sidebar .breadcrumbs .glyphicon {
  color: var(--uix-blue) !important;
}

body.has-dc-sidebar .block,
body.has-dc-sidebar .panel,
body.has-dc-sidebar .well,
body.has-dc-sidebar .admin-info-card,
body.has-dc-sidebar .admin-page-card,
body.has-dc-sidebar .admin-grid-section,
body.has-dc-sidebar .central-block {
  border: 1px solid var(--uix-border) !important;
  border-radius: var(--uix-radius) !important;
  background: var(--uix-surface) !important;
  box-shadow: var(--uix-shadow) !important;
  color: var(--uix-text) !important;
  overflow: hidden;
}

body.has-dc-sidebar .block,
body.has-dc-sidebar .panel {
  margin-bottom: 12px !important;
}

body.has-dc-sidebar .block_head,
body.has-dc-sidebar .panel-heading,
body.has-dc-sidebar #modules .block .block_head,
body.has-dc-sidebar .module-card .block_head,
body.has-dc-sidebar .admin-page-card__header,
body.has-dc-sidebar .pages-builder-section .panel-heading {
  min-height: 39px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-left: 4px solid var(--uix-accent) !important;
  border-radius: 0 !important;
 background: radial-gradient(circle at 78% 38%, rgba(126, 100, 255, .28), transparent 34%), linear-gradient(135deg, #122154, rgba(26, 27, 40, .96)) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase;
}

body.has-dc-sidebar .block_head + *,
body.has-dc-sidebar .panel-body,
body.has-dc-sidebar .block_body {
  color: var(--uix-text);
}

body.has-dc-sidebar .block {
  padding: 0 10px 12px !important;
}

body.has-dc-sidebar #modules .block,
body.has-dc-sidebar .module-card {
  padding: 0 !important;
}

body.has-dc-sidebar .block > .block_head {
  margin: 0 -10px 12px !important;
}

body.has-dc-sidebar #modules .block > .block_head,
body.has-dc-sidebar .module-card > .block_head {
  margin: 0 !important;
}

body.has-dc-sidebar .block p,
body.has-dc-sidebar .block label,
body.has-dc-sidebar .panel-body p {
  color: var(--uix-text);
  line-height: 1.45;
}

body.has-dc-sidebar .text-muted,
body.has-dc-sidebar small,
body.has-dc-sidebar .help-block {
  color: var(--uix-muted) !important;
}

body.has-dc-sidebar .form-control,
body.has-dc-sidebar select.form-control,
body.has-dc-sidebar textarea.form-control,
body.has-dc-sidebar input[type="text"],
body.has-dc-sidebar input[type="number"],
body.has-dc-sidebar input[type="password"],
body.has-dc-sidebar input[type="email"],
body.has-dc-sidebar input[type="url"],
body.has-dc-sidebar select,
body.has-dc-sidebar textarea {
  min-height: 36px;
  padding: 7px 11px !important;
  border: 1px solid #c9d9e3 !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%) !important;
  color: var(--uix-text) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  box-shadow: inset 0 1px 1px rgba(17,45,65,.035), 0 1px 0 rgba(255,255,255,.75) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

body.has-dc-sidebar textarea.form-control,
body.has-dc-sidebar textarea {
  min-height: 86px;
  resize: vertical;
}

body.has-dc-sidebar .form-control:hover,
body.has-dc-sidebar input[type="text"]:hover,
body.has-dc-sidebar input[type="number"]:hover,
body.has-dc-sidebar input[type="password"]:hover,
body.has-dc-sidebar input[type="email"]:hover,
body.has-dc-sidebar input[type="url"]:hover,
body.has-dc-sidebar select:hover,
body.has-dc-sidebar textarea:hover {
  border-color: #a9c3d2 !important;
  background: #fff !important;
}

body.has-dc-sidebar .form-control:focus,
body.has-dc-sidebar input[type="text"]:focus,
body.has-dc-sidebar input[type="number"]:focus,
body.has-dc-sidebar input[type="password"]:focus,
body.has-dc-sidebar input[type="email"]:focus,
body.has-dc-sidebar input[type="url"]:focus,
body.has-dc-sidebar select:focus,
body.has-dc-sidebar textarea:focus {
  border-color: var(--uix-blue) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(21,95,141,.13), inset 0 1px 1px rgba(17,45,65,.025) !important;
}

body.has-dc-sidebar .form-control::placeholder,
body.has-dc-sidebar input[type="text"]::placeholder,
body.has-dc-sidebar input[type="number"]::placeholder,
body.has-dc-sidebar input[type="password"]::placeholder,
body.has-dc-sidebar input[type="email"]::placeholder,
body.has-dc-sidebar input[type="url"]::placeholder,
body.has-dc-sidebar textarea::placeholder {
  color: #8fa2af !important;
  opacity: 1;
}

body.has-dc-sidebar select.form-control,
body.has-dc-sidebar select {
  cursor: pointer;
  padding-right: 34px !important;
}

body.has-dc-sidebar .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 6px;
}

body.has-dc-sidebar .input-group .form-control {
  min-width: 0;
}

body.has-dc-sidebar .input-group-addon,
body.has-dc-sidebar .input-group-btn > .btn,
body.has-dc-sidebar .input-group-btn > .btn2 {
  min-height: 36px;
  border-color: var(--uix-border-strong) !important;
}

body.has-dc-sidebar .input-group-addon {
  background: #eef6fb !important;
  color: var(--uix-blue-dark) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.has-dc-sidebar .has-error .form-control,
body.has-dc-sidebar .form-control.error,
body.has-dc-sidebar input.error,
body.has-dc-sidebar textarea.error {
  border-color: var(--uix-danger) !important;
  box-shadow: 0 0 0 3px rgba(200,70,70,.12) !important;
}

body.has-dc-sidebar .has-success .form-control {
  border-color: var(--uix-accent) !important;
  box-shadow: 0 0 0 3px rgba(51,183,138,.12) !important;
}

body.has-dc-sidebar .btn,
body.has-dc-sidebar .btn2,
body.has-dc-sidebar button,
body.has-dc-sidebar input[type=button],
body.has-dc-sidebar input[type=submit] {
  min-height: 32px;
  border-radius: var(--uix-radius) !important;
  border: 1px solid var(--uix-border-strong) !important;
  background: var(--uix-surface-soft) !important;
  color: var(--uix-blue-dark) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(17,45,65,.06) !important;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.has-dc-sidebar .btn:hover,
body.has-dc-sidebar .btn2:hover,
body.has-dc-sidebar button:hover,
body.has-dc-sidebar input[type=button]:hover,
body.has-dc-sidebar input[type=submit]:hover {
  border-color: var(--uix-blue) !important;
  background: var(--uix-blue-soft) !important;
  color: var(--uix-blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(21,95,141,.12) !important;
}

body.has-dc-sidebar .btn-primary,
body.has-dc-sidebar .btn2.btn-primary,
body.has-dc-sidebar .btn-success,
body.has-dc-sidebar .btn2.btn-success {
  border-color: var(--uix-blue) !important;
  background: var(--uix-blue) !important;
  color: #fff !important;
}

body.has-dc-sidebar .btn-primary:hover,
body.has-dc-sidebar .btn-success:hover,
body.has-dc-sidebar .btn2.btn-primary:hover,
body.has-dc-sidebar .btn2.btn-success:hover {
  background: var(--uix-blue-dark) !important;
  color: #fff !important;
}

body.has-dc-sidebar .btn-danger,
body.has-dc-sidebar .btn2.btn-danger {
  border-color: var(--uix-danger) !important;
  background: var(--uix-danger) !important;
  color: #fff !important;
}

body.has-dc-sidebar .btn-warning,
body.has-dc-sidebar .btn2.btn-warning {
  border-color: var(--uix-warning) !important;
  background: var(--uix-warning) !important;
  color: #fff !important;
}

body.has-dc-sidebar .table {
  background: #fff !important;
  border: 1px solid var(--uix-border) !important;
  border-radius: var(--uix-radius) !important;
  overflow: hidden;
}

body.has-dc-sidebar .table > thead > tr > th,
body.has-dc-sidebar .table > thead > tr > td {
  border-bottom: 1px solid var(--uix-border-strong) !important;
  background: var(--uix-blue-soft) !important;
  color: var(--uix-blue-dark) !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

body.has-dc-sidebar .table > tbody > tr > td,
body.has-dc-sidebar .table > tbody > tr > th {
  border-top: 1px solid var(--uix-border) !important;
  color: var(--uix-text);
  vertical-align: middle !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}

body.has-dc-sidebar .table > tbody > tr:hover > td {
  background: var(--uix-surface-tint) !important;
}

body.has-dc-sidebar .alert,
body.has-dc-sidebar .bs-callout {
  border: 1px solid var(--uix-border) !important;
  border-left: 4px solid var(--uix-blue) !important;
  border-radius: var(--uix-radius) !important;
  background: var(--uix-surface) !important;
  color: var(--uix-text) !important;
  box-shadow: 0 1px 3px rgba(17,45,65,.06) !important;
  padding: 10px 12px !important;
}

body.has-dc-sidebar .alert-success,
body.has-dc-sidebar .bs-callout-success {
  border-left-color: var(--uix-accent) !important;
  background: #eefaf5 !important;
}

body.has-dc-sidebar .alert-danger,
body.has-dc-sidebar .bs-callout-danger {
  border-left-color: var(--uix-danger) !important;
  background: #fff4f4 !important;
}

body.has-dc-sidebar .nav-tabs {
  border-bottom: 1px solid var(--uix-border-strong) !important;
}

body.has-dc-sidebar .nav-tabs > li > a {
  border-radius: var(--uix-radius) var(--uix-radius) 0 0 !important;
  color: var(--uix-blue-dark) !important;
  font-weight: 700;
}

body.has-dc-sidebar .admin-info-card .block_head_info,
body.has-dc-sidebar .admin-page-card__header,
body.has-dc-sidebar .admin-grid-section,
body.has-dc-sidebar .admin-editor-intro,
body.has-dc-sidebar .admin-page-group__head {
  border-radius: var(--uix-radius) !important;
}

body.has-dc-sidebar .admin-info-list,
body.has-dc-sidebar .admin-page-card__body,
body.has-dc-sidebar .module-card__body,
body.has-dc-sidebar .panel-body,
body.has-dc-sidebar .block_body {
  padding: 12px 14px !important;
}

body.has-dc-sidebar .admin-pages-grid,
body.has-dc-sidebar .admin-modules-grid,
body.has-dc-sidebar .admin-page-group {
  gap: 12px !important;
}

body.has-dc-sidebar .admin-page-card__title,
body.has-dc-sidebar .admin-grid-section__title,
body.has-dc-sidebar .admin-page-group__title {
  font-size: 15px !important;
}

body.has-dc-sidebar .admin-page-card__summary,
body.has-dc-sidebar .module-card__info,
body.has-dc-sidebar .admin-grid-section__desc,
body.has-dc-sidebar .admin-page-group__desc {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.has-dc-sidebar .module-card__info {
  padding: 10px 12px !important;
}

body.has-dc-sidebar hr {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  border-color: var(--uix-border) !important;
}

body.has-dc-sidebar .nav-tabs > li.active > a,
body.has-dc-sidebar .nav-tabs > li.active > a:hover,
body.has-dc-sidebar .nav-tabs > li.active > a:focus {
  border-color: var(--uix-border-strong) var(--uix-border-strong) #fff !important;
  background: #fff !important;
  color: var(--uix-text) !important;
}

body.has-dc-sidebar code,
body.has-dc-sidebar pre {
  border: 1px solid var(--uix-border) !important;
  border-radius: var(--uix-radius) !important;
  background: #f7fbfd !important;
  color: #0f4f78 !important;
}

body.has-dc-sidebar footer {
  color: var(--uix-muted);
}

@media (min-width: 1200px) {
  body.has-dc-sidebar .wapper > section > main .page {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 767px) {
  body.has-dc-sidebar .wapper > section > main .page {
    padding: 12px 10px 18px !important;
  }

  body.has-dc-sidebar .block_head,
  body.has-dc-sidebar .panel-heading {
    font-size: 13px !important;
  }
}

/* Template editor: keep CodeMirror syntax readable on the new admin UI */
body.has-dc-sidebar #editor .CodeMirror,
body.has-dc-sidebar .CodeMirror.cm-s-monokai {
  border: 1px solid #0b1822 !important;
  border-radius: 6px !important;
  background: #111b24 !important;
  color: #e7f1f7 !important;
  font-family: Consolas, "SFMono-Regular", "Liberation Mono", Menlo, monospace !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  min-height: 520px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 20px rgba(17,45,65,.12) !important;
}

body.has-dc-sidebar #editor .CodeMirror-lines {
  padding: 6px 0 !important;
}

body.has-dc-sidebar #editor .CodeMirror-line,
body.has-dc-sidebar #editor .CodeMirror pre,
body.has-dc-sidebar .CodeMirror .CodeMirror-line,
body.has-dc-sidebar .CodeMirror pre,
body.has-dc-sidebar .CodeMirror pre.CodeMirror-line,
body.has-dc-sidebar .CodeMirror pre.CodeMirror-line-like {
  color: #e7f1f7 !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  margin: 0 !important;
}

body.has-dc-sidebar #editor .CodeMirror-linebackground,
body.has-dc-sidebar #editor .CodeMirror-linewidget,
body.has-dc-sidebar #editor .CodeMirror-code > div,
body.has-dc-sidebar .CodeMirror .CodeMirror-linebackground,
body.has-dc-sidebar .CodeMirror .CodeMirror-linewidget,
body.has-dc-sidebar .CodeMirror .CodeMirror-code > div {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.has-dc-sidebar #editor .CodeMirror-code > div pre,
body.has-dc-sidebar .CodeMirror .CodeMirror-code > div pre,
body.has-dc-sidebar .CodeMirror .CodeMirror-code > div pre * {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.has-dc-sidebar .CodeMirror-code {
  background: #111b24 !important;
}

body.has-dc-sidebar #editor .CodeMirror-gutters,
body.has-dc-sidebar .CodeMirror.cm-s-monokai .CodeMirror-gutters {
  background: #0b151d !important;
  border-right: 1px solid #203545 !important;
}

body.has-dc-sidebar #editor .CodeMirror-linenumber {
  color: #8aa0af !important;
}

body.has-dc-sidebar #editor .CodeMirror-cursor {
  border-left: 2px solid #7dd3fc !important;
}

body.has-dc-sidebar #editor .CodeMirror-selected,
body.has-dc-sidebar #editor .CodeMirror-focused .CodeMirror-selected {
  background: rgba(21,95,141,.42) !important;
}

body.has-dc-sidebar #editor .CodeMirror-activeline-background {
  background: rgba(255,255,255,.045) !important;
}

body.has-dc-sidebar #editor .cm-tag,
body.has-dc-sidebar #editor .cm-bracket {
  color: #ff6b9a !important;
}

body.has-dc-sidebar #editor .cm-attribute {
  color: #ffd166 !important;
}

body.has-dc-sidebar #editor .cm-string {
  color: #9be564 !important;
}

body.has-dc-sidebar #editor .cm-keyword,
body.has-dc-sidebar #editor .cm-atom {
  color: #c084fc !important;
}

body.has-dc-sidebar #editor .cm-number {
  color: #67e8f9 !important;
}

body.has-dc-sidebar #editor .cm-comment {
  color: #7c8b96 !important;
  font-style: italic;
}

body.has-dc-sidebar #editor .cm-def,
body.has-dc-sidebar #editor .cm-variable,
body.has-dc-sidebar #editor .cm-variable-2,
body.has-dc-sidebar #editor .cm-property {
  color: #e7f1f7 !important;
}

body.has-dc-sidebar #editor .CodeMirror-scrollbar-filler,
body.has-dc-sidebar #editor .CodeMirror-gutter-filler {
  background: #0b151d !important;
}

body.has-dc-sidebar .temp_info .label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 3px 3px 0 0;
  border-radius: 4px;
  background: #476173 !important;
  color: #fff !important;
  font-size: 11px;
}


/* PBGame CMS admin widgets workspace */
body.has-dc-sidebar .admin-widgets-page {
  display: grid;
  gap: 14px;
}

body.has-dc-sidebar .admin-widgets-hero {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(166,149,255,.18);
  border-radius: 8px;
  background: radial-gradient(circle at 84% 18%, rgba(126,100,255,.28), transparent 34%), linear-gradient(135deg, rgba(18,20,37,.98), rgba(47,42,84,.94));
  box-shadow: 0 18px 42px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
  color: #ffffff;
  overflow: hidden;
}

body.has-dc-sidebar .admin-widgets-hero__eyebrow,
body.has-dc-sidebar .admin-widgets-section__label {
  display: block;
  margin-bottom: 5px;
  color: #c8bdff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

body.has-dc-sidebar .admin-widgets-hero h3 {
  margin: 0 0 7px;
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

body.has-dc-sidebar .admin-widgets-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(239,234,255,.78);
  font-size: 13px;
  line-height: 1.5;
}

body.has-dc-sidebar .admin-widgets-hero__mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190,178,255,.24);
  border-radius: 10px;
  background: rgba(126,100,255,.16);
  color: #ffffff;
  font-size: 22px;
}

body.has-dc-sidebar .admin-widgets-section {
  border: 1px solid rgba(166,149,255,.18);
  border-radius: 8px;
  background: radial-gradient(circle at 90% 8%, rgba(126,100,255,.1), transparent 30%), linear-gradient(180deg, rgba(31,32,48,.96), rgba(21,22,34,.96));
  box-shadow: var(--uix-shadow, 0 1px 2px rgba(0,0,0,.22), 0 14px 34px rgba(0,0,0,.18));
  overflow: hidden;
}

body.has-dc-sidebar .admin-widgets-section__head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--uix-accent, #33d6a6);
  background: radial-gradient(circle at 78% 38%, rgba(126,100,255,.24), transparent 34%), linear-gradient(135deg, rgba(18,20,37,.98), rgba(47,42,84,.96));
  color: #ffffff;
}

body.has-dc-sidebar .admin-widgets-section__head strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

body.has-dc-sidebar .admin-widgets-section__hint {
  max-width: 280px;
  color: rgba(221,216,255,.72);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

body.has-dc-sidebar .admin-widgets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

body.has-dc-sidebar .admin-widget-card,
body.has-dc-sidebar .admin-widget-feature,
body.has-dc-sidebar .admin-widget-tool {
  border: 1px solid rgba(190,178,255,.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.035));
  box-shadow: 0 1px 2px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
}

body.has-dc-sidebar .admin-widget-card {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

body.has-dc-sidebar .admin-widget-card--compact {
  min-height: 126px;
}

body.has-dc-sidebar .admin-widget-card__top,
body.has-dc-sidebar .admin-widget-feature__info,
body.has-dc-sidebar .admin-widget-tool__text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

body.has-dc-sidebar .admin-widget-card__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190,178,255,.22);
  border-radius: 8px;
  background: rgba(126,100,255,.15);
  color: #dcd6ff;
  font-size: 14px;
}

body.has-dc-sidebar .admin-widget-card strong,
body.has-dc-sidebar .admin-widget-feature strong,
body.has-dc-sidebar .admin-widget-tool strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

body.has-dc-sidebar .admin-widget-card span,
body.has-dc-sidebar .admin-widget-feature span,
body.has-dc-sidebar .admin-widget-tool span {
  color: rgba(221,216,255,.72);
  font-size: 12px;
  line-height: 1.45;
}

body.has-dc-sidebar .admin-widget-feature__controls--stack {
  flex-direction: column;
  align-items: stretch;
}

body.has-dc-sidebar .admin-widget-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

body.has-dc-sidebar .admin-widget-social-row .form-control {
  flex: 1 1 auto;
}

body.has-dc-sidebar .admin-widget-card__actions,
body.has-dc-sidebar .admin-widget-control-row,
body.has-dc-sidebar .admin-widget-feature__controls,
body.has-dc-sidebar .admin-widget-tool__control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

body.has-dc-sidebar .admin-widget-control-row .btn-group,
body.has-dc-sidebar .admin-widget-feature__controls .btn-group,
body.has-dc-sidebar .admin-widget-card__actions .btn-group {
  display: inline-flex;
  flex: 0 0 auto;
}

body.has-dc-sidebar .admin-widget-control-row .form-control,
body.has-dc-sidebar .admin-widget-feature__controls .form-control,
body.has-dc-sidebar .admin-widget-tool__control .form-control {
  flex: 1 1 150px;
  min-width: 120px;
  width: auto;
}

body.has-dc-sidebar .admin-widget-feature {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.4fr);
  gap: 12px;
  align-items: center;
  margin: 0 14px 14px;
  padding: 16px;
}

body.has-dc-sidebar .admin-widgets-tools {
  display: grid;
  gap: 12px;
  padding: 14px;
}

body.has-dc-sidebar .admin-widget-tool {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

body.has-dc-sidebar .admin-widget-tool__control {
  justify-content: flex-end;
}

body.has-dc-sidebar .admin-widget-tool__control .form-control {
  min-width: 260px;
}

body.has-dc-sidebar .admin-widgets-page .btn-group > .btn.active,
body.has-dc-sidebar .admin-widgets-page .btn-group > label.btn.active {
  border-color: rgba(51,214,166,.55) !important;
  background: linear-gradient(135deg, rgba(51,214,166,.26), rgba(126,100,255,.2)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(51,214,166,.1), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

body.has-dc-sidebar .admin-widgets-page .btn,
body.has-dc-sidebar .admin-widgets-page .form-control {
  min-height: 36px;
}

body.has-dc-sidebar #forbidden-words-list {
  display: grid;
  gap: 8px;
}

@media (max-width: 1199px) {
  body.has-dc-sidebar .admin-widget-feature,
  body.has-dc-sidebar .admin-widget-tool {
    grid-template-columns: 1fr;
  }

  body.has-dc-sidebar .admin-widget-tool__control {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  body.has-dc-sidebar .admin-widgets-hero {
    min-height: 0;
    padding: 14px;
  }

  body.has-dc-sidebar .admin-widgets-hero__mark,
  body.has-dc-sidebar .admin-widgets-section__hint {
    display: none;
  }

  body.has-dc-sidebar .admin-widgets-hero h3 {
    font-size: 18px;
  }

  body.has-dc-sidebar .admin-widgets-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  body.has-dc-sidebar .admin-widget-feature,
  body.has-dc-sidebar .admin-widgets-tools {
    margin: 0;
    padding: 10px;
  }

  body.has-dc-sidebar .admin-widget-card,
  body.has-dc-sidebar .admin-widget-feature,
  body.has-dc-sidebar .admin-widget-tool {
    padding: 12px;
  }

  body.has-dc-sidebar .admin-widget-control-row .btn-group,
  body.has-dc-sidebar .admin-widget-feature__controls .btn-group,
  body.has-dc-sidebar .admin-widget-card__actions .btn-group,
  body.has-dc-sidebar .admin-widget-control-row .btn,
  body.has-dc-sidebar .admin-widget-feature__controls .btn,
  body.has-dc-sidebar .admin-widget-card__actions .btn,
  body.has-dc-sidebar .admin-widget-tool__control .btn,
  body.has-dc-sidebar .admin-widget-tool__control .form-control {
    width: 100%;
  }

  body.has-dc-sidebar .admin-widget-control-row .btn-group > .btn,
  body.has-dc-sidebar .admin-widget-feature__controls .btn-group > .btn,
  body.has-dc-sidebar .admin-widget-card__actions .btn-group > .btn {
    flex: 1 1 0;
    min-width: 0 !important;
  }
}

/* PBGame CMS admin widgets light workspace */
body.has-dc-sidebar .admin-widgets-page {
  gap: 16px;
}

body.has-dc-sidebar .admin-widgets-hero {
  min-height: 96px;
  border: 1px solid #d7e3eb;
  border-left: 4px solid #33b78a;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 1px 2px rgba(17,45,65,.07), 0 12px 26px rgba(17,45,65,.06);
  color: #142536;
}

body.has-dc-sidebar .admin-widgets-hero__eyebrow {
  color: #155f8d;
}

body.has-dc-sidebar .admin-widgets-hero h3 {
  color: #122154 !important;
}

body.has-dc-sidebar .admin-widgets-hero p {
  color: #64748b;
}

body.has-dc-sidebar .admin-widgets-hero__mark {
  border-color: #d7e3eb;
  background: #eef7fc;
  color: #155f8d;
}

body.has-dc-sidebar .admin-widgets-section {
  border: 1px solid #d7e3eb;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17,45,65,.07), 0 12px 26px rgba(17,45,65,.055);
}

body.has-dc-sidebar .admin-widgets-section__head {
  min-height: 49px;
  border-left: 4px solid #33b78a;
  background: linear-gradient(135deg, #122154, rgba(41, 42, 72, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

body.has-dc-sidebar .admin-widgets-section__label {
  color: #bfb7ff;
}

body.has-dc-sidebar .admin-widgets-section__head strong {
  color: #ffffff;
}

body.has-dc-sidebar .admin-widgets-section__hint {
  color: rgba(255,255,255,.72);
}

body.has-dc-sidebar .admin-widgets-grid,
body.has-dc-sidebar .admin-widgets-tools {
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

body.has-dc-sidebar .admin-widget-card,
body.has-dc-sidebar .admin-widget-feature,
body.has-dc-sidebar .admin-widget-tool {
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  box-shadow: 0 1px 2px rgba(17,45,65,.055), 0 8px 18px rgba(17,45,65,.04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.has-dc-sidebar .admin-widget-card:hover,
body.has-dc-sidebar .admin-widget-feature:hover,
body.has-dc-sidebar .admin-widget-tool:hover {
  border-color: #bfd2de;
  box-shadow: 0 1px 2px rgba(17,45,65,.07), 0 14px 26px rgba(17,45,65,.075);
  transform: translateY(-1px);
}

body.has-dc-sidebar .admin-widget-card__icon {
  border-color: #cfe0ff;
  background: #eef4ff;
  color: #155f8d;
}

body.has-dc-sidebar .admin-widget-card strong,
body.has-dc-sidebar .admin-widget-feature strong,
body.has-dc-sidebar .admin-widget-tool strong {
  color: #142536;
}

body.has-dc-sidebar .admin-widget-card span,
body.has-dc-sidebar .admin-widget-feature span,
body.has-dc-sidebar .admin-widget-tool span {
  color: #6f8190;
}

body.has-dc-sidebar .admin-widget-feature {
  margin: 0 16px 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

body.has-dc-sidebar .admin-widgets-page .form-control,
body.has-dc-sidebar .admin-widgets-page select.form-control,
body.has-dc-sidebar .admin-widgets-page input[type="text"],
body.has-dc-sidebar .admin-widgets-page input[type="number"],
body.has-dc-sidebar .admin-widgets-page select {
  border-color: #c9d9e3 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%) !important;
  color: #142536 !important;
  box-shadow: inset 0 1px 1px rgba(17,45,65,.035), 0 1px 0 rgba(255,255,255,.8) !important;
}

body.has-dc-sidebar .admin-widgets-page .form-control:focus,
body.has-dc-sidebar .admin-widgets-page input[type="text"]:focus,
body.has-dc-sidebar .admin-widgets-page input[type="number"]:focus,
body.has-dc-sidebar .admin-widgets-page select:focus {
  border-color: #155f8d !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(21,95,141,.13), inset 0 1px 1px rgba(17,45,65,.025) !important;
}

body.has-dc-sidebar .admin-widgets-page .form-control::placeholder,
body.has-dc-sidebar .admin-widgets-page input::placeholder {
  color: #8fa2af !important;
}

body.has-dc-sidebar .admin-widgets-page .btn,
body.has-dc-sidebar .admin-widgets-page button {
  border-color: #bfd2de !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%) !important;
  color: #0f4f78 !important;
  box-shadow: 0 1px 2px rgba(17,45,65,.06) !important;
}

body.has-dc-sidebar .admin-widgets-page .btn:hover,
body.has-dc-sidebar .admin-widgets-page button:hover {
  border-color: #155f8d !important;
  background: #eaf5fb !important;
  color: #0e476a !important;
}

body.has-dc-sidebar .admin-widgets-page .btn-group > .btn.active,
body.has-dc-sidebar .admin-widgets-page .btn-group > label.btn.active {
  border-color: #33b78a !important;
  background: linear-gradient(180deg, #48d799 0%, #32c184 100%) !important;
  color: #08271d !important;
  box-shadow: 0 0 0 3px rgba(51,183,138,.14), 0 1px 2px rgba(17,45,65,.08) !important;
}

body.has-dc-sidebar .admin-widget-tool {
  background: #ffffff;
}

body.has-dc-sidebar .admin-widget-tool__control .form-control {
  min-width: 280px;
}

body.has-dc-sidebar #forbidden-words .modal-content {
  border-color: #d7e3eb !important;
  background: #ffffff !important;
  color: #142536 !important;
}

body.has-dc-sidebar #forbidden-words .modal-header {
  border-bottom: 1px solid #d7e3eb;
  background: linear-gradient(135deg, #122154, rgba(41,42,72,.96));
  color: #ffffff;
}

body.has-dc-sidebar #forbidden-words .modal-title {
  color: #ffffff !important;
}

body.has-dc-sidebar #forbidden-words .modal-body {
  background: #ffffff !important;
  color: #142536 !important;
}

@media (max-width: 767px) {
  body.has-dc-sidebar .admin-widget-feature,
  body.has-dc-sidebar .admin-widgets-tools {
    margin: 0;
  }

  body.has-dc-sidebar .admin-widgets-grid,
  body.has-dc-sidebar .admin-widgets-tools {
    padding: 10px;
  }
}

/* PBGame CMS admin dev center light workspace */
body.has-dc-sidebar .admin-dev-center-page {
  display: grid;
  gap: 16px;
}

body.has-dc-sidebar .admin-dev-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

body.has-dc-sidebar .admin-dev-center-col {
  min-width: 0;
  display: grid;
  gap: 14px;
}

body.has-dc-sidebar .admin-dev-center-full {
  min-width: 0;
}

body.has-dc-sidebar .admin-dev-center-page .panel,
body.has-dc-sidebar .admin-dev-center-page .well,
body.has-dc-sidebar .pb-admin-help-modal .modal-content {
  border: 1px solid #d7e3eb !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(17,45,65,.07), 0 12px 26px rgba(17,45,65,.055) !important;
  color: #142536 !important;
  overflow: hidden;
}

body.has-dc-sidebar .admin-dev-center-page .panel {
  margin: 0 !important;
}

body.has-dc-sidebar .admin-dev-center-page .panel-heading,
body.has-dc-sidebar .pb-admin-help-modal .modal-header,
body.has-dc-sidebar #pbgame-migration-modal .modal-header,
body.has-dc-sidebar #pbgame-update-modal .modal-header {
  min-height: 49px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  border: 0 !important;
  border-left: 4px solid #33b78a !important;
  background: linear-gradient(135deg, #122154, rgba(41,42,72,.96)) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase;
}

body.has-dc-sidebar .admin-dev-center-page .panel-body {
  padding: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  color: #142536 !important;
}

body.has-dc-sidebar .admin-dev-center-page b,
body.has-dc-sidebar .admin-dev-center-page label,
body.has-dc-sidebar .pb-admin-help-modal b,
body.has-dc-sidebar .pb-admin-help-modal strong {
  color: #142536 !important;
}

body.has-dc-sidebar .admin-dev-center-page small,
body.has-dc-sidebar .admin-dev-center-page .c-868686,
body.has-dc-sidebar .admin-dev-center-page .text-muted {
  color: #6f8190 !important;
}

body.has-dc-sidebar .admin-dev-center-page hr {
  margin: 15px 0 !important;
  border-color: #e3edf4 !important;
}

body.has-dc-sidebar .admin-dev-center-page .form-control,
body.has-dc-sidebar .admin-dev-center-page input[type="text"],
body.has-dc-sidebar .admin-dev-center-page input[type="password"],
body.has-dc-sidebar .admin-dev-center-page select,
body.has-dc-sidebar .admin-dev-center-page textarea {
  min-height: 38px;
  border-color: #c9d9e3 !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%) !important;
  color: #142536 !important;
  box-shadow: inset 0 1px 1px rgba(17,45,65,.035), 0 1px 0 rgba(255,255,255,.8) !important;
}

body.has-dc-sidebar .admin-dev-center-page .form-control:focus,
body.has-dc-sidebar .admin-dev-center-page input:focus,
body.has-dc-sidebar .admin-dev-center-page select:focus,
body.has-dc-sidebar .admin-dev-center-page textarea:focus {
  border-color: #155f8d !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(21,95,141,.13), inset 0 1px 1px rgba(17,45,65,.025) !important;
}

body.has-dc-sidebar .admin-dev-center-page .btn,
body.has-dc-sidebar .pb-admin-help-modal .btn {
  border-color: #bfd2de !important;
  border-radius: 7px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%) !important;
  color: #0f4f78 !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 2px rgba(17,45,65,.06) !important;
}

body.has-dc-sidebar .admin-dev-center-page .btn:hover,
body.has-dc-sidebar .pb-admin-help-modal .btn:hover {
  border-color: #155f8d !important;
  background: #eaf5fb !important;
  color: #0e476a !important;
}

body.has-dc-sidebar .admin-dev-center-page .btn-primary,
body.has-dc-sidebar .admin-dev-center-page .btn-info,
body.has-dc-sidebar .pb-admin-help-modal .btn-primary {
  border-color: #155f8d !important;
  background: #155f8d !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .admin-dev-center-page .btn-success,
body.has-dc-sidebar .admin-dev-center-page .btn-group > .btn.active,
body.has-dc-sidebar .admin-dev-center-page .btn-group > label.btn.active,
body.has-dc-sidebar .admin-dev-center-page .input-group-btn[data-toggle="buttons"] > label.btn.active {
  border-color: #33b78a !important;
  background: linear-gradient(180deg, #48d799 0%, #32c184 100%) !important;
  color: #08271d !important;
  box-shadow: 0 0 0 3px rgba(51,183,138,.14), 0 1px 2px rgba(17,45,65,.08) !important;
}

body.has-dc-sidebar .admin-dev-center-page .btn-warning {
  border-color: #f0a235 !important;
  background: #f0a235 !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .admin-dev-center-page .bs-callout {
  margin: 12px 0 0 !important;
  padding: 12px 14px !important;
  border: 1px solid #d7e3eb !important;
  border-left: 4px solid #155f8d !important;
  border-radius: 7px !important;
  background: #f7fbfd !important;
  color: #315f7a !important;
  box-shadow: none !important;
}

body.has-dc-sidebar .admin-dev-center-page .bs-callout-warning {
  border-left-color: #f0a235 !important;
  background: #fff8ed !important;
  color: #7c4a10 !important;
}

body.has-dc-sidebar .admin-dev-center-page .bs-callout-error,
body.has-dc-sidebar .admin-dev-center-page .bs-callout-danger {
  border-left-color: #c84646 !important;
  background: #fff4f4 !important;
  color: #8f2a2a !important;
}

body.has-dc-sidebar .admin-dev-mode-panel .panel-heading {
  border-left-color: #48d799 !important;
}

body.has-dc-sidebar .admin-dev-mode-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 900;
}

body.has-dc-sidebar .admin-dev-mode-status.active {
  border-color: rgba(72,215,153,.6);
  background: rgba(72,215,153,.18);
  color: #c9ffe6;
}

body.has-dc-sidebar .admin-dev-mode-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #d7e3eb;
  border-radius: 7px;
  background: linear-gradient(135deg, #f8fbfd 0%, #eff8f4 100%);
}

body.has-dc-sidebar .admin-dev-mode-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #122154;
  color: #48d799;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

body.has-dc-sidebar .admin-dev-mode-title {
  color: #142536;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

body.has-dc-sidebar .admin-dev-mode-text {
  margin-top: 3px;
  color: #6f8190;
  font-size: 12px;
  line-height: 1.45;
}

body.has-dc-sidebar .admin-dev-mode-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 12px;
}

body.has-dc-sidebar .admin-dev-mode-switch {
  display: inline-flex;
  align-items: stretch;
}

body.has-dc-sidebar .admin-dev-mode-switch .btn {
  min-height: 38px;
}

body.has-dc-sidebar .admin-dev-mode-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed #c9d9e3;
  border-radius: 7px;
  background: #fbfdff;
}

body.has-dc-sidebar .admin-dev-mode-key span {
  color: #6f8190;
  font-size: 12px;
  font-weight: 800;
}

body.has-dc-sidebar .admin-dev-mode-key code {
  color: #0f4f78;
  background: #eef6fb;
  border: 1px solid #d7e3eb;
  border-radius: 6px;
  white-space: normal;
  word-break: break-all;
}

body.has-dc-sidebar .admin-dev-mode-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

body.has-dc-sidebar .admin-dev-mode-features > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e1ebf2;
  border-radius: 7px;
  background: #ffffff;
}

body.has-dc-sidebar .admin-dev-mode-features .glyphicon {
  display: inline-flex;
  grid-row: span 2;
  margin-top: 1px;
  color: #33b78a;
  font-size: 17px;
}

body.has-dc-sidebar .admin-dev-mode-features b,
body.has-dc-sidebar .admin-dev-mode-features small {
  display: block;
}

body.has-dc-sidebar .admin-dev-mode-features small {
  margin-top: 4px;
  line-height: 1.4;
}

body.has-dc-sidebar .admin-dev-mode-note {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 7px;
  background: #fff8ed;
  color: #7c4a10;
  font-size: 12px;
  line-height: 1.45;
}

body.has-dc-sidebar .admin-dev-mode-note a {
  color: #9a4a10;
  font-weight: 900;
}

body.has-dc-sidebar #version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  color: #142536;
}

body.has-dc-sidebar #engine-cleanup .panel-body {
  display: grid;
  gap: 10px;
}

body.has-dc-sidebar #engine-cleanup .panel-body > b {
  display: block;
  padding: 10px 12px;
  border: 1px solid #e1ebf2;
  border-radius: 7px;
  background: #f8fbfd;
}

body.has-dc-sidebar #engine-cleanup .panel-body > br {
  display: none;
}

body.has-dc-sidebar #engine-cleanup .panel-body > .btn {
  justify-self: start;
}

body.has-dc-sidebar .pb-license-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dbe7ef;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

body.has-dc-sidebar .pb-license-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

body.has-dc-sidebar .pb-license-head .label {
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 11px;
}

body.has-dc-sidebar .pb-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

body.has-dc-sidebar .pb-license-grid div {
  padding: 10px 12px;
  border: 1px solid #e1ebf2;
  border-radius: 8px;
  background: #ffffff;
}

body.has-dc-sidebar .pb-license-grid span {
  display: block;
  margin-bottom: 4px;
  color: #6f8190;
  font-size: 11px;
}

body.has-dc-sidebar .pb-license-grid b {
  display: block;
  font-size: 12px;
  word-break: break-word;
}

body.has-dc-sidebar .pb-license-message {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f1f7fb;
  color: #315f7a;
  font-size: 12px;
}

body.has-dc-sidebar .pb-license-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.has-dc-sidebar .pb-license-box--success {
  border-color: rgba(51,183,138,.34);
  background: linear-gradient(180deg, #f1fbf7 0%, #ffffff 100%);
}

body.has-dc-sidebar .pb-license-box--warning {
  border-color: rgba(240,162,53,.38);
  background: linear-gradient(180deg, #fff8ed 0%, #ffffff 100%);
}

body.has-dc-sidebar .pb-license-box--danger {
  border-color: rgba(200,70,70,.34);
  background: linear-gradient(180deg, #fff4f4 0%, #ffffff 100%);
}

body.has-dc-sidebar #engine-backups .backup-intro-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

body.has-dc-sidebar #engine-backups .backup-intro-actions {
  min-width: 230px;
  text-align: right;
}

body.has-dc-sidebar #engine-backups .backup-create-box,
body.has-dc-sidebar #engine-backups .backup-entry-card,
body.has-dc-sidebar #engine-backups .backup-mode-option {
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17,45,65,.045);
}

body.has-dc-sidebar #engine-backups .backup-create-box {
  padding: 14px;
  background: #f8fbfd;
}

body.has-dc-sidebar #engine-backups .backup-mode-option {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.has-dc-sidebar #engine-backups .backup-mode-option:hover {
  border-color: #bfd2de;
  transform: translateY(-1px);
}

body.has-dc-sidebar #engine-backups .backup-mode-option input {
  margin-top: 3px;
}

body.has-dc-sidebar #engine-backups .backup-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.has-dc-sidebar #engine-backups .backup-entry-card {
  padding: 14px;
}

body.has-dc-sidebar #engine-backups .backup-entry-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

body.has-dc-sidebar #engine-backups .backup-entry-file {
  font-weight: 800;
  word-break: break-word;
  line-height: 1.4;
}

body.has-dc-sidebar #engine-backups .backup-entry-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

body.has-dc-sidebar #engine-backups .backup-entry-meta-item {
  padding: 9px 10px;
  border: 1px solid #e1ebf2;
  border-radius: 7px;
  background: #f8fbfd;
}

body.has-dc-sidebar #engine-backups .backup-entry-meta-item span {
  display: block;
  margin-bottom: 3px;
  color: #6f8190;
  font-size: 11px;
}

body.has-dc-sidebar #engine-backups .backup-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-main-heading {
  justify-content: center !important;
  text-align: center;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-important,
body.has-dc-sidebar .pb-migration-tool .pb-mg-note-card,
body.has-dc-sidebar .pb-migration-tool .pb-mg-source-box,
body.has-dc-sidebar .pb-migration-tool .pb-mg-extra-box,
body.has-dc-sidebar .pb-migration-tool .pb-mg-risk-box,
body.has-dc-sidebar .pb-migration-tool .pb-mg-summary-card {
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17,45,65,.045);
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-important {
  margin-bottom: 16px;
  padding: 13px 15px;
  border-left: 4px solid #c84646;
  background: #fff4f4;
  color: #8f2a2a;
  line-height: 1.5;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-note-card,
body.has-dc-sidebar .pb-migration-tool .pb-mg-source-box,
body.has-dc-sidebar .pb-migration-tool .pb-mg-extra-box,
body.has-dc-sidebar .pb-migration-tool .pb-mg-risk-box,
body.has-dc-sidebar .pb-migration-tool .pb-mg-summary-card {
  padding: 14px 15px;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-source-box,
body.has-dc-sidebar .pb-migration-tool .pb-mg-note-card {
  margin-bottom: 15px;
  background: #f8fbfd;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-mode-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-mode-btn {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #bfd2de;
  border-radius: 7px;
  background: #ffffff;
  color: #315f7a;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-mode-btn.active {
  border-color: #33b78a;
  background: #eefaf5;
  color: #137454;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-entity-card {
  display: flex;
  gap: 9px;
  min-height: 78px;
  padding: 10px;
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-entity-card:hover {
  border-color: #bfd2de;
  background: #f7fbfd;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-summary-value {
  color: #122154;
  font-size: 22px;
  font-weight: 900;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-summary-label,
body.has-dc-sidebar .pb-migration-tool .pb-mg-summary-sub,
body.has-dc-sidebar .pb-migration-tool .pb-mg-muted,
body.has-dc-sidebar .pb-migration-tool .pb-mg-source-help {
  color: #6f8190;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-progress {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf4;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #33b78a, #155f8d);
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-result-tools,
body.has-dc-sidebar .pb-migration-tool .pb-mg-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-mode-badge,
body.has-dc-sidebar .pb-migration-tool .pb-mg-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #155f8d;
  font-size: 11px;
  font-weight: 800;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-plan-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

body.has-dc-sidebar .pb-migration-tool .pb-mg-plan-list li {
  padding: 8px 10px;
  border: 1px solid #e1ebf2;
  border-radius: 7px;
  background: #f8fbfd;
}

body.has-dc-sidebar .pb-admin-help-modal .modal-dialog {
  max-width: 820px;
  width: calc(100% - 32px);
  margin: 38px auto;
}

body.has-dc-sidebar .pb-admin-help-modal .modal-title,
body.has-dc-sidebar #pbgame-migration-modal .modal-title,
body.has-dc-sidebar #pbgame-update-modal .modal-title {
  margin: 0;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
}

body.has-dc-sidebar .pb-admin-help-modal .modal-header .close {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px;
  background: rgba(255,255,255,.08);
  color: #ffffff;
  opacity: .9;
  text-shadow: none;
}

body.has-dc-sidebar .pb-admin-help-modal .modal-body,
body.has-dc-sidebar #pbgame-migration-modal .modal-body,
body.has-dc-sidebar #pbgame-update-modal .modal-body {
  padding: 18px 20px;
  background: #ffffff;
  color: #142536;
  line-height: 1.6;
}

body.has-dc-sidebar .pb-admin-help-modal .modal-footer,
body.has-dc-sidebar #pbgame-migration-modal .modal-footer,
body.has-dc-sidebar #pbgame-update-modal .modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #d7e3eb;
  background: #f8fbfd;
}

body.has-dc-sidebar .pb-admin-help-modal .pb-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

body.has-dc-sidebar .pb-admin-help-modal .pb-help-card,
body.has-dc-sidebar .pb-admin-help-modal .pb-help-list li,
body.has-dc-sidebar .pb-admin-help-modal .pb-help-note {
  border: 1px solid #dbe7ef;
  border-radius: 8px;
  background: #ffffff;
  color: #315f7a;
}

body.has-dc-sidebar .pb-admin-help-modal .pb-help-card {
  padding: 13px 15px;
}

body.has-dc-sidebar .pb-admin-help-modal .pb-help-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.has-dc-sidebar .pb-admin-help-modal .pb-help-list li {
  position: relative;
  padding: 11px 13px 11px 40px;
}

body.has-dc-sidebar .pb-admin-help-modal .pb-help-list li:before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: #33b78a;
  box-shadow: 0 0 0 4px rgba(51,183,138,.13);
}

body.has-dc-sidebar .pb-admin-help-modal .pb-help-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f1f7fb;
}

body.has-dc-sidebar .pb-admin-help-modal code {
  display: inline-block;
  margin: 3px 0;
  padding: 3px 7px;
  border: 1px solid #dbe7ef !important;
  border-radius: 6px !important;
  background: #f7fbfd !important;
  color: #0f4f78 !important;
  white-space: normal;
  word-break: break-word;
}

body.has-dc-sidebar .pb-update-hero {
  position: relative;
  margin: -22px -22px 20px;
  padding: 24px 22px 20px;
  background: radial-gradient(circle at 15% 0, rgba(74,206,142,.14), rgba(74,206,142,0) 55%), linear-gradient(180deg, #fbfcfe, #ffffff);
  border-bottom: 1px solid #edf1f6;
}

body.has-dc-sidebar .pb-update-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ace8e, #2faf73);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(74,206,142,.28);
}

body.has-dc-sidebar .pb-update-version-badge .glyphicon {
  font-size: 10px;
}

body.has-dc-sidebar .pb-update-hero h3 {
  margin: 0 0 14px;
  color: #0f172a !important;
  font-size: 18px;
  font-weight: 800;
}

body.has-dc-sidebar .dc-drawer-section h4,
body.has-dc-sidebar .dc-drawer-section .dc-drawer-section__title {
  color: #0f172a !important;
}

body.has-dc-sidebar .pb-update-version-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.has-dc-sidebar .pb-update-version-line span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 14px;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background: #ffffff;
}

body.has-dc-sidebar .pb-update-version-line span.pb-update-version-line__target {
  border-color: rgba(74,206,142,.35);
  background: #f0fdf4;
}

body.has-dc-sidebar .pb-update-version-line span i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .03em;
}

body.has-dc-sidebar .pb-update-version-line span b {
  font-size: 14px;
  color: #0f172a;
  font-weight: 800;
}

body.has-dc-sidebar .pb-update-description {
  margin: 0;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.6;
}

body.has-dc-sidebar .pb-update-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.has-dc-sidebar .pb-update-list li {
  position: relative;
  padding: 9px 12px 9px 32px;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  background: #fbfcfe;
  color: #334155;
  font-size: 12.5px;
  line-height: 1.45;
  word-break: break-word;
}

body.has-dc-sidebar .pb-update-list li:before {
  content: "";
  position: absolute;
  left: 13px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ace8e;
}

body.has-dc-sidebar .pb-update-note {
  margin-top: 4px;
}

body.has-dc-sidebar .pb-update-empty {
  padding: 18px;
  border: 1px dashed #e2e8f0;
  border-radius: 12px;
  background: #fbfcfe;
  color: #64748b;
  font-size: 13px;
}

body.has-dc-sidebar #pb-update-description-content > .pb-update-empty {
  margin: 4px 0 0;
}

body.has-dc-sidebar #pbgame-migration-log,
body.has-dc-sidebar #pbgame-update-log {
  min-height: 240px !important;
  max-height: 320px !important;
  overflow: auto !important;
  border: 1px solid #203545 !important;
  border-radius: 7px !important;
  background: #111b24 !important;
  color: #d9f4d7 !important;
  font-family: Consolas, "SFMono-Regular", "Liberation Mono", Menlo, monospace;
  font-size: 12px;
}

@media (max-width: 1199px) {
  body.has-dc-sidebar .admin-dev-center-grid,
  body.has-dc-sidebar .pb-migration-tool .pb-mg-entity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  body.has-dc-sidebar #engine-backups .backup-intro-row {
    display: block;
  }

  body.has-dc-sidebar #engine-backups .backup-intro-actions {
    min-width: 0;
    margin-top: 10px;
    text-align: left;
  }

  body.has-dc-sidebar #engine-backups .backup-create-actions {
    padding-top: 15px;
    text-align: left !important;
  }

  body.has-dc-sidebar #engine-backups .backup-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.has-dc-sidebar .admin-dev-center-page {
    gap: 12px;
  }

  body.has-dc-sidebar .admin-dev-center-page .panel-body,
  body.has-dc-sidebar .pb-admin-help-modal .modal-body {
    padding: 12px !important;
  }

  body.has-dc-sidebar .admin-dev-center-page .input-group,
  body.has-dc-sidebar .admin-dev-center-page .backup-entry-head,
  body.has-dc-sidebar .pb-license-head {
    display: block;
  }

  body.has-dc-sidebar .admin-dev-center-page .input-group-btn,
  body.has-dc-sidebar .admin-dev-center-page .input-group-btn .btn,
  body.has-dc-sidebar .admin-dev-center-page .btn-group,
  body.has-dc-sidebar .admin-dev-center-page .btn-group > .btn,
  body.has-dc-sidebar .admin-dev-center-page .form-control {
    width: 100% !important;
  }

  body.has-dc-sidebar .admin-dev-mode-control,
  body.has-dc-sidebar .admin-dev-mode-features {
    grid-template-columns: 1fr;
  }

  body.has-dc-sidebar .admin-dev-mode-switch {
    width: 100%;
  }

  body.has-dc-sidebar .admin-dev-mode-switch .btn {
    flex: 1 1 0;
  }

  body.has-dc-sidebar .admin-dev-mode-key {
    align-items: flex-start;
    flex-direction: column;
  }

  body.has-dc-sidebar .pb-license-grid,
  body.has-dc-sidebar #engine-backups .backup-entry-meta,
  body.has-dc-sidebar .pb-admin-help-modal .pb-help-grid {
    grid-template-columns: 1fr;
  }

  body.has-dc-sidebar .pb-update-hero {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Dev mode card hard layout guard */
body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-control {
  display: block !important;
}

body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-switch {
  display: flex !important;
  width: 100% !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
}

body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-switch .btn {
  flex: 1 1 0 !important;
}

body.has-dc-sidebar .admin-dev-mode-panel #dev_key,
body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-key,
body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-key code,
body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-features,
body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-features > div {
  display: block !important;
  width: 100% !important;
}

body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-features {
  margin-top: 12px !important;
}

body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-features > div {
  margin-bottom: 10px !important;
}

body.has-dc-sidebar .admin-dev-mode-panel .admin-dev-mode-features > div:last-child {
  margin-bottom: 0 !important;
}
