/**
* Securitycheck Control Panel User Interface CSS
* @ author Jose A. Luque
* @ Copyright (c) 2011 - Jose A. Luque
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*/


/*
 * Control Panel
 */
.securitycheck-bootstrap .cpanel div.icon,
.securitycheck-bootstrap #cpanel div.icon {
	text-align: center;
	margin-right: 15px;
	float: left;
	margin-bottom: 15px;
	font-size: 0.9em;
}

.securitycheck-bootstrap .cpanel div.icon a,
.securitycheck-bootstrap #cpanel div.icon a {
	background-color: white;
	background-position: -30px;
	display: block;
	float: left;
	height: 97px;
	width: 108px;
	color: #565656;
	vertical-align: middle;
	text-decoration: none;
	border: 1px solid #CCC;
	border-radius: 5px;
	transition-property: none;
	box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.1), inset 5px 5px 10px rgba(0, 0, 0, 0.05);
}

.securitycheck-bootstrap .cpanel div.icon a:hover,
.securitycheck-bootstrap .cpanel div.icon a:focus,
.securitycheck-bootstrap .cpanel div.icon a:active,
.securitycheck-bootstrap #cpanel div.icon a:hover,
.securitycheck-bootstrap #cpanel div.icon a:focus,
.securitycheck-bootstrap #cpanel div.icon a:active {
	background-position: 0;
	-webkit-border-bottom-left-radius: inherit;
	-moz-border-radius-bottomleft: inherit;
	border-bottom-left-radius: inherit;
	box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.1), inset -5px -5px 10px rgba(0, 0, 0, 0.05);
	position: relative;
	z-index: 10;
}

.securitycheck-bootstrap .cpanel div.icon span,
.securitycheck-bootstrap #cpanel div.icon span {
	display: block;
	text-align: center;
}

/* 
* Buttons
*/

.buttonwrapper{ /* Container you can use to surround a CSS button to clear float */
/*overflow: hidden; /*See: http://www.quirksmode.org/css/clearing.html 
width: 75px; */
text-align: center;
margin: 0px auto;
}

/*
 * File Manager
 */

 div.con_borde {
	border: 1px solid #070707 !important;	
}

div.centrado
{
text-align: center;
}

div.texto_14
{
font-size: 14px;
}

div.texto_20
{
font-size: 20px;
}

div.margen-loading
{
margin: 20px 20px;
}

div.color_verde
{
color: #0B7C08;
}

div.color_rojo
{
color: #E31E1E;
}

div.margen-container
{
margin: 20px 20px;
}

div.margen 
{
margin:20px 10px auto 0;
}

div.header_manual_check
{
background: #ccc;
padding: 20px;
}

div.header_check_result
{
background: #B1B1B1;
padding: 20px;
}

.applied{ 
background: transparent url('../images/dialog-apply.png') no-repeat left;
text-align: center;
margin-left:20px;
padding:8px 14px 8px 24px;
float: left !important;
font-size: 8pt !important;
font-weight: normal !important;
color: #000000 !important;	
background-color: #AEF181 !important;
border: 1px #99D571 solid !important;
width: auto;
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
border-radius: 7px;
}
.control-label-more-width{
float:left;
width:360px;
padding-top:5px;
text-align:left;
}

/* Pie styles */

@media (min-width: 768px) and (max-width: 979px) {
.box-icon{
	display:none;	
}
.box-header h2{
	font-size:13px !important;
}
.box-header h3{
	font-size:11px !important;
}
.main-menu-span{
	width:6.2% !important;
	margin-right:4%;
}
}

.box{
border: 1px solid #DEDEDE;
border-radius:3px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
margin-top: 10px; 
margin-bottom: 10px ;
box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
-webkit-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
-moz-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
}

