@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 XenForo-style sidebar */
:root {
  --xf-admin-sidebar-width: 260px;
  --xf-admin-blue: #155f8d;
  --xf-admin-blue-deep: #0e476a;
  --xf-admin-sidebar: #114b70;
  --xf-admin-sidebar-dark: #0d3f60;
  --xf-admin-link: #c8e8fb;
  --xf-admin-muted: #8bb8d3;
  --xf-admin-white: #ffffff;
}

body.has-dc-sidebar {
  background: #ececec !important;
}

body.has-dc-sidebar .wapper > section > header {
  background: var(--xf-admin-blue) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.18);
}

body.has-dc-sidebar .wapper > section > header .logo {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

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

.xf-admin-sidebar.dc-sidebar {
  width: var(--xf-admin-sidebar-width) !important;
  min-width: var(--xf-admin-sidebar-width) !important;
  max-width: var(--xf-admin-sidebar-width) !important;
  background: var(--xf-admin-sidebar) !important;
  border-right: 0 !important;
  box-shadow: 4px 0 14px rgba(0,0,0,.18) !important;
  color: var(--xf-admin-link);
  display: flex !important;
  flex-direction: column !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  overflow: hidden !important;
}

.xf-admin-brand {
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: var(--xf-admin-blue);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.14);
}

.xf-admin-brand__home,
.xf-admin-brand__title {
  display: inline-flex;
  align-items: center;
  color: #fff !important;
  text-decoration: none !important;
}

.xf-admin-brand__home {
  width: 24px;
  height: 24px;
  justify-content: center;
  border-radius: 4px;
  font-size: 18px;
}

.xf-admin-brand__home:hover {
  background: rgba(255,255,255,.12);
}

.xf-admin-brand__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.xf-admin-brand__admin {
  margin-left: auto;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.xf-admin-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 14px;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.48) rgba(0,0,0,.12);
}

.xf-admin-scroll::-webkit-scrollbar {
  width: 9px;
}

.xf-admin-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,.12);
}

.xf-admin-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.48);
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,.12);
}

.xf-admin-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px 7px;
  color: var(--xf-admin-muted);
}

.xf-admin-profile span,
.xf-admin-profile small {
  display: block;
  color: var(--xf-admin-muted);
  font-size: 12px;
  line-height: 1.25;
}

.xf-admin-profile strong {
  display: block;
  margin-top: 2px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--xf-admin-white);
  font-size: 13px;
  font-weight: 600;
}

.xf-admin-sidebar .dc-admin-session-live {
  margin: 2px 12px 8px;
  max-width: none;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  background: rgba(0,0,0,.12);
  text-align: left;
}

.xf-admin-sidebar .dc-admin-session-live span {
  color: var(--xf-admin-muted);
  font-size: 11px;
}

.xf-admin-sidebar .dc-admin-session-live strong {
  color: #fff;
  font-size: 13px;
  text-shadow: none;
}

.xf-admin-nav {
  padding: 0 0 10px;
}

.xf-admin-section {
  border-top: 1px solid rgba(255,255,255,.055);
  position: relative;
  transition: background .22s ease, box-shadow .22s ease;
}

.xf-admin-section.is-open {
  background: rgba(0,0,0,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), inset 0 -1px 0 rgba(0,0,0,.08);
}

.xf-admin-section--dev {
  border-top: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.xf-admin-section--dev .xf-admin-section__head {
  min-height: 44px;
}

.xf-admin-section__head {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #c8e8fb;
  cursor: pointer;
  text-align: left;
  transition: background .22s ease, color .22s ease, padding .22s ease;
}

.xf-admin-section__head:hover,
.xf-admin-section.is-open > .xf-admin-section__head {
  background: rgba(255,255,255,.055);
  color: #fff;
}

.xf-admin-section__head:hover {
  padding-left: 15px;
}

.xf-admin-section__head > .glyphicon:first-child {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  color: #a7d5ef;
  font-size: 14px;
  text-align: center;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.xf-admin-section__head:hover > .glyphicon:first-child,
.xf-admin-section.is-open > .xf-admin-section__head > .glyphicon:first-child {
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateY(-1px);
}

.xf-admin-section__head span:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 400;
}

.xf-admin-section__head i {
  flex: 0 0 auto;
  color: #a7d5ef;
  font-size: 14px;
  transition: transform .26s ease, color .22s ease;
}

.xf-admin-section.is-open > .xf-admin-section__head i {
  color: #fff;
  transform: rotate(180deg);
}

.xf-admin-section__body {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .38s cubic-bezier(.22,1,.36,1), opacity .22s ease, padding .24s ease, transform .24s ease;
  will-change: max-height, opacity, transform;
}

.xf-admin-section.is-open > .xf-admin-section__body {
  padding: 0 0 18px;
  opacity: 1;
  transform: translateY(0);
}

.xf-admin-section__body a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 40px;
  color: #c8e8fb !important;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  border-left: 3px solid transparent;
  position: relative;
  opacity: .96;
  transform: translateX(-2px);
  transition: background .2s ease, color .2s ease, border-color .2s ease, padding-left .2s ease, opacity .2s ease, transform .2s ease;
}

.xf-admin-section.is-open .xf-admin-section__body a {
  opacity: 1;
  transform: translateX(0);
}

.xf-admin-section__body a .glyphicon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255,255,255,.045);
  color: #9bc8e1;
  font-size: 11px;
  text-align: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.xf-admin-section__body a:hover {
  background: rgba(255,255,255,.07);
  color: #fff !important;
  padding-left: 44px;
}

.xf-admin-section__body a:hover .glyphicon,
.xf-admin-section__body a.is-current .glyphicon {
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateX(1px);
}

.xf-admin-section__body a.is-current {
  background: rgba(0,0,0,.2);
  border-left-color: #fff;
  color: #fff !important;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), inset 0 -1px 0 rgba(0,0,0,.08);
}

.xf-admin-nav__label {
  padding: 12px 14px 6px 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.xf-admin-footer {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0,0,0,.22);
  background: var(--xf-admin-blue);
}

.xf-admin-footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #c8e8fb !important;
  text-decoration: none !important;
  font-size: 12px;
  border-right: 1px solid rgba(0,0,0,.15);
}

.xf-admin-footer a:last-child {
  border-right: 0;
}

.xf-admin-footer a:hover {
  background: rgba(0,0,0,.12);
  color: #fff !important;
}

.xf-admin-footer__danger:hover {
  background: #9d2f2f !important;
}

