/* CINE-PLAY Editor Premium SAFE v2
   Tema visual premium sem alterar .container/.row/.col ou larguras estruturais. */
.cp-editor-active{
  font-size:var(--cp-font);
  background:var(--cp-page-bg);
  color:var(--cp-text);
  --cp-shadow:0 12px 34px rgba(4,8,18,.14);
}
.cp-editor-active .layout-page,
.cp-editor-active .content-wrapper{background:var(--cp-page-bg)}
.cp-editor-active .layout-menu{background:var(--cp-sidebar-bg)!important;width:var(--cp-sidebar-width)}
.cp-editor-active .layout-menu .menu-link,
.cp-editor-active .layout-menu .menu-header{color:var(--cp-sidebar-text)!important}
.cp-editor-active .layout-menu .menu-item.active>.menu-link,
.cp-editor-active .layout-menu .menu-item.open>.menu-link{background:var(--cp-sidebar-active)!important;color:#fff!important}
.cp-editor-active .card{background:var(--cp-card-bg);border:1px solid var(--cp-border);border-radius:var(--cp-card-radius);box-shadow:var(--cp-shadow)}
.cp-editor-active .card-body{padding:var(--cp-card-padding)}
.cp-editor-active .btn{border-radius:var(--cp-button-radius)}
.cp-editor-active .btn-primary{background:var(--cp-primary);border-color:var(--cp-primary)}
.cp-editor-active .btn-primary:hover{background:var(--cp-primary-hover);border-color:var(--cp-primary-hover)}
.cp-editor-active .form-control,.cp-editor-active .form-select,.cp-editor-active .input-group-text{border-color:var(--cp-border);border-radius:var(--cp-button-radius)}
.cp-editor-active table{font-size:var(--cp-table-font)}
.cp-editor-active table th,.cp-editor-active table td{padding:var(--cp-table-pad);vertical-align:middle}
.cp-editor-active.cp-table-compact table{font-size:calc(var(--cp-table-font) - 1px)}
.cp-editor-active.cp-table-compact table th,.cp-editor-active.cp-table-compact table td{padding:3px 5px}
.cp-editor-active.cp-table-fit .table-responsive{overflow-x:auto}
.cp-editor-active.cp-table-fit table{width:100%;max-width:100%}
.cp-editor-active.cp-table-fit table th,.cp-editor-active.cp-table-fit table td{white-space:normal;overflow-wrap:anywhere;line-height:1.2}
.cp-editor-active.cp-menu-compact .layout-menu .menu-link{min-height:36px;padding-top:7px;padding-bottom:7px}

/* ==========================
   CINE-PLAY PREMIUM BLACK
   ========================== */
.cp-editor-active.cp-theme-premium_black{
  --cp-shadow:0 14px 38px rgba(0,0,0,.34);
  background:
    radial-gradient(circle at 15% 0%,rgba(255,45,45,.08),transparent 24%),
    radial-gradient(circle at 85% 12%,rgba(255,90,0,.05),transparent 28%),
    #080b11;
}
.cp-editor-active.cp-theme-premium_black .layout-page,
.cp-editor-active.cp-theme-premium_black .content-wrapper{
  background:transparent!important;
}
.cp-editor-active.cp-theme-premium_black .layout-menu{
  background:linear-gradient(180deg,#080b11 0%,#0c1018 48%,#07090e 100%)!important;
  border-right:1px solid #20242d!important;
  box-shadow:10px 0 30px rgba(0,0,0,.18);
}
.cp-editor-active.cp-theme-premium_black .layout-menu .app-brand{
  border-bottom:1px solid rgba(255,255,255,.06);
  margin-bottom:8px;
}
.cp-editor-active.cp-theme-premium_black .layout-menu .menu-header{
  color:#707785!important;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:11px;
}
.cp-editor-active.cp-theme-premium_black .layout-menu .menu-link{
  color:#dce1eb!important;
  border-radius:10px;
  margin:2px 10px;
  transition:.2s ease;
}
.cp-editor-active.cp-theme-premium_black .layout-menu .menu-link:hover{
  background:rgba(255,50,50,.08)!important;
  color:#fff!important;
  transform:translateX(2px);
}
.cp-editor-active.cp-theme-premium_black .layout-menu .menu-item.active>.menu-link,
.cp-editor-active.cp-theme-premium_black .layout-menu .menu-item.open>.menu-link{
  background:linear-gradient(135deg,#ff3939,#b51118)!important;
  box-shadow:0 7px 18px rgba(236,34,40,.28);
  color:#fff!important;
}
.cp-editor-active.cp-theme-premium_black .layout-navbar,
.cp-editor-active.cp-theme-premium_black .navbar-detached{
  background:rgba(12,16,24,.92)!important;
  border:1px solid #222833!important;
  box-shadow:0 10px 28px rgba(0,0,0,.22)!important;
  backdrop-filter:blur(12px);
}
.cp-editor-active.cp-theme-premium_black .navbar-nav .nav-link,
.cp-editor-active.cp-theme-premium_black .navbar-nav .dropdown-toggle,
.cp-editor-active.cp-theme-premium_black .navbar-nav i{color:#cbd2df!important}
.cp-editor-active.cp-theme-premium_black .card{
  background:linear-gradient(180deg,#11161f 0%,#0d121a 100%)!important;
  border:1px solid #252b36!important;
  box-shadow:0 14px 38px rgba(0,0,0,.30)!important;
  position:relative;
  overflow:hidden;
}
.cp-editor-active.cp-theme-premium_black .card:before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,62,62,.50),transparent);
  opacity:.6;pointer-events:none;
}
.cp-editor-active.cp-theme-premium_black .card:hover{
  border-color:#333a47!important;
  box-shadow:0 18px 44px rgba(0,0,0,.38)!important;
}
.cp-editor-active.cp-theme-premium_black .card-title,
.cp-editor-active.cp-theme-premium_black h1,
.cp-editor-active.cp-theme-premium_black h2,
.cp-editor-active.cp-theme-premium_black h3,
.cp-editor-active.cp-theme-premium_black h4,
.cp-editor-active.cp-theme-premium_black h5,
.cp-editor-active.cp-theme-premium_black h6,
.cp-editor-active.cp-theme-premium_black .card-info h5{color:#f7f9fc!important}
.cp-editor-active.cp-theme-premium_black,
.cp-editor-active.cp-theme-premium_black .text-body,
.cp-editor-active.cp-theme-premium_black .card-body,
.cp-editor-active.cp-theme-premium_black .card-header{color:#d7dce5!important}
.cp-editor-active.cp-theme-premium_black .text-muted,
.cp-editor-active.cp-theme-premium_black small,
.cp-editor-active.cp-theme-premium_black .form-text{color:#8c95a5!important}
.cp-editor-active.cp-theme-premium_black .text-primary{color:#ff4545!important}
.cp-editor-active.cp-theme-premium_black .btn-primary{
  background:linear-gradient(135deg,#ff4242,#c5131c)!important;
  border-color:#ff3b3b!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(227,26,35,.25);
}
.cp-editor-active.cp-theme-premium_black .btn-primary:hover{
  background:linear-gradient(135deg,#ff5a5a,#df1722)!important;
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(227,26,35,.34);
}
.cp-editor-active.cp-theme-premium_black .btn-outline-primary{
  color:#ff5858!important;border-color:#8e2d32!important;background:#171218!important;
}
.cp-editor-active.cp-theme-premium_black .btn-outline-primary:hover{background:#6f171d!important;color:#fff!important}
.cp-editor-active.cp-theme-premium_black .bg-label-primary{background:rgba(255,54,54,.14)!important;color:#ff5959!important}
.cp-editor-active.cp-theme-premium_black .bg-label-info{background:rgba(44,125,255,.13)!important;color:#65a0ff!important}
.cp-editor-active.cp-theme-premium_black .bg-label-success{background:rgba(41,201,108,.12)!important;color:#52db8b!important}
.cp-editor-active.cp-theme-premium_black .bg-label-danger{background:rgba(255,69,69,.13)!important;color:#ff6565!important}
.cp-editor-active.cp-theme-premium_black .bg-label-warning{background:rgba(255,169,45,.13)!important;color:#ffb84c!important}
.cp-editor-active.cp-theme-premium_black .form-control,
.cp-editor-active.cp-theme-premium_black .form-select,
.cp-editor-active.cp-theme-premium_black .input-group-text{
  background:#0c1119!important;
  color:#e9edf4!important;
  border-color:#2a303c!important;
}
.cp-editor-active.cp-theme-premium_black .form-control:focus,
.cp-editor-active.cp-theme-premium_black .form-select:focus{
  border-color:#ff4141!important;
  box-shadow:0 0 0 .2rem rgba(255,65,65,.11)!important;
}
.cp-editor-active.cp-theme-premium_black .dropdown-menu,
.cp-editor-active.cp-theme-premium_black .modal-content,
.cp-editor-active.cp-theme-premium_black .offcanvas{
  background:#10151e!important;
  color:#e7ebf2!important;
  border:1px solid #2a303b!important;
  box-shadow:0 18px 50px rgba(0,0,0,.45)!important;
}
.cp-editor-active.cp-theme-premium_black .dropdown-item{color:#d9dee7!important}
.cp-editor-active.cp-theme-premium_black .dropdown-item:hover,
.cp-editor-active.cp-theme-premium_black .dropdown-item:focus{background:#191f2a!important;color:#fff!important}
.cp-editor-active.cp-theme-premium_black .table-responsive{
  border-radius:12px;
  border:1px solid #252b35;
  background:#0d1219;
}
.cp-editor-active.cp-theme-premium_black table{color:#dce1e9!important;margin-bottom:0}
.cp-editor-active.cp-theme-premium_black table thead th{
  background:#141a24!important;
  color:#aeb6c5!important;
  border-color:#29303b!important;
  text-transform:uppercase;
  font-size:.82em;
  letter-spacing:.035em;
}
.cp-editor-active.cp-theme-premium_black table tbody td{border-color:#202632!important;background:#0f141c!important}
.cp-editor-active.cp-theme-premium_black table tbody tr:hover td{background:#151b25!important}
.cp-editor-active.cp-theme-premium_black .pagination .page-link{
  background:#10151e!important;border-color:#292f3a!important;color:#cbd2dc!important
}
.cp-editor-active.cp-theme-premium_black .pagination .page-item.active .page-link{
  background:#d81d25!important;border-color:#d81d25!important;color:#fff!important
}
.cp-editor-active.cp-theme-premium_black .nav-tabs{border-color:#282e39!important}
.cp-editor-active.cp-theme-premium_black .nav-tabs .nav-link{color:#8f98a8!important}
.cp-editor-active.cp-theme-premium_black .nav-tabs .nav-link.active{color:#ff5555!important;border-color:#ff4545!important;background:rgba(255,55,55,.07)!important}
.cp-editor-active.cp-theme-premium_black .alert{border-radius:12px;border-width:1px}
.cp-editor-active.cp-theme-premium_black hr{border-color:#29303b!important}
.cp-editor-active.cp-theme-premium_black ::selection{background:#b31820;color:#fff}

/* Dashboard: acabamento premium sem mudar grid/colunas */
.cp-editor-active.cp-theme-premium_black #detailedStatisticsChart{filter:saturate(1.15) contrast(1.02)}
.cp-editor-active.cp-theme-premium_black .content-wrapper .row .card .badge.rounded-pill{box-shadow:0 0 0 1px rgba(255,255,255,.04),0 7px 18px rgba(0,0,0,.22)}
.cp-editor-active.cp-theme-premium_black .content-wrapper .row .card img{filter:drop-shadow(0 12px 18px rgba(0,0,0,.22))}
.cp-editor-active.cp-theme-premium_black #transactionList li{border-bottom:1px solid rgba(255,255,255,.045);padding-bottom:10px!important}
.cp-editor-active.cp-theme-premium_black #transactionList li:last-child{border-bottom:0}

@media(max-width:991.98px){
 .cp-editor-active .layout-menu{width:var(--cp-sidebar-width)}
 .cp-editor-active.cp-table-fit table{min-width:0}
}