.box-header{
border:none;
padding-top:5px;
border-bottom: 1px solid #DEDEDE;
border-radius:3px 3px 0 0;
-webkit-border-radius:3px 3px 0 0;
-moz-border-radius:3px 3px 0 0;
height:12px;
min-height:12px;
margin-bottom: 0;
/*cursor:move;*/
font-weight:bold;
font-size:16px;
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(0,0,0,0.1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(0,0,0,0.1)));
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,0.1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#1a000000',GradientType=0 );

}

.box-header h2{
font-size:15px;
width:auto;
clear:none;
float:left;
line-height:25px;
}
.box-header h3{
font-size:12px;
width:auto;
clear:none;
float:left;
line-height:25px;
}
.box-header h2 > i{
margin-top:1px;
}
.box-icon{
float:right;
}
.box-icon a{
clear:none;
float:left;
margin:0 2px;
height: 14px;
width:5px;
margin-top: -1px;
}
.box-icon a i{
margin-left:-4.5px;
}
.box-content{
padding:10px;
}

.btn-round{
border-radius: 40px;
-webkit-border-radius: 40px;
-moz-border-radius: 40px;
font-size:12px;
padding-top:4px;
}



.top-block{
font-size:14px;
text-align: center;
padding: 5px;
margin-bottom:10px;
font-weight:bold;
position: relative;
display: block;
line-height: 22px;
text-shadow: 0 0 1px #DDD;
text-decoration:none;
-webkit-box-shadow: inset 0 0 0 1px #FAFAFA;
-moz-box-shadow: inset 0 0 0 1px #FAFAFA;
box-shadow: inset 0 0 0 1px #FAFAFA;
background: -moz-linear-gradient(top,  rgba(30,87,153,0.2) 0%, rgba(125,185,232,0) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,0.2)), color-stop(100%,rgba(125,185,232,0)));
background: -webkit-linear-gradient(top,  rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
background: -o-linear-gradient(top,  rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
background: -ms-linear-gradient(top,  rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
background: linear-gradient(to bottom,  rgba(30,87,153,0.2) 0%,rgba(125,185,232,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#331e5799', endColorstr='#007db9e8',GradientType=0 );
}

.top-block span{
clear:both;
}

.top-block:hover{
text-decoration:none;
}

.notification {
display: block;
position: absolute;
top: -10px;
right: -5px;
line-height: 16px;
height: 16px;
padding: 0 5px;
font-family: Arial, sans-serif;
color: white !important;
text-shadow: 0 1px 
hsla(0, 0%, 0%, 0.25);
border-width: 1px;
border-style: solid;
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-webkit-box-shadow: 0 1px 1px 
hsla(0, 0%, 0%, 0.08), inset 0 1px 
hsla(0, 100%, 100%, 0.3);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), inset 0 1px rgba(255, 255, 255, 0.3);
box-shadow: 0 1px 1px 
hsla(0, 0%, 0%, 0.08), inset 0 1px 
hsla(0, 100%, 100%, 0.3);
}

.notification {
border-color: #2FABE9;
background-color: #67C2EF;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(200, 80%, 82%)), color-stop(100%, hsl(200, 81%, 67%)));
background-image: -webkit-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
background-image: -moz-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
background-image: -ms-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
background-image: -o-linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
background-image: linear-gradient(top, hsl(200, 80%, 82%), hsl(200, 81%, 67%));
}

.notification.green {
border-color: 	#5AAD34;
background-color: 	#78CD51;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, 	hsl(101, 54%, 71%)), color-stop(100%, 	hsl(101, 55%, 56%)));
background-image: -webkit-linear-gradient(top, 	hsl(101, 54%, 71%), 	hsl(101, 55%, 56%));
background-image: -moz-linear-gradient(top, 	hsl(101, 54%, 71%), 	hsl(101, 55%, 56%));
background-image: -ms-linear-gradient(top, 	hsl(101, 54%, 71%), 	hsl(101, 55%, 56%));
background-image: -o-linear-gradient(top, 	hsl(101, 54%, 71%), 	hsl(101, 55%, 56%));
background-image: linear-gradient(top, 	hsl(101, 54%, 71%), 	hsl(101, 55%, 56%));
}

.notification.yellow {
border-color: #F4A506;
background-color: #FABB3D;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(40, 95%, 76%)), color-stop(100%, hsl(40, 95%, 61%)));
background-image: -webkit-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
background-image: -moz-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
background-image: -ms-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
background-image: -o-linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
background-image: linear-gradient(top, hsl(40, 95%, 76%), hsl(40, 95%, 61%));
}

.notification.red {
border-color: #FA5833;
background-color: #FA603D;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, hsl(11, 95%, 76%)), color-stop(100%, hsl(11, 95%, 61%)));
background-image: -webkit-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
background-image: -moz-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
background-image: -ms-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
background-image: -o-linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
background-image: linear-gradient(top, hsl(11, 95%, 76%), hsl(11, 95%, 61%));
}

.green {
color: #458746;
}
.red {
color: #B94846;
}
.blue {
color: #3986AC;
}
.yellow {
color: #F99406;
}

ul.dashboard-list li{
padding: 7px 0;
list-style:none;
border-bottom: 1px solid #EBEBEB;
border-top: 1px solid white;
}

ul.dashboard-list div:hover{
text-decoration:none;
}

ul.dashboard-list{
margin:0;
}

ul.dashboard-list li div span {
display: inline-block;
font-size: 18px;
font-weight: bold;
margin-right: 10px;
width: 5px;
zoom: 1;
}

.dashboard-avatar{
height: 50px;
width: 50px;
padding: 1px;
float: left;
margin-left: 15px;
margin-right: 15px;
border: 1px solid #EBEBEB;
}

table.table td.center{
text-align: center; 
vertical-align: middle;
}

table.table th.center{
text-align: center; 
}

div.easy_config{
text-align: left;
margin: 10px 10px;
}

.margen_inferior{
margin-bottom: 10px;
}

table.table td.marcado {
color: #FF4500;
font-size:15px;
font-weight: bold;
}

.hidden {
	display: none !important;
}

.securitycheck-bootstrap-progress {
  height: 30px;
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #f7f7f7;
  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
  background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
  background-repeat: repeat-x;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.securitycheck-bootstrap-progress .securitycheck-bar {
	line-height: 20px;
	padding-right: 10px;
  float: left;
  width: 0;
  height: 100%;
  font-size: 16px;
  color: #ffffff;
  text-align: right;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #61d437;
  background-image: -moz-linear-gradient(top, #13c024, #61d437);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#13c024), to(#61d437));
  background-image: -webkit-linear-gradient(top, #13c024, #61d437);
  background-image: -o-linear-gradient(top, #13c024, #61d437);
  background-image: linear-gradient(to bottom, #13c024, #61d437);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
     -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: width 0.6s ease;
     -moz-transition: width 0.6s ease;
       -o-transition: width 0.6s ease;
          transition: width 0.6s ease;
}

.securitycheck-bootstrap-content-box {
	border: 1px solid #ccc;
	margin: 0 0 20px 0;
	background: #fff;
}

.securitycheck-bootstrap-content-box-header {
	background: #e5e5e5 url(../images/bg-content-box.gif) top left repeat-x;
	margin-top: 10px;
	padding: 20px;
	height: 20px;
}

.securitycheck-bootstrap-content-box-header h3 {
	padding: 12px 15px 10px;
	margin: 0;
	float: left;
	font-size: 15px;
}

.securitycheck-bootstrap-content-box-content {
	padding: 20px;
	font-size: 13px;
	border-top: 1px solid #ccc;
}

#securitycheck-bootstrap-main-content table {
	width: 100%;
	border-collapse: collapse;
}

#securitycheck-bootstrap-main-content table thead th {
	font-weight: bold;
	font-size: 15px;
	border-bottom: 1px solid #ddd;
}

#securitycheck-bootstrap-main-content tbody {
	border-bottom: 1px solid #ddd;
}

#securitycheck-bootstrap-main-content tbody tr.alt-row {
	background: #f3f3f3;
}
#securitycheck-bootstrap-main-content table td,
#securitycheck-bootstrap-main-content table th {
	padding: 10px;
	line-height: 1.3em;
}

.right {
	float: right;
}

.columna {
	color: #585858;
}

.tammano-18{
font-size: 18px;
}

.tammano-14{
font-size: 14px;
}

.centrado{
text-align: center;
}

.left {
    float: left;
}

.none {
    display: none !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.text-align-right {
    text-align: right;
}

.max-width-20rem {
    max-width: 20rem;
}

.margin-top-minus18 {
    margin-top: -18px;
}

.margin-top-5 {
    margin-top: 5px;
}

.width-0 {
    width: 0%;
}

.firewall-config-style {
   width: 560px;
   height: 140px;
}

.margin-left-10 {
    margin-left: 10px !important;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.background-8EBBFF {
    background-color: #8EBBFF;
}

.width_560_height_340 {
    width: 560px;
	height: 340px;
}

.hidden {
    visibility: hidden;
}

.malwarescan-table-info {
    font-size: 0.75em;
	max-width: 150px; 
	word-wrap: break-word;
}

.font-size-13 {
	font-size: 13px;
}

.margin-bottom-3rem {
	margin-bottom: 3rem !important;
}

.justify-content-center {
	justify-content: center;
}

.margin-right-10 {
    margin-right: 10px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-right-5 {
    margin-right: 5px;
}

.background-FF9EB4 {
    background-color: #FF9EB4 !important;
}

.padding-10-10-10-10 {
    padding: 10px 10px 10px 10px !important;
}

.overflow-x-auto {
    overflow-x: auto;
}

.malwarescan-table-info2 {
    max-width: 150px; 
	word-wrap: break-word;
}

.font-size-14 {
    font-size:14px;
}

.overflow-auto {
    overflow: auto;
}

.width_560 {
    width: 560px;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.width-750 {
    width: 750px;
}

.background-FFBF60 {
    background-color: #FFBF60 !important;
}

.background-D0F5A9 {
    background-color: #D0F5A9 !important;
}

.background-FFADF5 {
    background-color: #FFADF5 !important;
}

.background-C68C51 {
    background-color: #C68C51 !important;
}

.margin-left-60 {
    margin-left: 60px;
}

.margin-top-50 {
    margin-top: 50px;
}

.width-40rem {
    width: 40rem;
}

.max-width-1200 {
    max-width: 1200px;
}

.editcell {
    font-weight:bold;
	font-size:10pt; 
	text-align:center;
}

.float-right {
    float:right;
}

.margin-left-20 {
    margin-left: 20px;
}

.height-300 {
    height: 300px;
}

.margin-top-20 {
	margin-top: 20px;
}

.no-attacks {
	background-color: green !important;
	color: black !important; 
	padding: 4px 8px !important;
}

.attacks-low {
	background-color: #F3F781 !important;
	color: black !important;
	padding: 4px 8px !important;
}

.attacks-medium {
	background-color: #FF8000 !important;
	color: black !important;
	padding: 4px 8px !important;
}

.attacks-high {
	background-color: #FF0000 !important;
	color: black !important;
	padding: 4px 8px !important;
}

.map-container {
	position: relative;
	width: 800px;
	height: 600px;
}

.extensions-blacklist {
	width: 260px; 
	height: 140px;
}

.display-none {
	display: none !important;
}

.height-150 {
	height:150px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-top-30 {
    margin-top: 30px;
}

.analyzed-files {
	background-color: #CEA0EA !important;	
}

.ruta-style {
	max-width: 150px;
	word-wrap: break-word;	
}

.width-5 {
	width: 5%;	
}

.table td, th
{
text-align: center !important;
}

.integrity-files {
	background-color: #66ADDD !important;	
}

.extensions-updated {
	background-color: #BE81F7 !important;	
}

.height-auto {
	height: auto;
}

.logs-style {
	width: 100%; 
	overflow-y: auto; 
	_overflow: auto;
	margin: 0 0 1em; 
	font-size: 12px;
}

.width-35 {
	width: 35%;
}

.margin-left-auto {
    margin-left: auto;
}

/* chart */
@keyframes bake-pie {
  from {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}
.pie-chart {
  font-family: "Open Sans", Arial;
}
.pie-chart--wrapper {
  width: 400px;
  margin: 0px auto 30px auto;
  text-align: center;
}
.pie-chart__pie, .pie-chart__legend {
  display: inline-block;
  vertical-align: top;
}
.pie-chart__pie {
  position: relative;
  height: 200px;
  width: 200px;
  margin: 10px auto 35px;
}
.pie-chart__pie::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 100px;
  height: 100px;
  background: #EEE;
  border-radius: 50%;
  top: 50px;
  left: 50px;
}
.pie-chart__pie::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 3px 4px rgba(0, 0, 0, 0.1);
  margin: 220px auto;
}

.slice {
  position: absolute;
  width: 200px;
  height: 200px;
  clip: rect(0px, 200px, 200px, 100px);
  -webkit-animation: bake-pie 1s;
          animation: bake-pie 1s;
}
.slice span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  clip: rect(0px, 200px, 200px, 100px);
}

.pie-chart__legend {
  display: block;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  background: #FFF;
  padding: 0.75em 0.75em 0.05em;
  font-size: 13px;
  box-shadow: 1px 1px 0 #DDD, 2px 2px 0 #BBB;
  text-align: left;
  width: 65%;
}
.pie-chart__legend li {
  height: 1.25em;
  margin-bottom: 0.7em;
  padding-left: 0.5em;
  border-left: 1.25em solid black;
}
.pie-chart__legend em {
  font-style: normal;
}
.pie-chart__legend span {
  float: right;
}

.pie-charts {
  display: flex;
  flex-direction: row;
}
@media (max-width: 500px) {
  .pie-charts {
    flex-direction: column;
  }
}

.max-width-50 {
	max-width: 50% !important;
}

.color_rojo {
color: #E31E1E;
}

.color_verde {
color: #0B7C08;
}

footer.sticky-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 56px;
  background-color: #e9ecef;
  line-height: 70px; }
  @media (min-width: 992px) {
    footer.sticky-footer {
      width: calc(100% - 250px); } }

@media (min-width: 992px) {
  body.sidenav2-toggled footer.sticky-footer {
    width: calc(100% - 70px); } }
	
.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 30px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
  background: rgba(52, 58, 64, 0.5);
  line-height: 45px; }
  .scroll-to-top:focus, .scroll-to-top:hover {
    color: white; }
  .scroll-to-top:hover {
    background: #343a40; }
  .scroll-to-top i {
    font-weight: 800; }

.logs-style {
	width: 100%; 
	overflow-y: auto; 
	_overflow: auto;
	margin: 0 0 1em; 
	font-size: 12px;
}

.pull-right{
	float: right !important;
}

/* ===== Modo compacto global ===== */
#adminForm.scp-compact .nav-tabs .nav-link { padding:.35rem .75rem; font-size:.95rem; }
#adminForm.scp-compact .alert { padding:.55rem .8rem; font-size:.95rem; }
#adminForm.scp-compact .form-select, 
#adminForm.scp-compact .form-control { font-size:.9rem; }
#adminForm.scp-compact .btn { font-size:.9rem; }

/* Campos en grid */
#adminForm .scp-field .fw-semibold { font-size:.95rem; }
#adminForm .scp-field small { font-size:.82rem; color:#6c757d; }

/* Badges "applied" bien alineados */
#adminForm .scp-applied { white-space:nowrap; }

/* Textareas compactas por defecto */
#adminForm .scp-textarea {
  min-height: 90px;
  max-height: 160px;
  resize: vertical;
  line-height: 1.2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .9rem;
}

/* Textarea expandida (igual) */
#adminForm .scp-textarea.is-expanded {
  position: fixed;
  left: 50%;
  top: 8vh;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  height: 70vh;
  max-height: 70vh;
  z-index: 1060;
  background: #fff;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.2);
  resize: none;
  border-radius: .5rem;
}

/* Botón Expand/Close por defecto (pequeño) */
#adminForm .scp-expander {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  z-index: 1061;
  padding: .2rem .5rem;
}

/* Botón Close cuando expandido:
   pequeño, en la ESQUINA SUPERIOR DERECHA del overlay */
#adminForm .scp-expander.is-expanded {
  position: fixed;
  /* borde derecho del overlay */
  right: calc((100vw - min(1200px, 92vw)) / 2 + .75rem);
  top: calc(8vh + .75rem);
  bottom: auto;
  left: auto;
  z-index: 1062;
  padding: .25rem .6rem;
}

/* Evita que el botón crezca raro en algunos temas */
#adminForm .scp-expander.btn {
  display: inline-block;
  min-width: auto;
  width: auto;
  height: auto;
}