@media (min-width: 768px) {
  body.has-dc-sidebar {
    padding-left: var(--xf-admin-sidebar-width) !important;
  }

  body.has-dc-sidebar .xf-admin-sidebar.dc-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    z-index: 1000 !important;
  }

  body.has-dc-sidebar .wapper > section > main {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .xf-admin-sidebar.dc-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: min(86vw, var(--xf-admin-sidebar-width)) !important;
    min-width: 0 !important;
    max-width: min(86vw, var(--xf-admin-sidebar-width)) !important;
    height: 100vh !important;
    z-index: 1040 !important;
    transform: translateX(-105%);
    transition: transform .2s ease;
  }

  body.sidebar-open .xf-admin-sidebar.dc-sidebar,
  body.open-aside .xf-admin-sidebar.dc-sidebar,
  body.aside-open .xf-admin-sidebar.dc-sidebar,
  .xf-admin-sidebar.dc-sidebar:not(.hidden-xs) {
    transform: translateX(0);
  }

  .xf-admin-section__head span:nth-child(2) {
    font-size: 18px;
  }
}

/* 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;
  }
}

body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section__head {
  width: 100% !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #c8e8fb !important;
  box-shadow: none !important;
  cursor: pointer !important;
  text-align: left !important;
  transform: none !important;
}

body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section__head:hover,
body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section.is-open > .xf-admin-section__head {
  background: rgba(255,255,255,.055) !important;
  color: #fff !important;
}

body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section__head:hover {
  padding-left: 15px !important;
}

body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section--dev .xf-admin-section__head {
  min-height: 44px !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;
}

/* Template editor workspace */
body.has-dc-sidebar .admin-template-editor-page {
  --tpl-sidebar: #f8fbfd;
  --tpl-editor-bg: #101b24;
  --tpl-editor-bg-2: #0b151d;
}

body.has-dc-sidebar .admin-template-tabs-section {
  display: block;
}