/* Ajustes responsive */
@media (max-width: 1200px) {
  #adminForm.scp-compact .nav-tabs .nav-link { font-size:.9rem; }
}

/* Evita la barra horizontal en desktop, permítela en móvil si hiciera falta */
.scp-wrap { overflow-x: auto; }
@media (min-width: 992px) { /* ≥lg */
  .scp-wrap { overflow-x: visible !important; }
}

/* Más aire entre filas y separación visual suave */
#adminForm .scp-field {
  margin: .35rem 0;
  padding: .5rem 0;
  border-top: 1px solid var(--bs-border-color, rgba(0,0,0,.075));
}
#adminForm .scp-field:first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* Mueve SOLO el expander de backend_exceptions a la parte superior derecha */
#backend_exceptions + .scp-expander {
  top: .5rem;
  right: .5rem;
  bottom: auto;           /* ya no en la esquina inferior */
}

/* Asegura que el dropdown manda siempre por encima */
#adminForm .dropdown-menu { z-index: 1080; }

/* Y el expander normal queda por debajo del dropdown */
#adminForm .scp-expander { z-index: 1; }
#adminForm .scp-textarea.is-expanded + .scp-expander { z-index: 1062; } /* solo cuando el editor está expandido */

/* Asegura que no se compriman en exceso en algunas plantillas */
#adminForm .scp-field .col-md-4 { padding-right: .75rem; }
#adminForm .scp-field .col-md-8 { padding-left: .75rem; }