body.has-dc-sidebar .admin-template-tabs {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.has-dc-sidebar .admin-template-tabs > nav {
  margin: 0 0 12px;
  border: 1px solid #cddde7;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17,45,65,.06);
}

body.has-dc-sidebar .admin-template-tabs > nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px;
  margin: 0;
  border: 0;
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  border: 0;
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li:not(:last-child) {
  border-right: 0;
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #315f7a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav a:before {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #eef6fb;
  color: #155f8d;
  font-family: "Glyphicons Halflings";
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li:nth-child(1) a:before {
  content: "\e019";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li:nth-child(2) a:before {
  content: "\e065";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li:nth-child(3) a:before {
  content: "\e118";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li:nth-child(4) a:before {
  content: "\e060";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav .admin-template-tab-engine a:before {
  content: "\e019";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav .admin-template-tab-editor a:before {
  content: "\e065";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav .admin-template-tab-modules a:before {
  content: "\e118";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav .admin-template-tab-images a:before {
  content: "\e060";
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav a:hover,
body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav a:focus {
  border-color: #c9d9e3;
  background: #f5fbff;
  color: #104f77;
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li.tab-current {
  border-top-color: transparent;
  box-shadow: none;
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li.tab-current a {
  border-color: #155f8d;
  background: #155f8d;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(21,95,141,.16);
}

body.has-dc-sidebar .admin-template-tabs.tabs-style-topline > nav li.tab-current a:before {
  background: rgba(255,255,255,.18);
  color: #ffffff;
}

body.has-dc-sidebar .admin-template-tabs .content-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
}

body.has-dc-sidebar .admin-template-tabs .content-wrap > section {
  padding: 0;
}

body.has-dc-sidebar .admin-template-tabs .content-wrap > section.content-current {
  display: block;
}

body.has-dc-sidebar .admin-template-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 12px;
  padding: 20px 26px;
  border: 1px solid #cddde7;
  border-left: 4px solid #22a06b;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17,45,65,.06), 0 10px 24px rgba(17,45,65,.055);
}

body.has-dc-sidebar .admin-template-hero__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #155f8d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.has-dc-sidebar .admin-template-hero h3 {
  margin: 0 0 8px;
  color: #0b2a46;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.12;
}

body.has-dc-sidebar .admin-template-hero p {
  margin: 0;
  color: #526b7c;
  font-size: 14px;
  line-height: 1.45;
}

body.has-dc-sidebar .admin-template-hero__status {
  display: inline-grid;
  gap: 4px;
  max-width: 860px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #d7e3eb;
  border-radius: 7px;
  background: #f8fbfd;
  color: #315f7a;
  font-size: 12px;
  line-height: 1.45;
}

body.has-dc-sidebar .admin-template-hero__status b {
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

body.has-dc-sidebar .admin-template-hero__status span {
  color: inherit;
}

body.has-dc-sidebar .admin-template-hero__status.is-enabled {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

body.has-dc-sidebar .admin-template-hero__status.is-disabled {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #166534;
}

body.has-dc-sidebar .admin-template-hero code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #eef6fb;
  color: #0f5b83;
}

body.has-dc-sidebar .admin-template-hero__mark {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6e4ee;
  border-radius: 8px;
  background: #f3f9fc;
  color: #155f8d;
  font-size: 25px;
}

body.has-dc-sidebar .admin-template-toolbar-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 12px;
  margin-left: 0;
  margin-right: 0;
}

body.has-dc-sidebar .admin-template-toolbar-row:before,
body.has-dc-sidebar .admin-template-toolbar-row:after,
body.has-dc-sidebar .admin-template-workspace:before,
body.has-dc-sidebar .admin-template-workspace:after,
body.has-dc-sidebar .admin-template-media-row:before,
body.has-dc-sidebar .admin-template-media-row:after {
  content: none !important;
  display: none !important;
}

body.has-dc-sidebar .admin-template-toolbar-row > [class*="col-"],
body.has-dc-sidebar .admin-template-workspace > [class*="col-"],
body.has-dc-sidebar .admin-template-media-row > [class*="col-"] {
  width: auto;
  float: none;
  padding-left: 0;
  padding-right: 0;
}

body.has-dc-sidebar .admin-template-workspace,
body.has-dc-sidebar .admin-template-media-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 12px;
  margin-left: 0;
  margin-right: 0;
  align-items: start;
}

body.has-dc-sidebar .admin-template-card {
  border-color: #cddde7 !important;
  border-radius: 7px !important;
  box-shadow: 0 1px 2px rgba(17,45,65,.06), 0 10px 24px rgba(17,45,65,.055) !important;
}

body.has-dc-sidebar .admin-template-card .block_head {
  min-height: 34px !important;
  padding: 8px 10px !important;
  border-left-width: 3px !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;
  font-size: 11px !important;
  letter-spacing: .02em !important;
}

body.has-dc-sidebar .admin-template-settings-card b,
body.has-dc-sidebar .admin-template-install-card b,
body.has-dc-sidebar .admin-template-cache-card b {
  display: block;
  margin: 8px 0 5px;
  color: #20384a;
  font-size: 12px;
}

body.has-dc-sidebar .admin-template-settings-card hr {
  margin: 9px -2px !important;
}

body.has-dc-sidebar .admin-template-cache-card .form-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

body.has-dc-sidebar .admin-template-tree-card {
  background: var(--tpl-sidebar) !important;
}

body.has-dc-sidebar .admin-template-tree-scroll {
  max-height: 360px;
  overflow: auto;
  padding: 6px 2px 2px;
  scrollbar-width: thin;
  scrollbar-color: #a8c1d0 transparent;
}

body.has-dc-sidebar .admin-template-tree-scroll--small {
  max-height: 210px;
}

body.has-dc-sidebar .admin-template-tree-scroll::-webkit-scrollbar {
  width: 7px;
}

body.has-dc-sidebar .admin-template-tree-scroll::-webkit-scrollbar-thumb {
  background: #a8c1d0;
  border-radius: 10px;
}

body.has-dc-sidebar .admin-template-editor-col {
  min-width: 0;
}

body.has-dc-sidebar .admin-template-code-card {
  position: sticky;
  top: 12px;
  z-index: 5;
  padding-bottom: 8px !important;
}

body.has-dc-sidebar .admin-template-code-card .block_head {
  background: linear-gradient(90deg, #0f5b83, #28799e) !important;
}

body.has-dc-sidebar .admin-template-editor-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dc-sidebar .admin-template-editor-title #name1 {
  color: #d8f3ff;
  font-weight: 700;
}

body.has-dc-sidebar .admin-template-editor-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: -3px 0 !important;
}

body.has-dc-sidebar .admin-template-editor-actions .btn,
body.has-dc-sidebar .admin-template-editor-actions button.btn {
  min-width: 30px;
  min-height: 28px;
  padding: 5px 8px !important;
  border-color: rgba(255,255,255,.38) !important;
  background: rgba(255,255,255,.94) !important;
  color: #104f77 !important;
}

body.has-dc-sidebar .admin-template-editor-actions .admin-template-tool-btn {
  width: 31px;
  min-width: 31px;
  border-radius: 6px !important;
}

body.has-dc-sidebar .admin-template-editor-actions .admin-template-tool-btn.active,
body.has-dc-sidebar .admin-template-editor-actions .admin-template-tool-btn:active {
  background: #dff4ed !important;
  color: #167255 !important;
  box-shadow: inset 0 0 0 1px rgba(22,114,85,.18) !important;
}

body.has-dc-sidebar .admin-template-editor-actions #save_code {
  min-width: 104px;
  border-radius: 6px !important;
  font-weight: 800;
  white-space: nowrap;
}

body.has-dc-sidebar .admin-template-editor-actions #save_code .glyphicon {
  margin-right: 5px;
}

body.has-dc-sidebar .admin-template-searchbar {
  display: none;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 300px) max-content;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #203240;
  background: #0b151d;
  overflow: hidden;
}

body.has-dc-sidebar .admin-template-searchbar.is-open {
  display: grid;
}

body.has-dc-sidebar .admin-template-searchbar__field {
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(148,183,204,.32);
  border-radius: 8px;
  background: #101f2a;
  color: #8fb7cb;
}

body.has-dc-sidebar .admin-template-searchbar__field input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #e9f7ff !important;
  box-shadow: none !important;
  font-size: 13px;
}

body.has-dc-sidebar .admin-template-searchbar__field input[type="search"],
body.has-dc-sidebar .admin-template-searchbar__field input[type="text"],
body.has-dc-sidebar .admin-template-searchbar__field input#pb-template-search-input,
body.has-dc-sidebar .admin-template-searchbar__field input#pb-template-replace-input {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #e9f7ff !important;
  -webkit-text-fill-color: #e9f7ff !important;
}

body.has-dc-sidebar .admin-template-searchbar__field--replace {
  background: #122430;
}

body.has-dc-sidebar .admin-template-searchbar__field input::placeholder {
  color: #7e9bad;
}

body.has-dc-sidebar .admin-template-searchbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

body.has-dc-sidebar .admin-template-searchbar__actions .btn {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0 !important;
  border-color: rgba(148,183,204,.32) !important;
  border-radius: 7px !important;
  background: #132633 !important;
  color: #d9f1ff !important;
}

body.has-dc-sidebar .admin-template-searchbar__actions .btn:hover {
  background: #1b3a4d !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .admin-template-searchbar__actions .admin-template-searchbar__replace-btn {
  width: auto;
  min-width: 46px;
  padding: 0 10px !important;
  font-size: 11px;
  font-weight: 900;
}

body.has-dc-sidebar .admin-template-searchbar__counter {
  min-width: 58px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #e7f5ef;
  color: #167255;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

body.has-dc-sidebar .admin-template-pathbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-top: 1px solid rgba(148,183,204,.16);
  border-bottom: 1px solid rgba(148,183,204,.16);
  background: #0d1a23;
  color: #8fb7cb;
  font-size: 12px;
}

body.has-dc-sidebar .admin-template-pathbar .glyphicon {
  color: #22a06b;
}

body.has-dc-sidebar .admin-template-pathbar strong {
  min-width: 0;
  overflow: hidden;
  color: #dff4ed;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dc-sidebar #editor,
body.has-dc-sidebar #module_editor {
  overflow: hidden;
  border-radius: 0 0 6px 6px;
  background: var(--tpl-editor-bg);
}

body.has-dc-sidebar .pb-template-search-match {
  border-radius: 3px;
  background-color: rgba(245, 191, 61, .55) !important;
  box-shadow: 0 0 0 1px rgba(245,191,61,.32), 0 0 14px rgba(245,191,61,.18) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .pb-template-search-match--active {
  background-color: rgba(34, 160, 107, .9) !important;
  box-shadow: 0 0 0 1px rgba(126,255,207,.5), 0 0 18px rgba(34,160,107,.35) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .CodeMirror-fullscreen {
  z-index: 5000;
}

body.pb-template-editor-fullscreen {
  overflow: hidden !important;
}

body.pb-module-editor-fullscreen {
  overflow: hidden !important;
}

body.has-dc-sidebar.pb-template-editor-fullscreen #section-template-editor .admin-template-code-card {
  position: fixed !important;
  inset: 10px !important;
  z-index: 99999 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(148,183,204,.28) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #0b151d !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.55) !important;
}

body.has-dc-sidebar.pb-template-editor-fullscreen #section-template-editor .admin-template-code-card .block_head {
  min-height: 52px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #111827 0%, #1d3550 52%, #166a60 100%) !important;
}

body.has-dc-sidebar.pb-template-editor-fullscreen #section-template-editor .admin-template-editor-title,
body.has-dc-sidebar.pb-template-editor-fullscreen #section-template-editor .admin-template-editor-actions {
  float: none !important;
}

body.has-dc-sidebar.pb-template-editor-fullscreen #section-template-editor .admin-template-editor-actions {
  margin: 0 !important;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.has-dc-sidebar.pb-template-editor-fullscreen #editor {
  border-radius: 0 !important;
}