/* Navigation */
/* Base / Desktop */
.scp-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between}
.scp-toolbar .btn-group{flex:1 1 auto;display:flex;gap:.5rem}
.scp-toolbar .btn-group.shrink{flex:0 1 auto}
.scp-toolbar .btn,.scp-toolbar .dropdown-toggle{white-space:nowrap}
.scp-toolbar .btn .badge{margin-left:.4rem}

/* XS/Móvil (≤576px) */
@media (max-width:576px){
  .scp-toolbar{flex-direction:column;align-items:stretch;gap:.75rem}
  .scp-toolbar .btn-group{flex:1 1 100%;display:flex;flex-direction:column;gap:.5rem}
  .scp-toolbar .btn-group.shrink{flex:1 1 100%}
  .scp-toolbar .btn,.scp-toolbar .dropdown-toggle{width:100%;justify-content:flex-start}
  .scp-toolbar .dropdown-menu{
    position:static!important; /* se integra en el flujo, no se corta */
    float:none;width:100%;
    margin-top:.25rem;box-shadow:none;border-radius:.5rem;
  }
  .scp-toolbar .dropdown-menu .dropdown-item{padding:.65rem .9rem}
}

/* SOLO para tu componente */
#com_securitycheck .btn {
  border-radius: .5rem !important;
}

/* Dropdown menu dentro del componente */
#com_securitycheck .dropdown-menu {
  
  --bs-dropdown-color: #212529;
  --bs-dropdown-link-color: #212529;
  --bs-dropdown-link-hover-bg: #f2f4f7;
  --bs-dropdown-link-hover-color: #000000;
  --bs-dropdown-border-color: #d0d7de;
  --bs-dropdown-header-color: #333333;

  
  color: var(--bs-dropdown-color) !important;
  border: 1px solid var(--bs-dropdown-border-color) !important;
  border-radius: .5rem;
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
  z-index: 1080;
  min-width: 16rem;
}

/* Header dentro del dropdown */
#com_securitycheck .dropdown-menu .dropdown-header {
  background: #f6f8fa;
  color: var(--bs-dropdown-header-color) !important;
  font-weight: 600;
  border-radius: .5rem .5rem 0 0; /* redondeo arriba */
}

/* Items del dropdown */
#com_securitycheck .dropdown-menu .dropdown-item {
  padding: .5rem 1rem;
  border-radius: .375rem;
}

#com_securitycheck .dropdown-menu .dropdown-item:hover,
#com_securitycheck .dropdown-menu .dropdown-item:focus {
  background-color: var(--bs-dropdown-link-hover-bg) !important;
  color: var(--bs-dropdown-link-hover-color) !important;
}