body.has-dc-sidebar.pb-template-editor-fullscreen #editor .CodeMirror,
body.has-dc-sidebar.pb-template-editor-fullscreen #section-template-editor .admin-template-code-card .CodeMirror {
  min-height: 0 !important;
  height: var(--pb-template-editor-height, calc(100vh - 118px)) !important;
  border-radius: 0 !important;
}

body.has-dc-sidebar.pb-template-editor-fullscreen .temp_info,
body.has-dc-sidebar.pb-template-editor-fullscreen #section-template-editor .admin-template-code-card #warning {
  display: none !important;
}

body.has-dc-sidebar.pb-template-editor-fullscreen:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(5, 10, 18, .82);
}

body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .admin-template-code-card {
  position: fixed !important;
  inset: 10px !important;
  z-index: 99999 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(148,183,204,.28) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #0b151d !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.55) !important;
}

body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .admin-template-code-card .block_head {
  min-height: 52px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #111827 0%, #1d3550 52%, #166a60 100%) !important;
}

body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .admin-template-editor-title,
body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .admin-template-editor-actions {
  float: none !important;
}

body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .admin-template-editor-actions {
  margin: 0 !important;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.has-dc-sidebar.pb-module-editor-fullscreen #module_editor {
  border-radius: 0 !important;
}

body.has-dc-sidebar.pb-module-editor-fullscreen #module_editor .CodeMirror,
body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .admin-template-code-card .CodeMirror {
  min-height: 0 !important;
  height: var(--pb-template-editor-height, calc(100vh - 118px)) !important;
  border-radius: 0 !important;
}

body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .temp_info,
body.has-dc-sidebar.pb-module-editor-fullscreen #section-module-editor .admin-template-code-card #module_warning {
  display: none !important;
}

body.has-dc-sidebar.pb-module-editor-fullscreen:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(5, 10, 18, .82);
}