/* Botón que abre dropdown */
#com_securitycheck .btn.dropdown-toggle {
  border-radius: .5rem !important;
}

/* ===== Mockup 1 look & feel (ajustado + HERO) ===== */
.scp-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.scp-grid--3 { grid-template-columns: repeat(3,1fr); }
@media (max-width: 1199.98px){ .scp-grid{grid-template-columns: repeat(2,1fr);} .scp-grid--3{grid-template-columns: repeat(2,1fr);} }
@media (max-width: 575.98px){ .scp-grid{grid-template-columns: 1fr;} .scp-grid--3{grid-template-columns: 1fr;} }

.scp-card {
    background:#fff; border:1px solid #e9edf2; border-radius: .75rem;
    box-shadow: 0 1px 2px rgba(16,24,40,.06);
}
.scp-card__body { padding: .85rem .85rem 1rem; text-align:center; }
.scp-card__icon .fa { font-size:1.5rem; color:#16a34a; }
.scp-card__title { font-weight:600; margin-top:.25rem; }
.scp-card__status { margin:.45rem 0 .2rem; }
.scp-card__actions .btn { margin-top:.2rem; }

.scp-chip {
    display:inline-block; padding:.18rem .5rem; border-radius:999px;
    font-size:.78rem; font-weight:600; letter-spacing:.1px;
    background:#eef2f7; color:#334155;
}
.scp-chip--ok { background:#e7f6ee; color:#166534; }
.scp-chip--ko { background:#fde2e1; color:#9b1c1c; }
.scp-chip--dark { background:#e5e7eb; color:#111827; }

.scp-section { margin-top: .8rem; }

/* ===== HERO ===== */
.scp-hero {
    display:grid; grid-template-columns: 1fr auto; gap:1rem;
    align-items:center; padding:1rem 1.25rem;
    background: linear-gradient(90deg,#0f1e35 0%, #152a49 100%);
    color:#fff; border-radius:.9rem; margin:.3rem 0 1rem 0;
    box-shadow: 0 4px 16px rgba(7,12,24,.25);
}
.scp-hero__title { font-size:1.25rem; font-weight:700; margin:0 0 .25rem; }
.scp-hero__subtitle { opacity:.9; margin:0; }
.scp-hero__gauge { transform: scale(1.15); transform-origin:right center; }

/* Botón del HERO más visible en fondo oscuro */
.btn-hero {
  /* usa Bootstrap 'btn-warning' pero por si cambias tema */
  background: #f59e0b; /* aprox. warning */
  color: #111827;      /* oscuro para contraste */
  border: 0;
}

/* Disposición principal: izq (suscripciones + config) / dcha (stats) */
.scp-two-cols { display:grid; grid-template-columns: 1.05fr 1fr; gap:1rem; }
@media (max-width: 991.98px){ .scp-two-cols{ grid-template-columns: 1fr; } }

/* Cards estándar */
.card.shadow-soft { box-shadow: 0 1px 2px rgba(16,24,40,.06); border-radius:.75rem; border:1px solid #e9edf2; }
.card .card-header { font-weight:600; background:#fff; border-bottom:1px solid #edf1f6; padding:.6rem .9rem; }
.card .card-body { padding:.8rem .9rem; }

/* Stats compactas */
#piechart { max-height: 220px; } /* más pequeño */
.centrado, .center { text-align:center; }
.text-right { text-align:right; }

/* Card de configuración (agrupa Easy Config + Lock) */
/* Cajas de configuración (Easy Config + Lock) */
.sci-grid-two { display:grid; grid-template-columns: 1fr 1fr; gap:.75rem; }
@media (max-width: 575.98px){ .sci-grid-two{ grid-template-columns: 1fr; } }

.scp-two-up {
  display: flex;
  gap: 1rem;
}
.scp-two-up > .card {
  flex: 1 1 0;   /* cada card crece y ocupa la mitad */
  min-width: 0;  /* evita desbordes */
}
@media (max-width: 991.98px){
  .scp-two-up { flex-direction: column; }
}

.sci-box {
  border:1px solid #e9edf2; border-radius:.6rem; padding: .9rem;
  
}
.sci-box .sci-title { font-weight:600; margin-bottom:.4rem; display:flex; align-items:center; gap:.4rem; }
.sci-box .sci-body  { font-size:.92rem; }

/* Action bar component */
.scp-actionbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .9rem 1.1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    box-shadow: 0 1px 6px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.04);
    background: var(--bs-body-bg);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}
.scp-actionbar__title { font-weight:700; font-size:1.1rem; margin:0; display:flex; align-items:center; gap:.5rem; }
.scp-actionbar__subtitle { color:var(--bs-secondary-color); font-size:.85rem; margin:.15rem 0 0; }
.scp-actionbar__actions { display:flex; gap:.5rem; flex-wrap:wrap; align-items:center; }
@media (max-width:575.98px) {
  .scp-actionbar { flex-direction:column; align-items:stretch; }
  .scp-actionbar__actions { width:100%; }
  .scp-actionbar__actions .btn { flex:1 1 auto; }
}
.scp-chip--outline { background: transparent; color: var(--bs-secondary-color); border:1px solid var(--bs-border-color); display:inline-flex; align-items:center; gap:.35rem; }
.scp-actionbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: var(--scp-scan-pct, 0%);
    opacity: var(--scp-scan-opacity, 0);
    background: var(--scp-scan-color, var(--bs-info, #0dcaf0));
    transition: width .4s ease, background .3s ease, opacity .8s ease;
    pointer-events: none;
}

/* ===== Callout (aviso con borde izquierdo, sin fondo agresivo) ===== */
.scp-callout {
    padding:.75rem 1rem;
    border-left:4px solid var(--bs-border-color, #dee2e6);
    border-radius:0 .5rem .5rem 0;
    background: var(--bs-tertiary-bg, #f8f9fa);
    font-size:.9rem;
    margin-bottom:1rem;
}
.scp-callout--warning { border-left-color: var(--bs-warning, #ffc107); background: var(--bs-warning-bg-subtle, #fff3cd); }
.scp-callout--danger  { border-left-color: var(--bs-danger, #dc3545); background: var(--bs-danger-bg-subtle, #f8d7da); }
.scp-callout--info    { border-left-color: var(--bs-info, #0dcaf0); background: var(--bs-info-bg-subtle, #cff4fc); }
.scp-callout__detail  { font-size:.82rem; color: var(--bs-secondary-color, #6c757d); margin-top:.4rem; }