body.has-dc-sidebar #editor .CodeMirror,
body.has-dc-sidebar #module_editor .CodeMirror,
body.has-dc-sidebar .admin-template-code-card .CodeMirror {
  min-height: 560px !important;
  height: calc(100vh - 330px) !important;
  border: 0 !important;
  border-radius: 0 0 6px 6px !important;
  background: var(--tpl-editor-bg) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

body.has-dc-sidebar .admin-template-code-card .CodeMirror-code,
body.has-dc-sidebar .admin-template-code-card .CodeMirror-line,
body.has-dc-sidebar .admin-template-code-card .CodeMirror pre,
body.has-dc-sidebar .admin-template-code-card .CodeMirror pre *,
body.has-dc-sidebar .admin-template-code-card .CodeMirror-line span {
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.has-dc-sidebar .admin-template-code-card .CodeMirror-line span.pb-template-search-match,
body.has-dc-sidebar .admin-template-code-card .CodeMirror-line span.pb-template-search-match span,
body.has-dc-sidebar .admin-template-code-card .CodeMirror pre span.pb-template-search-match,
body.has-dc-sidebar .admin-template-code-card .CodeMirror pre span.pb-template-search-match span {
  background-color: rgba(245, 191, 61, .62) !important;
  background-image: none !important;
  border-radius: 3px !important;
  box-shadow: 0 0 0 1px rgba(245,191,61,.35), 0 0 12px rgba(245,191,61,.2) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .admin-template-code-card .CodeMirror-line span.pb-template-search-match--active,
body.has-dc-sidebar .admin-template-code-card .CodeMirror-line span.pb-template-search-match--active span,
body.has-dc-sidebar .admin-template-code-card .CodeMirror pre span.pb-template-search-match--active,
body.has-dc-sidebar .admin-template-code-card .CodeMirror pre span.pb-template-search-match--active span {
  background-color: rgba(34, 160, 107, .95) !important;
  box-shadow: 0 0 0 1px rgba(126,255,207,.5), 0 0 16px rgba(34,160,107,.35) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .admin-template-code-card .CodeMirror-code > div {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.has-dc-sidebar .admin-template-code-card .CodeMirror-gutters {
  background: var(--tpl-editor-bg-2) !important;
}

body.has-dc-sidebar .temp_info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px 0;
  background: #fff;
}

body.has-dc-sidebar .temp_info .label {
  min-height: 22px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid #d0dee8;
  border-radius: 999px;
  background: #edf6fb !important;
  color: #25556f !important;
  font-size: 10px;
  font-weight: 700;
}

body.has-dc-sidebar .admin-template-tree-card ol.tree {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

body.has-dc-sidebar .admin-template-tree-card ol.tree ol.tree,
body.has-dc-sidebar .admin-template-tree-card .tree ol {
  margin: 0;
  padding-left: 18px;
  list-style: none;
}

body.has-dc-sidebar .admin-template-tree-card .tree li {
  min-height: 24px;
  line-height: 24px;
  margin: 0 !important;
  padding: 0;
  color: #25475c;
  font-size: 12px;
  position: relative;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle {
  background: none !important;
  color: #173c55;
  font-weight: 700;
  min-height: 26px;
  line-height: 26px;
  margin: 0 !important;
  padding: 0 6px 0 32px !important;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background .16s ease, color .16s ease;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle:before {
  content: "\e117";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 18px;
  height: 18px;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #e8f3f9;
  color: #d99d24;
  font-family: "Glyphicons Halflings";
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle:has(> input:checked):before {
  content: "\e118";
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle > input {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 26px !important;
  margin: 0 !important;
  opacity: 0 !important;
  z-index: 5 !important;
  cursor: pointer !important;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle > input + ol {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 0 0 18px !important;
  overflow: hidden !important;
  background: none !important;
  pointer-events: none;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle > input:checked + ol {
  height: auto !important;
  margin: 2px 0 4px !important;
  padding: 0 0 0 18px !important;
  overflow: visible !important;
  background: none !important;
  pointer-events: auto;
  border-left: 1px solid rgba(21,95,141,.18);
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle > input + ol > li {
  display: none !important;
  margin: 0 !important;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle > input:checked + ol > li {
  display: block !important;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.toggle:hover {
  background: rgba(21,95,141,.08);
  color: #0f5b83;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file {
  margin: 0 !important;
  padding: 0 !important;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  width: 100%;
  padding: 0 6px 0 8px !important;
  background: none !important;
  color: #315f7a !important;
  border-radius: 4px;
  white-space: normal;
  transition: background .16s ease, color .16s ease;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt] {
  font-weight: 700;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a:before {
  content: "\e022";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #eef5f9;
  color: #6e8ca0;
  font-family: "Glyphicons Halflings";
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt*=".tpl"]:before {
  content: "\e032";
  background: #edf7ff;
  color: #2276a8;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt$=".css"]:before {
  content: "\e011";
  background: #eefaf5;
  color: #1c936b;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt$=".js"]:before {
  content: "\e006";
  background: #fff7e8;
  color: #c98412;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt$=".png"]:before,
body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt$=".jpg"]:before,
body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt$=".gif"]:before,
body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt$=".bmp"]:before,
body.has-dc-sidebar .admin-template-tree-card .tree li.file a[alt$=".ico"]:before {
  content: "\e060";
  background: #f5efff;
  color: #7c5bb8;
}

body.has-dc-sidebar .admin-template-tree-card .tree li.file a:hover {
  color: #0f5b83 !important;
  background-color: rgba(21,95,141,.08);
}

body.has-dc-sidebar .admin-template-preview-card #img {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 5px;
  background: #f8fbfd;
  color: #6f8190;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-media-row {
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 16px;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-sidebar-col {
  display: grid;
  gap: 12px;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card {
  overflow: hidden;
  border: 1px solid #d6e4ee !important;
  background: #ffffff !important;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .block_head,
body.has-dc-sidebar .admin-template-image-preview-card .block_head {
  min-height: 42px !important;
  padding: 11px 14px !important;
  border-left: 0 !important;
  background: linear-gradient(135deg, #133a55 0%, #1d6b8a 54%, #22926f 100%) !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-scroll {
  max-height: 390px;
  padding: 10px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(29,107,138,.18), rgba(34,146,111,.12)) border-box;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.toggle {
  min-height: 34px;
  line-height: 34px;
  margin: 0 0 6px !important;
  padding: 0 10px 0 38px !important;
  border: 1px solid #dbe8f0;
  border-radius: 8px;
  background: #f7fbfd !important;
  color: #183c53;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.toggle:before {
  left: 10px;
  top: 7px;
  background: #e7f5ef;
  color: #208263;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.toggle > input {
  height: 34px !important;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.toggle > input:checked + ol {
  margin: 8px 0 4px !important;
  padding: 0 0 0 10px !important;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.file a {
  min-height: 34px;
  padding: 4px 10px !important;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #264d63 !important;
  font-size: 12px;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.file a:before {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  border-radius: 6px;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.file a:hover {
  border-color: #c9dce8;
  background: #f2f8fc;
  color: #0f5b83 !important;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.file a[onclick*="upload_template_img"] {
  justify-content: center;
  min-height: 38px;
  margin: 8px 0;
  border-color: #b7d9cf;
  background: #eefaf6 !important;
  color: #167255 !important;
  font-weight: 800;
}

body.has-dc-sidebar .admin-template-images-section .admin-template-tree-card .tree li.file a[onclick*="upload_template_img"]:before {
  content: "\e198";
  background: #dff4ed;
  color: #167255;
}

body.has-dc-sidebar .admin-template-image-preview-card {
  position: sticky;
  top: 12px;
  padding-bottom: 14px !important;
  background: #ffffff !important;
}

body.has-dc-sidebar .admin-template-image-preview-card.fixed {
  position: fixed;
  top: 12px;
}

body.has-dc-sidebar .admin-template-image-preview {
  min-height: 520px !important;
  display: grid;
  place-items: center;
  padding: 26px !important;
  border: 1px solid #dbe8f0;
  border-radius: 8px !important;
  background:
    linear-gradient(45deg, rgba(16,70,99,.045) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(16,70,99,.045) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(16,70,99,.045) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(16,70,99,.045) 75%),
    #f8fbfd !important;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0 !important;
  background-size: 24px 24px !important;
  color: #607888 !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

body.has-dc-sidebar .admin-template-image-preview img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 460px;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(17,45,65,.18) !important;
}

body.has-dc-sidebar .admin-template-upload-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dbe8f0;
  border-radius: 8px;
  background: #f8fbfd;
}

body.has-dc-sidebar .admin-template-upload-form.disp-n {
  display: none;
}

body.has-dc-sidebar .admin-template-upload-form[style*="display: block"],
body.has-dc-sidebar .admin-template-upload-form[style*="display: inline"] {
  display: grid !important;
}

body.has-dc-sidebar .admin-template-upload-drop {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 12px;
  border: 1px dashed #9fc4d4;
  border-radius: 8px;
  background: #ffffff;
  color: #315f7a;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

body.has-dc-sidebar .admin-template-upload-drop:after {
  content: "\0412\044B\0431\0440\0430\0442\044C \0444\0430\0439\043B";
  font-size: 12px;
  font-weight: 800;
}

body.has-dc-sidebar .admin-template-upload-drop:hover {
  border-color: #1d6b8a;
  background: #f2f8fc;
  color: #104f77;
}

body.has-dc-sidebar .admin-template-upload-drop .glyphicon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #e7f5ef;
  color: #208263;
}

body.has-dc-sidebar .admin-template-upload-drop .input-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body.has-dc-sidebar .admin-template-upload-submit {
  min-height: 44px;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #155f8d !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(21,95,141,.16);
}

body.has-dc-sidebar .admin-template-upload-form #loader {
  width: 24px;
  height: 24px;
}

body.has-dc-sidebar .admin-template-upload-form #sending_result {
  grid-column: 1 / -1;
}

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

  body.has-dc-sidebar .admin-template-code-card {
    position: relative;
    top: auto;
  }

  body.has-dc-sidebar .admin-template-editor-actions {
    float: none !important;
    width: 100%;
    justify-content: flex-start;
    margin: 8px 0 0 !important;
  }

  body.has-dc-sidebar .admin-template-searchbar {
    grid-template-columns: 1fr;
  }

  body.has-dc-sidebar .admin-template-searchbar__actions {
    justify-content: flex-start;
  }

  body.has-dc-sidebar .admin-template-image-preview-card {
    position: relative;
    top: auto;
  }

  body.has-dc-sidebar #editor .CodeMirror,
  body.has-dc-sidebar .admin-template-code-card .CodeMirror {
    height: 560px !important;
  }
}

@media (max-width: 767px) {
  body.has-dc-sidebar .admin-template-image-preview {
    min-height: 360px !important;
    padding: 16px !important;
  }

  body.has-dc-sidebar .admin-template-image-preview img {
    max-height: 320px;
  }

  body.has-dc-sidebar .admin-template-upload-form {
    grid-template-columns: 1fr;
  }

  body.has-dc-sidebar .admin-template-upload-submit {
    width: 100%;
  }
}

/* PBGame CMS admin menu-only violet theme */
body.has-dc-sidebar {
  --xf-admin-blue: rgba(28, 30, 46, .98);
  --xf-admin-blue-deep: rgba(20, 22, 32, .98);
  --xf-admin-sidebar: rgba(18, 19, 30, .98);
  --xf-admin-sidebar-dark: rgba(14, 15, 24, .98);
  --xf-admin-link: #ddd8ff;
  --xf-admin-muted: #918bad;
  --xf-admin-white: #ffffff;
}

body.has-dc-sidebar .xf-admin-sidebar.dc-sidebar {
  background: radial-gradient(circle at 78% 38%, rgba(126, 100, 255, .28), transparent 34%), linear-gradient(135deg, rgba(20, 22, 32, .98), rgba(26, 27, 40, .96)) !important;
  border-right: 1px solid rgba(166,149,255,.16) !important;
  box-shadow: 10px 0 36px rgba(0,0,0,.32) !important;
  color: var(--xf-admin-link) !important;
}

body.has-dc-sidebar .xf-admin-brand,
body.has-dc-sidebar .xf-admin-footer {
  background: linear-gradient(135deg, rgba(35, 36, 54, .96), rgba(22, 23, 36, .98)) !important;
  border-color: rgba(166,149,255,.16) !important;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.055);
}

body.has-dc-sidebar .xf-admin-brand__home {
  background: rgba(126,100,255,.14) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .xf-admin-brand__home:hover {
  background: rgba(126,100,255,.28) !important;
}

body.has-dc-sidebar .xf-admin-brand__title,
body.has-dc-sidebar .xf-admin-profile strong,
body.has-dc-sidebar .xf-admin-sidebar .dc-admin-session-live strong {
  color: #ffffff !important;
}

body.has-dc-sidebar .xf-admin-brand__admin,
body.has-dc-sidebar .xf-admin-profile span,
body.has-dc-sidebar .xf-admin-profile small,
body.has-dc-sidebar .xf-admin-sidebar .dc-admin-session-live span {
  color: var(--xf-admin-muted) !important;
}

body.has-dc-sidebar .xf-admin-sidebar .dc-admin-session-live {
  border-color: rgba(166,149,255,.16) !important;
  background: rgba(126,100,255,.08) !important;
}

body.has-dc-sidebar .xf-admin-section {
  border-top-color: rgba(166,149,255,.1) !important;
}

body.has-dc-sidebar .xf-admin-section.is-open {
  background: rgba(126,100,255,.08) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), inset 0 -1px 0 rgba(0,0,0,.16) !important;
}

body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section__head,
body.has-dc-sidebar .xf-admin-section__head {
  color: #dcd6ff !important;
}

body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section__head:hover,
body.has-dc-sidebar .xf-admin-sidebar .xf-admin-section.is-open > .xf-admin-section__head,
body.has-dc-sidebar .xf-admin-section__head:hover,
body.has-dc-sidebar .xf-admin-section.is-open > .xf-admin-section__head {
  background: rgba(126,100,255,.14) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .xf-admin-section__head > .glyphicon:first-child,
body.has-dc-sidebar .xf-admin-section__body a .glyphicon {
  background: rgba(126,100,255,.14) !important;
  color: #c8bdff !important;
}

body.has-dc-sidebar .xf-admin-section__head:hover > .glyphicon:first-child,
body.has-dc-sidebar .xf-admin-section.is-open > .xf-admin-section__head > .glyphicon:first-child,
body.has-dc-sidebar .xf-admin-section__body a:hover .glyphicon,
body.has-dc-sidebar .xf-admin-section__body a.is-current .glyphicon {
  background: rgba(157,124,255,.28) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .xf-admin-section__head i {
  color: #c8bdff !important;
}

body.has-dc-sidebar .xf-admin-section__body a {
  color: #cbc4ef !important;
}

body.has-dc-sidebar .xf-admin-section__body a:hover,
body.has-dc-sidebar .xf-admin-section__body a.is-current {
  background: rgba(126,100,255,.16) !important;
  border-left-color: #9d7cff !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .xf-admin-nav__label {
  color: #ffffff !important;
}

body.has-dc-sidebar .xf-admin-footer a {
  color: #ddd8ff !important;
  border-right-color: rgba(166,149,255,.12) !important;
}

body.has-dc-sidebar .xf-admin-footer a:hover {
  background: rgba(126,100,255,.16) !important;
  color: #ffffff !important;
}

body.has-dc-sidebar .xf-admin-footer__danger:hover {
  background: rgba(255,95,127,.32) !important;
}

body.has-dc-sidebar .xf-admin-scroll {
  scrollbar-color: rgba(126,100,255,.56) rgba(13,14,24,.72);
}

body.has-dc-sidebar .xf-admin-scroll::-webkit-scrollbar-track {
  background: rgba(13,14,24,.72) !important;
}

body.has-dc-sidebar .xf-admin-scroll::-webkit-scrollbar-thumb {
  background: rgba(126,100,255,.56) !important;
  border-color: rgba(13,14,24,.72) !important;
}

@media (max-width: 767px) {
  body.has-dc-sidebar .wapper > section > header {
    position: sticky !important;
    top: 0;
    z-index: 1035;
    height: 52px;
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 0 12px !important;
    border-bottom: 1px solid rgba(166,149,255,.16);
    background: radial-gradient(circle at 78% 38%, rgba(126, 100, 255, .28), transparent 34%), linear-gradient(135deg, rgba(20, 22, 32, .98), rgba(26, 27, 40, .96)) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
  }

  body.has-dc-sidebar .wapper > section > header .menu-button {
    width: 38px;
    height: 38px;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    border: 1px solid rgba(166,149,255,.24);
    border-radius: 8px;
    background: rgba(126,100,255,.14);
    color: #ffffff !important;
    font-size: 18px;
  }

  body.has-dc-sidebar .wapper > section > header .logo {
    line-height: 1 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  body.has-dc-sidebar .xf-admin-sidebar.dc-sidebar.hidden-xs {
    display: flex !important;
  }

  body.has-dc-sidebar .xf-admin-sidebar.dc-sidebar {
    display: flex !important;
    transform: translateX(-105%);
  }

  body.has-dc-sidebar .xf-admin-sidebar.dc-sidebar:not(.hidden-xs),
  body.sidebar-open.has-dc-sidebar .xf-admin-sidebar.dc-sidebar,
  body.open-aside.has-dc-sidebar .xf-admin-sidebar.dc-sidebar,
  body.aside-open.has-dc-sidebar .xf-admin-sidebar.dc-sidebar {
    transform: translateX(0) !important;
  }
}

/* PBGame CMS admin fixed footer */
body.has-dc-sidebar {
  --admin-fixed-footer-height: 46px;
}

body.has-dc-sidebar .wapper > section > main {
  padding-bottom: 88px !important;
}

body.has-dc-sidebar .wapper > section > main .page {
  padding-bottom: 96px !important;
}

body.has-dc-sidebar .wapper > section > main .page:after {
  content: "";
  display: block;
  clear: both;
  height: 56px;
}

body.has-dc-sidebar .admin-fixed-footer {
  position: fixed;
  left: var(--xf-admin-sidebar-width, 260px);
  right: 0;
  bottom: 0;
  z-index: 990;
  min-height: var(--admin-fixed-footer-height);
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-top: 1px solid rgba(166,149,255,.16);
  background: radial-gradient(circle at 78% 38%, rgba(126, 100, 255, .18), transparent 34%), linear-gradient(135deg, rgba(20, 22, 32, .96), rgba(26, 27, 40, .94));
  box-shadow: 0 -14px 34px rgba(0,0,0,.18);
  color: #cfc9ea;
  text-align: center;
  backdrop-filter: blur(12px);
}

body.has-dc-sidebar .admin-fixed-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  width: 100%;
  font-size: 11px;
  line-height: 1.25;
}

body.has-dc-sidebar .admin-fixed-footer__inner span,
body.has-dc-sidebar .admin-fixed-footer__inner b {
  color: #efeaff;
}

body.has-dc-sidebar .admin-fixed-footer__inner b {
  font-weight: 800;
}

body.has-dc-sidebar .admin-fixed-footer__inner a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(166,149,255,.24);
  border-radius: 999px;
  background: rgba(126,100,255,.12);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

body.has-dc-sidebar .admin-fixed-footer__inner a:hover {
  border-color: rgba(190,178,255,.42);
  background: rgba(126,100,255,.24);
  color: #ffffff !important;
}

@media (max-width: 767px) {
  body.has-dc-sidebar {
    --admin-fixed-footer-height: 58px;
  }

  body.has-dc-sidebar .wapper > section > main {
    padding-bottom: 104px !important;
  }

  body.has-dc-sidebar .wapper > section > main .page {
    padding-bottom: 112px !important;
  }

  body.has-dc-sidebar .wapper > section > main .page:after {
    height: 72px;
  }

  body.has-dc-sidebar .admin-fixed-footer {
    left: 0;
    min-height: var(--admin-fixed-footer-height);
    padding: 6px 8px;
  }

  body.has-dc-sidebar .admin-fixed-footer__inner {
    gap: 4px 8px;
    font-size: 10px;
  }
}

/* PBGame CMS admin quick access header */
body.has-dc-sidebar {
  --admin-quick-header-height: 44px;
}

body.has-dc-sidebar .wapper > section > main {
  padding-top: 0 !important;
}

body.has-dc-sidebar .admin-template-code-card {
  top: calc(var(--admin-quick-header-height) + 12px) !important;
}

body.has-dc-sidebar .admin-quick-header {
  position: sticky;
  left: auto;
  right: auto;
  top: 0;
  z-index: 985;
  height: var(--admin-quick-header-height);
  min-height: 0;
  max-height: var(--admin-quick-header-height);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: calc(100% + 28px);
  margin: 0 -14px 14px;
  padding: 6px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(138, 126, 207, .2);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: radial-gradient(circle at 78% 38%, rgba(126, 100, 255, .18), transparent 34%), linear-gradient(135deg, rgba(20, 22, 32, .96), rgba(26, 27, 40, .94));
  box-shadow: 0 14px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
  color: #ffffff;
  overflow: visible;
  backdrop-filter: blur(12px);
}

body.has-dc-sidebar .admin-quick-header__title {
  min-width: 145px;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 8px;
}

body.has-dc-sidebar .admin-quick-header__eyebrow {
  color: #c8bdff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

body.has-dc-sidebar .admin-quick-header__title strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0;
}

body.has-dc-sidebar .admin-global-search {
  position: relative;
  flex: 0 1 360px;
  min-width: 104px;
  max-width: 140px;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.12);
}

body.has-dc-sidebar .admin-global-search > .glyphicon {
  flex: 0 0 auto;
  color: #c8bdff;
  font-size: 11px;
}

body.has-dc-sidebar .admin-global-search input {
  width: 100%;
  min-width: 0;
  height: 28px;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 28px !important;
  box-shadow: none !important;
}

body.has-dc-sidebar .admin-global-search input::placeholder {
  color: rgba(221,216,255,.7) !important;
}

body.has-dc-sidebar .admin-global-search__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1100;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(166,149,255,.18);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(20,22,32,.98), rgba(31,32,48,.98));
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

body.has-dc-sidebar .admin-global-search__results.is-open {
  display: block;
}

body.has-dc-sidebar .admin-global-search__item {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(166,149,255,.1) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  text-align: left;
  box-shadow: none !important;
  transform: none !important;
}

body.has-dc-sidebar .admin-global-search__item:last-child {
  border-bottom: 0 !important;
}

body.has-dc-sidebar .admin-global-search__item:hover,
body.has-dc-sidebar .admin-global-search__item.is-active {
  background: rgba(126,100,255,.18) !important;
}

body.has-dc-sidebar .admin-global-search__item > .glyphicon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(126,100,255,.18);
  color: #c8bdff;
  font-size: 11px;
}

body.has-dc-sidebar .admin-global-search__item span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body.has-dc-sidebar .admin-global-search__item b {
  overflow: hidden;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.has-dc-sidebar .admin-global-search__item small,
body.has-dc-sidebar .admin-global-search__empty {
  color: #b5aed9 !important;
  font-size: 11px;
  line-height: 1.2;
}

body.has-dc-sidebar .admin-global-search__empty {
  padding: 12px;
}

body.has-dc-sidebar .admin-quick-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  max-height: 28px;
  overflow: hidden;
}

body.has-dc-sidebar .admin-quick-chip,
body.has-dc-sidebar .admin-quick-settings {
  min-height: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.07) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.12) !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.has-dc-sidebar .admin-quick-chip {
  max-width: 178px;
  padding: 0 9px !important;
  white-space: nowrap;
}

body.has-dc-sidebar .admin-quick-settings {
  width: 30px;
  flex: 0 0 30px;
  padding: 0 !important;
}

body.has-dc-sidebar .admin-quick-chip .glyphicon,
body.has-dc-sidebar .admin-quick-settings .glyphicon {
  color: #c8bdff;
  font-size: 11px;
}

body.has-dc-sidebar .admin-quick-chip span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.has-dc-sidebar .admin-quick-chip:hover,
body.has-dc-sidebar .admin-quick-settings:hover {
  border-color: rgba(190,178,255,.42) !important;
  background: rgba(126,100,255,.24) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.16) !important;
}

body.has-dc-sidebar .admin-quick-chip:focus,
body.has-dc-sidebar .admin-quick-settings:focus {
  border-color: rgba(190,178,255,.7) !important;
  box-shadow: 0 0 0 3px rgba(126,100,255,.22) !important;
}

body.has-dc-sidebar .admin-quick-modal .modal-content {
  overflow: hidden;
  border: 1px solid #cbd9e6;
  border-radius: 12px;
  background: #f6fafc;
  box-shadow: 0 24px 70px rgba(15,23,42,.28);
}

body.has-dc-sidebar .admin-quick-modal .modal-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(20,22,32,.99), rgba(32,34,50,.97));
  color: #ffffff;
  padding: 14px 16px;
}

body.has-dc-sidebar .admin-quick-modal .modal-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

body.has-dc-sidebar .admin-quick-modal .modal-header .close {
  order: 2;
  margin-top: 0;
  color: #ffffff;
  opacity: .85;
  text-shadow: none;
}

body.has-dc-sidebar .admin-quick-modal .modal-body {
  padding: 14px 16px;
  background: #f6fafc;
}

body.has-dc-sidebar .admin-quick-modal .modal-footer {
  padding: 12px 16px;
  border-top: 1px solid #dbe7ef;
  background: #ffffff;
}

body.has-dc-sidebar .admin-quick-modal__hint {
  margin: 0 0 14px;
  padding: 11px 12px;
  border: 1px solid #cfe7dd;
  border-left: 4px solid #33b78a;
  border-radius: 8px;
  background: #f1fbf7;
  color: #315b4e;
  font-size: 12px;
  line-height: 1.45;
}

body.has-dc-sidebar .admin-quick-modal__rows {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}

body.has-dc-sidebar .admin-quick-row {
  display: grid;
  grid-template-columns: minmax(150px, .85fr) minmax(220px, 1.05fr) minmax(220px, 1.2fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid #d8e5ee;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(17,45,65,.05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.has-dc-sidebar .admin-quick-row:hover {
  border-color: #bfd2de;
  box-shadow: 0 10px 22px rgba(17,45,65,.08);
  transform: translateY(-1px);
}

body.has-dc-sidebar .admin-quick-row .form-control {
  min-height: 34px !important;
  border-radius: 7px !important;
  background: #fbfdfe !important;
}

body.has-dc-sidebar .admin-quick-row .btn-danger {
  width: 36px;
  min-width: 36px;
  min-height: 34px;
  border-radius: 7px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.has-dc-sidebar .admin-quick-modal__result {
  min-height: 18px;
  margin-top: 10px;
}

body.has-dc-sidebar .admin-quick-modal__result p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 767px) {
  body.has-dc-sidebar {
    --admin-quick-header-height: 58px;
  }

  body.has-dc-sidebar .wapper > section > main {
    padding-top: 0 !important;
  }

  body.has-dc-sidebar .admin-template-code-card {
    top: 12px !important;
  }

  body.has-dc-sidebar .admin-quick-header {
    display: none !important;
  }

  body.has-dc-sidebar .admin-global-search {
    display: none !important;
  }

  body.has-dc-sidebar .admin-quick-header__title,
  body.has-dc-sidebar .admin-quick-header__actions {
    width: 100%;
    max-height: 24px;
  }

  body.has-dc-sidebar .admin-quick-chip {
    max-width: none;
    flex: 1 1 130px;
    height: 24px;
    min-height: 24px;
  }

  body.has-dc-sidebar .admin-quick-settings {
    position: absolute;
    right: 11px;
    top: 11px;
  }

  body.has-dc-sidebar .admin-quick-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  body.has-dc-sidebar .admin-quick-row .btn-danger {
    width: 100%;
  }
}

/* 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-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-description-btn {
  border-radius: 7px !important;
  font-weight: 800 !important;
}

body.has-dc-sidebar .pb-update-description-modal .modal-body {
  padding: 0;
}

body.has-dc-sidebar .pb-update-modal-body {
  background: #ffffff;
  color: #142536;
}

body.has-dc-sidebar .pb-update-hero {
  padding: 22px 24px;
  border-bottom: 1px solid #dbe7ef;
  background: linear-gradient(135deg, #f3f8ff, #ffffff);
}

body.has-dc-sidebar .pb-update-version-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(51,183,138,.28);
  border-radius: 999px;
  background: #eefaf5;
  color: #137454;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.has-dc-sidebar .pb-update-hero h3,
body.has-dc-sidebar .pb-update-section h4 {
  color: #142536 !important;
}

body.has-dc-sidebar .pb-update-section {
  padding: 18px 24px;
  border-bottom: 1px solid #e5edf7;
}

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

body.has-dc-sidebar .pb-update-version-line span,
body.has-dc-sidebar .pb-update-list li,
body.has-dc-sidebar .pb-update-empty {
  border: 1px solid #e5edf7;
  border-radius: 10px;
  background: #ffffff;
  color: #334155;
}

body.has-dc-sidebar .pb-update-version-line span {
  display: inline-flex;
  gap: 5px;
  padding: 7px 10px;
  font-size: 12px;
}

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

body.has-dc-sidebar .pb-update-list li {
  position: relative;
  padding: 10px 12px 10px 36px;
  line-height: 1.45;
  word-break: break-word;
}

body.has-dc-sidebar .pb-update-list li:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33b78a;
}

body.has-dc-sidebar .pb-update-note {
  margin: 18px 24px 22px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
}

body.has-dc-sidebar .pb-update-empty {
  padding: 18px;
  color: #64748b;
  border-style: dashed;
}

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

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,
  body.has-dc-sidebar .pb-update-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.has-dc-sidebar .pb-update-note {
    margin-left: 16px;
    margin-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;
}
