body{
	overflow: hidden;
	
	font-weight: 300;
}
.mascara{
	background-image: url(../imgs/fondo.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	width: 100%;
	height: 100vh;
	background-color: #000000;
	position: fixed;	
	z-index: -9999999;
}
.mascara2{
	width: 100%;
	height: 100vh;
	background-color: #000000;
	position: fixed;
	opacity: 0.9;
	z-index: -999999;
}

.abs-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: #eee;
}

.form {
  width: 450px;
}
.titulo{
	color: #eee;
	width: 100%;
	text-align: center;
	margin-bottom: 30px;
	font-family: 'Raleway', sans-serif;
	font-size: 16pt; 
}
.footerLogin{
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 12px;
	margin-top: 20px;
	font-family: 'Raleway', sans-serif;
}
.noti{
	position: fixed;
	z-index: 9999999999;
	width: 100%;
	color: #000000 !important;

}
.desaparecer{
	display: none;
}
.aparecer{
	display: block;
}

#sidebar-container{
	min-height: 100vh;
	margin-left: -18.5.5rem;
	transition: margin 1s ease-in-out;
}
#sidebar-container .logo{
	padding: .875rem 1.25rem;
}

#sidebar-container .menu{
	width: 18rem;
	margin-left: 10px;
}
.bg-primary{
	background: rgba(169,3,41,1);
	background: -moz-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(169,3,41,1)), color-stop(51%, rgba(143,2,34,1)), color-stop(100%, rgba(109,0,25,1)));
	background: -webkit-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -o-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -ms-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: linear-gradient(to right, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019', GradientType=1 );
}
.textlogo{
	font-size: 12pt;
	margin-left: 10px;
}
.logo{
	margin-top: 30px;
	text-align: center;
}
a:hover{
	text-decoration: none;
}

.btn-search{
	right: 8px;

}
.avatar{
	max-width: 35px;
}

#content{
	overflow-y: auto;
	height: 100vh;
	padding-bottom: 5rem;
}

.font{
	font-family: 'Raleway', sans-serif;
}
.margen{
	padding-top: 40px;
}

.btn{
	border: 0;
}
.stat{
	border-right: 1px solid #000000;
}
.stat2{
	border-right: 0.5px solid #747272;
}

.bg-mix{
	background: linear-gradient(180deg, #ffffff 10%, #f2eded 0);
}
.bg-grey{
	background-color:#f2eded;
}
.distancia{
	margin-right: 10px;
}
.distanciaTop{
	margin-top: 10px;
}
.bg-light{
	background-color: #ffffff !important;
}

.font-18{
	font-size: 35pt;
}
.p-bottom{
	margin-top: 14px;
}
.bg-pro{
	background: rgba(169,3,41,1);
	background: -moz-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(169,3,41,1)), color-stop(51%, rgba(143,2,34,1)), color-stop(100%, rgba(109,0,25,1)));
	background: -webkit-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -o-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -ms-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: linear-gradient(to right, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019', GradientType=1 );
	color: #eee;
}
.imgLogo{
	max-width: 100px;
	margin-bottom: 10px;
}
.margenMenos{
	margin-top: -10px !important;
}
.panel{
	margin-left: 10px !important;
}
.marginFooter{
	padding-top: 40px;
	padding-bottom: 40px;
	font-size: 9pt;
}



.btnResposivo{
	border-radius: 200px;
	width: 50px;
	height: 50px;
	font-size: 20pt;
	padding: 5px;
	position: absolute;
	right: 0;
	margin-right: -25px;
	margin-top: 50vh;
	text-align: center;
	background: linear-gradient(90deg, transparent 50%, #81011e 0);
	color: #eee;
}
.btnResposivo2{
	position: relative;

}

#content-wrapper.toggled #sidebar-container{
	margin-left: 0;

}
.icon-chevron-right{
	margin-left: 12px !important;
	transition: margin .25s ease-in-out;
}
.icon-chevron-left{
	margin-left: 12px !important;
	transition: margin .25s ease-in-out;
}
#sidebar-container{
	display: block;
}

@media (max-width:768px) {
	#sidebar-container{
		display: none;
	}
}
@media (min-width:768px) {
	#sidebar-container{
		margin-left: 0px;
		
	}
	#page-container{
		min-width: 0;
		width: 100%;
	}
	#content-wrapper.toggled #sidebar-container{
		margin-left: -18.5rem;
	
	}
}

.anuncio{
	position:absolute;
	left: 0;
	text-align: center;
	color: #000000 !important;
}
.text-right{
	text-align: right !important;
}
.relativo{
	position: relative;
}
.absoluto{
	position: absolute;
}
.r-0{
	right: 0;
}

.mt-20{
	margin-top: -15px !important;
}

.danger{
	color: #81011e;
}
.font-18{
	font-size: 18pt;
}
.font-11{
	font-size: 11pt !important;
}
.font-18u{
	font-size: 20pt !important;
}
.font-14{
	font-size: 14pt !important;
}
.font-24{
	font-size: 24pt !important;
}

.font-30{
	font-size: 30pt !important;
}
.progress-bar{
	width: 0%;
}

.html{
	background-color: #000000 !important;
	color: #aeeed5 !important;
}
.c-f{
	color: #eeeeee !important;
}
.c-0{
	color: #000000 !important;
}
.pb-23{
	padding-bottom: 23px !important;

}
.mt-20{
	 margin-top: 20px !important;
 }

 .mt-menos{
	 margin-top: -5px !important;
 }
 .standar{
	 width: 80px !important;
 }
 .mt-menos10{
	 margin-top: -10px !important ;
 }
 .mt-menos20{
	margin-top: -20px !important ;
 }

 .btn-circle {
	width: 50px;
	height: 50px;
	text-align: center;
	padding: 6px 0;
	font-size: 30px;
	line-height: 1.428571429;
	border-radius: 200px;
  }




@media (max-width: 1180px){
	#panelInfo{
		display: none;
	}
}

.div-face{
	height: 200px !important; 
	border: 1px solid #000000;
	color: #000000 !important;
	padding: 20px;
	overflow-y: auto;
}

.editable{
	height: 200px !important;
	border: 1px solid #000000;
	color: #000000 !important;
	padding: 20px;
	overflow-y: auto;
}

.verde{
	color: #4edb32;
}

.limitado{
	background-color: #333;
	color: #fff;
	width: 300px;
	min-height: 60px;
	padding: 20px;
  }

  .linea{
	  border-bottom: 1px solid #747272;
	  height: 20px;
  }

  .loading {
	display: none;
  }
  .loading.active {
	display: block;
	font-size: 2em;
	text-align: center;
	margin: 10px 0;
  }

  .editCaja{
	  height: 290px !important;
  }
  .siguiente{
	  position: absolute;
	  right: 0;
  }

  .principal{
	  width: 80%;
	  margin: 0 auto;
	  padding: 3% 0 6% 0;
	  clear: both;
  }

  .barra{
	  background-color: #f3f3f3;
	  border-radius: 5px;
	  box-shadow: inset 0px 0px 5px rgba(0,0,0,.2);
  }
  
  .cancel{
	  background: #ed1f3c !important;
  }

  .barra_azul{
	  background-color: #247cc0;
	  border-radius: 10px;
	  display: block;
	  height: 25px;
	  line-height: 25px;
	  text-align: center;
	  width: 0%;
  }

  .barra_verde{
	  background-color: #2ea265 !important;
  }

  .barra_roja{
	  background-color: #de3152;
  }

  #form_subir{
	  margin: 1.5% 0;
	  padding: 2%;
  }

  #barra_estado span{
	  color: #ffffff;
	  font-weight: bold;
	  line-height: 25px;
  }

  .acciones input{
	  width: 150px;
	  margin-top: 20px;
  }
  .cortina{
	background: rgba(76,76,76,0.59);
	background: -moz-linear-gradient(-45deg, rgba(76,76,76,0.59) 0%, rgba(44,44,44,0.59) 0%, rgba(71,71,71,0.59) 0%, rgba(0,0,0,0.59) 0%, rgba(89,89,89,0.59) 0%, rgba(102,102,102,0.59) 0%, rgba(17,17,17,0.59) 0%, rgba(43,43,43,0.61) 76%, rgba(28,28,28,0.61) 91%, rgba(19,19,19,0.61) 100%);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(76,76,76,0.59)), color-stop(0%, rgba(44,44,44,0.59)), color-stop(0%, rgba(71,71,71,0.59)), color-stop(0%, rgba(0,0,0,0.59)), color-stop(0%, rgba(89,89,89,0.59)), color-stop(0%, rgba(102,102,102,0.59)), color-stop(0%, rgba(17,17,17,0.59)), color-stop(76%, rgba(43,43,43,0.61)), color-stop(91%, rgba(28,28,28,0.61)), color-stop(100%, rgba(19,19,19,0.61)));
	background: -webkit-linear-gradient(-45deg, rgba(76,76,76,0.59) 0%, rgba(44,44,44,0.59) 0%, rgba(71,71,71,0.59) 0%, rgba(0,0,0,0.59) 0%, rgba(89,89,89,0.59) 0%, rgba(102,102,102,0.59) 0%, rgba(17,17,17,0.59) 0%, rgba(43,43,43,0.61) 76%, rgba(28,28,28,0.61) 91%, rgba(19,19,19,0.61) 100%);
	background: -o-linear-gradient(-45deg, rgba(76,76,76,0.59) 0%, rgba(44,44,44,0.59) 0%, rgba(71,71,71,0.59) 0%, rgba(0,0,0,0.59) 0%, rgba(89,89,89,0.59) 0%, rgba(102,102,102,0.59) 0%, rgba(17,17,17,0.59) 0%, rgba(43,43,43,0.61) 76%, rgba(28,28,28,0.61) 91%, rgba(19,19,19,0.61) 100%);
	background: -ms-linear-gradient(-45deg, rgba(76,76,76,0.59) 0%, rgba(44,44,44,0.59) 0%, rgba(71,71,71,0.59) 0%, rgba(0,0,0,0.59) 0%, rgba(89,89,89,0.59) 0%, rgba(102,102,102,0.59) 0%, rgba(17,17,17,0.59) 0%, rgba(43,43,43,0.61) 76%, rgba(28,28,28,0.61) 91%, rgba(19,19,19,0.61) 100%);
	background: linear-gradient(135deg, rgba(76,76,76,0.59) 0%, rgba(44,44,44,0.59) 0%, rgba(71,71,71,0.59) 0%, rgba(0,0,0,0.59) 0%, rgba(89,89,89,0.59) 0%, rgba(102,102,102,0.59) 0%, rgba(17,17,17,0.59) 0%, rgba(43,43,43,0.61) 76%, rgba(28,28,28,0.61) 91%, rgba(19,19,19,0.61) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313', GradientType=1 );
	width: 100%;
	height: 100vh;
	position: absolute;
	z-index: 99999999999999999999999;
	top:0;
    left:0;
    bottom:0;
    right:0; 
	 
  }

  .body-m{
	background: rgba(169,3,41,1);
	background: -moz-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(169,3,41,1)), color-stop(51%, rgba(143,2,34,1)), color-stop(100%, rgba(109,0,25,1)));
	background: -webkit-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -o-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: -ms-linear-gradient(left, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	background: linear-gradient(to right, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 51%, rgba(109,0,25,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019', GradientType=1 );

  }

  .pa-bu{
	  margin-top: 15px !important;
	  color: #eee !important;
	  font-size: 45pt !important;
  }
  .groupPod{
	  margin-top: 20px !important;
  }
  .spectro{
	  width: 100%;
  }
  .menuresponsivo{
		display: none;
  }
 
  @media (max-width: 768px){
	.menuresponsivo{
			display: block;
	}
  }
  @media (max-width: 1000px){
	 .groupPod{
		 border-bottom: 1px solid #747272;
		 text-align: right !important;
	 }
	 .groupPodPlay{
		 padding-top: 20px;
		 text-align: center !important;		 
		 
	 }
	 
	 
  }

  .mt-menos30{
	  margin-top: -30px !important;
  }

  iframe{
	  width: 100% !important;
	  height: 300px;
  }

  .redeslocutor{
	  width: 100%;
	  height: 210px;
	  overflow-y: auto;
  }
  
  .botom-0{
	  bottom: 0px;
	  right: 10px;
  }

  .pa-pu{
	  margin-left: 30px !important;
  }


/* ============================================================
   PANEL — DARK THEME REDESIGN
   ============================================================ */

/* Base */
body {
  background: #0d0d14;
}

#content-wrapper {
  background: #0d0d14;
  min-height: 100vh;
}

#page-container {
  background: #0d0d14;
}

#content {
  background: #0d0d14;
}

/* ---- SIDEBAR ---- */
#sidebar-container {
  width: 220px !important;
  flex-shrink: 0;
  background: linear-gradient(180deg, #111118 0%, #0d0d14 100%) !important;
  border-right: 1px solid rgba(255,255,255,0.05);
  box-shadow: 4px 0 24px rgba(0,0,0,0.5);
}

#content-wrapper.toggled #sidebar-container {
  margin-left: -221px !important;
}

/* Sidebar brand header */
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(169,3,41,0.07);
}

.sidebar-logo {
  flex-shrink: 0;
  border: 1.5px solid rgba(169,3,41,0.35);
  box-shadow: 0 0 14px rgba(169,3,41,0.18);
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-name {
  font-family: 'Raleway', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.sidebar-sub {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Section label inside sidebar */
.sidebar-section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 18px 20px 6px;
}

/* Sidebar links */
.sidebar-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 11px 16px !important;
  margin: 2px 8px;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-left: 2px solid transparent;
}

.sidebar-link:hover {
  background: rgba(169,3,41,0.14) !important;
  color: #ffffff !important;
  border-left-color: #a90329;
  text-decoration: none;
}

.sidebar-link .sidebar-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Override .menu spacing */
#sidebar-container .menu {
  margin-left: 0 !important;
  width: 100% !important;
  padding: 4px 0;
}

/* Toggle button */
.btnResposivo {
  background: linear-gradient(90deg, transparent 50%, rgba(169,3,41,0.6) 0) !important;
  color: rgba(255,255,255,0.7) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  z-index: 9999;
  position: absolute;
}

/* ---- TOPBAR ---- */
.panel-topbar {
  background: #111118 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  padding: 0 16px !important;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  flex-wrap: nowrap !important;
  align-items: center !important;
  display: flex !important;
}

/* Player controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 14px;
  border-right: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.player-btn {
  width: 30px;
  height: 30px;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: rgba(169,3,41,0.14) !important;
  border: 1px solid rgba(169,3,41,0.28) !important;
  color: rgba(255,255,255,0.8) !important;
  transition: background 0.2s, box-shadow 0.2s;
  line-height: 30px !important;
  text-align: center;
}

.player-btn:hover {
  background: rgba(169,3,41,0.32) !important;
  box-shadow: 0 0 10px rgba(169,3,41,0.28);
  color: #fff !important;
}

/* Stats container — flex row, no Bootstrap grid */
#panelInfo {
  display: flex !important;
  align-items: stretch;
  flex: 1;
  height: 52px;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.topbar-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  height: 52px;
  flex-shrink: 0;
}

.topbar-stat-border {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.topbar-stat-icon {
  font-size: 17px;
  color: rgba(169,3,41,0.7);
  flex-shrink: 0;
}

.topbar-stat-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.topbar-stat-value {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f0f0f5;
  white-space: nowrap;
}

.topbar-stat-value small {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

.topbar-stat-label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Override old stat border */
.stat {
  border-right: 1px solid rgba(255,255,255,0.06) !important;
}

/* User dropdown in topbar */
.panel-topbar .nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  padding: 8px 12px !important;
  white-space: nowrap;
}

.panel-topbar .nav-link:hover {
  color: #fff !important;
}

/* Navbar collapse wraps ml-auto correctly */
.panel-topbar .navbar-collapse {
  flex-grow: 0 !important;
  flex-shrink: 0;
}

.panel-topbar .navbar-nav {
  flex-direction: row !important;
  align-items: center;
}

/* Navbar toggler (mobile) */
.panel-topbar .navbar-toggler {
  border-color: rgba(255,255,255,0.15) !important;
  margin-right: 8px;
  flex-shrink: 0;
}

/* ---- CONTENT SECTIONS ---- */
section,
.bg-mix,
.bg-grey {
  background: #0d0d14 !important;
}

/* Section headers (page titles) */
section h1.font,
section .lead {
  color: #f0f0f5;
}

section .lead.text-muted {
  color: rgba(255,255,255,0.4) !important;
}

/* ---- CARDS ---- */
.card {
  background: #16161f !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.card-header {
  background: #1c1c27 !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 12px 12px 0 0 !important;
  padding: 14px 20px;
}

.card-header.bg-pro {
  background: linear-gradient(90deg, #a90329 0%, #6d0019 100%) !important;
  color: #ffffff !important;
  border-bottom: none !important;
}

.card-header.bg-pro h5,
.card-header.bg-pro h6,
.card-header.bg-pro span {
  color: #ffffff !important;
}

.card-body {
  background: #16161f !important;
}

.card-body.bg-light {
  background: #16161f !important;
}

.card-footer {
  background: #1c1c27 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}

/* ---- TEXT ---- */
h1, h2, h3, h4, h5, h6 {
  color: #f0f0f5;
}

.text-muted {
  color: rgba(255,255,255,0.4) !important;
}

small.text-danger {
  color: #e8294a !important;
}

p, span, label {
  color: #c8c8d8;
}

/* ---- FORM CONTROLS ---- */
.form-control {
  background: #1e1e2c !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #f0f0f5 !important;
  border-radius: 8px !important;
}

.form-control:focus {
  background: #252535 !important;
  border-color: rgba(169,3,41,0.55) !important;
  box-shadow: 0 0 0 3px rgba(169,3,41,0.1) !important;
  color: #fff !important;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.25) !important;
}

.form-control:disabled,
.form-control[disabled] {
  background: #17172280 !important;
  color: rgba(255,255,255,0.4) !important;
}

.input-group-text {
  background: #1c1c27 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.55) !important;
  border-radius: 8px 0 0 8px !important;
}

/* ---- BUTTONS ---- */
.btn-dark {
  background: #252533 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #f0f0f5 !important;
  border-radius: 8px !important;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-dark:hover {
  background: #2e2e40 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  color: #fff !important;
}

.btn-warning {
  background: linear-gradient(135deg, #c97c00, #8a5500) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #e08c00, #a06400) !important;
  color: #fff !important;
}

.btn-danger,
.btn-danger:not(:disabled):not(.disabled) {
  background: linear-gradient(135deg, #a90329, #6d0019) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c0062f, #8a001f) !important;
  box-shadow: 0 4px 16px rgba(169,3,41,0.35) !important;
  color: #fff !important;
}

.btn-file {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.btn-file:hover {
  color: #fff;
}

/* ---- TABS ---- */
.nav-tabs {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.nav-tabs .nav-link {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: rgba(255,255,255,0.45) !important;
  border-radius: 8px 8px 0 0 !important;
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.2s, background 0.2s;
}

.nav-tabs .nav-link:hover {
  color: rgba(255,255,255,0.8) !important;
  background: rgba(255,255,255,0.04) !important;
}

.nav-tabs .nav-link.active {
  background: #16161f !important;
  border-color: rgba(255,255,255,0.08) rgba(255,255,255,0.08) #16161f !important;
  color: #f0f0f5 !important;
  border-bottom-color: #16161f !important;
}

/* Nav pills (modal schedule) */
.nav-pills .nav-link {
  color: rgba(255,255,255,0.55) !important;
  border-radius: 20px !important;
  font-size: 12.5px;
  transition: background 0.2s, color 0.2s;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #a90329, #6d0019) !important;
  color: #fff !important;
}

/* ---- TABLES ---- */
.table {
  color: #d0d0e0 !important;
}

.table td, .table th {
  border-color: rgba(255,255,255,0.06) !important;
  vertical-align: middle;
}

.table-bordered {
  border-color: rgba(255,255,255,0.06) !important;
}

.table-bordered td,
.table-bordered th {
  border-color: rgba(255,255,255,0.06) !important;
}

.thead-dark th {
  background: #252533 !important;
  border-color: rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.8) !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- MODALS ---- */
.modal-content {
  background: #16161f !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 14px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6) !important;
}

.modal-header {
  background: #1c1c27 !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 14px 14px 0 0 !important;
  padding: 16px 20px;
}

.modal-footer {
  background: #1c1c27 !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 0 0 14px 14px !important;
}

.modal-title {
  color: #f0f0f5 !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}

.modal-body {
  background: #16161f !important;
}

.close {
  color: rgba(255,255,255,0.6) !important;
  text-shadow: none !important;
  opacity: 1 !important;
  font-size: 20px;
}

.close:hover {
  color: #fff !important;
}

/* Success icon in confirmacion modal */
#confirmacion .verde {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

/* ---- DROPDOWNS ---- */
.dropdown-menu {
  background: #1c1c27 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5) !important;
  padding: 6px;
}

.dropdown-item {
  color: rgba(255,255,255,0.65) !important;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  border-radius: 6px !important;
  padding: 8px 14px !important;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(169,3,41,0.14) !important;
  color: #fff !important;
}

.dropdown-divider {
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  margin: 4px 0 !important;
}

/* ---- PROGRESS BARS ---- */
.progress {
  background: rgba(255,255,255,0.07) !important;
  border-radius: 20px !important;
  height: 6px !important;
  overflow: hidden;
}

.progress-bar.bg-danger {
  background: linear-gradient(90deg, #a90329, #e8294a) !important;
}

/* ---- ALERTS (inline) ---- */
.alert-info {
  background: rgba(30,100,180,0.18) !important;
  border: 1px solid rgba(30,100,220,0.25) !important;
  color: #90c0ff !important;
  border-radius: 8px !important;
}

.alert-danger:not(.login-alert) {
  background: rgba(169,3,41,0.18) !important;
  border: 1px solid rgba(169,3,41,0.3) !important;
  color: #ff8080 !important;
  border-radius: 8px !important;
}

/* ---- PAGE HEADER (section hero) ---- */
.margen {
  padding-top: 32px;
}

section.py-4 {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: #0d0d14 !important;
  padding: 20px 0 !important;
}

section.py-4 h1 {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
}

/* ---- FOOTER (inside pages) ---- */
.marginFooter {
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.2) !important;
  font-size: 10px;
}

.marginFooter .text-center {
  color: rgba(255,255,255,0.2);
}

/* ---- HTML EDITOR TEXTAREA ---- */
.html {
  background: #12121a !important;
  color: #88ffcc !important;
  border-color: rgba(255,255,255,0.08) !important;
  font-size: 12px;
}

/* ---- EDITABLE (Medium Editor container) ---- */
.editable {
  background: #12121a !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #e0e0ee !important;
}

.div-face {
  background: #12121a !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #e0e0ee !important;
}

/* Player icon size */
.player-btn i {
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
}

/* ---- RESPONSIVE MOBILE MENU ---- */
.menuresponsivo a.dropdown-item {
  font-family: 'Raleway', sans-serif;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7) !important;
  border-radius: 6px;
  margin: 2px 0;
}

.menuresponsivo a.dropdown-item:hover {
  background: rgba(169,3,41,0.14) !important;
  color: #fff !important;
}

/* ---- NAVBAR TOGGLER ---- */
.navbar-dark .navbar-toggler {
  border-color: rgba(255,255,255,0.15) !important;
}

/* ---- SCROLL ---- */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.03);
}

::-webkit-scrollbar-thumb {
  background: rgba(169,3,41,0.4);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(169,3,41,0.7);
}

/* ============================================================
   LOGIN — GLASSMORPHIC REDESIGN
   ============================================================ */

.login-bg-img {
  background-image: url(../imgs/fondo.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: -3;
  top: 0; left: 0;
}

.login-bg-overlay {
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg,
    rgba(109,0,25,0.93) 0%,
    rgba(25,0,10,0.88) 50%,
    rgba(0,0,0,0.96) 100%);
  position: fixed;
  z-index: -2;
  top: 0; left: 0;
}

/* Ambient glow orbs */
.login-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

.login-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(169,3,41,0.38) 0%, transparent 70%);
  top: -120px;
  right: -120px;
  animation: orbFloat1 9s ease-in-out infinite;
}

.login-orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(109,0,25,0.32) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: orbFloat2 11s ease-in-out infinite;
}

.login-orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(200,10,55,0.18) 0%, transparent 70%);
  top: 40%;
  left: 45%;
  animation: orbFloat3 7s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0,  0px); }
  50%       { transform: translate(-20px, 30px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0,  0px); }
  50%       { transform: translate(25px, -25px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0,  0px) scale(1); }
  50%       { transform: translate(-15px, 15px) scale(1.08); }
}

/* Wrapper — centers the card */
.login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

/* Glass card */
.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 26px;
  padding: 46px 40px 32px;
  box-shadow:
    0 36px 72px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.09);
  position: relative;
  overflow: hidden;
  animation-duration: 0.65s !important;
}

/* Top-edge shimmer */
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.22) 50%,
    transparent 100%);
}

/* Header */
.login-header {
  text-align: center;
  margin-bottom: 26px;
}

.login-logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(169,3,41,0.13);
  border: 1.5px solid rgba(169,3,41,0.38);
  margin-bottom: 18px;
  position: relative;
  box-shadow:
    0 0 28px rgba(169,3,41,0.22),
    inset 0 0 18px rgba(169,3,41,0.06);
  animation: logoGlow 3.5s ease-in-out infinite;
}

.login-logo-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(169,3,41,0.18);
  animation: ringPulse 3.5s ease-in-out infinite;
}

.login-logo-ring::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(169,3,41,0.08);
  animation: ringPulse 3.5s ease-in-out infinite 0.6s;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(169,3,41,0.22), inset 0 0 18px rgba(169,3,41,0.06); }
  50%       { box-shadow: 0 0 45px rgba(169,3,41,0.45), inset 0 0 24px rgba(169,3,41,0.12); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1);    opacity: 0.8; }
  50%       { transform: scale(1.06); opacity: 0.35; }
}

.login-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,80,80,0.35));
}

.login-brand {
  font-family: 'Raleway', sans-serif;
  font-size: 27px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0 0 7px;
  line-height: 1;
}

.login-brand span {
  color: #e8294a;
}

.login-tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 3.5px;
  margin: 0;
}

/* Decorative divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.login-divider span {
  flex: 1;
  height: 1px;
}

.login-divider span:first-child {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.09));
}

.login-divider span:last-child {
  background: linear-gradient(270deg, transparent, rgba(255,255,255,0.09));
}

.login-divider-icon {
  color: rgba(169,3,41,0.65);
  font-size: 15px;
}

/* Input fields */
.login-field {
  position: relative;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.login-field-icon {
  position: absolute;
  left: 15px;
  color: rgba(255,255,255,0.3) !important;
  font-size: 15px;
  z-index: 1;
  transition: color 0.3s;
  pointer-events: none;
}

.login-input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  outline: none;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.login-input::placeholder {
  color: rgba(255,255,255,0.28);
  font-size: 13px;
}

.login-input:focus {
  background: rgba(255,255,255,0.10);
  border-color: rgba(169,3,41,0.55);
  box-shadow: 0 0 0 3px rgba(169,3,41,0.10), 0 4px 14px rgba(0,0,0,0.22);
}

.login-field:focus-within .login-field-icon {
  color: rgba(200,30,60,0.8) !important;
}

/* Autofill override */
.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover,
.login-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(80,0,20,0.75) inset;
  transition: background-color 5000s;
}

/* Eye toggle button */
.login-eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.28);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.3s;
  line-height: 1;
}

.login-eye-btn:hover {
  color: rgba(255,255,255,0.65);
}

/* Submit button */
.login-submit-btn {
  width: 100%;
  margin-top: 10px;
  padding: 15px 24px;
  background: linear-gradient(135deg, #b8042f 0%, #6d0019 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    0 8px 26px rgba(169,3,41,0.38),
    0 2px 6px rgba(0,0,0,0.3);
}

.login-submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.09), transparent);
  transition: left 0.55s ease;
}

.login-submit-btn:hover::before {
  left: 100%;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(169,3,41,0.52),
    0 4px 14px rgba(0,0,0,0.38);
}

.login-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(169,3,41,0.28);
}

.login-submit-btn i {
  font-size: 18px;
  transition: transform 0.25s;
}

.login-submit-btn:hover i {
  transform: translateX(3px);
}

/* Card footer */
.login-card-footer {
  text-align: center;
  color: rgba(255,255,255,0.22);
  font-size: 10px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.5px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Error alert */
.login-alert {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9999999999;
  background: rgba(160,3,35,0.96) !important;
  backdrop-filter: blur(12px);
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 24px !important;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.login-alert.desaparecer { display: none !important; }
.login-alert.aparecer   { display: flex  !important; }

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px 28px;
    border-radius: 20px;
  }
  .login-brand { font-size: 23px; }
  .login-logo-ring { width: 72px; height: 72px; }
  .login-logo-img { width: 38px; height: 38px; }
}

/* ============================================================
   RECURSOS CARD
   ============================================================ */

.rec-section {
  padding: 22px 24px;
}

.rec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a90329;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rec-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0 24px;
}

/* Upload cards */
.upload-card {
  background: #1a1a26;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.2s;
}

.upload-card:hover {
  border-color: rgba(169,3,41,0.35);
}

.upload-card-preview {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(0,0,0,0.25);
  position: relative;
}

.upload-img-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.upload-img-wide {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  position: relative;
  z-index: 1;
}

.upload-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.upload-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(169,3,41,0.15);
  color: #f07090;
  border: 1px solid rgba(169,3,41,0.3);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 0;
}

.upload-card-btn:hover {
  background: rgba(169,3,41,0.3);
  border-color: rgba(169,3,41,0.6);
  color: #fff;
}

.upload-card-btn-del {
  background: rgba(220,53,69,0.1);
  color: #e07080;
  border-color: rgba(220,53,69,0.25);
}

.upload-card-btn-del:hover {
  background: rgba(220,53,69,0.28);
  border-color: rgba(220,53,69,0.55);
  color: #fff;
}

/* Field labels */
.rec-field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

/* Button row */
.rec-btn-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Color picker row */
.color-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-swatch {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.12);
  background: none;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.color-swatch:hover {
  border-color: rgba(169,3,41,0.6);
}

/* Upload placeholder icon */
.upload-preview-ph {
  font-size: 32px;
  color: rgba(255,255,255,0.13);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}

/* Visibility controlled via inline styles by onload/onerror handlers */
/* Initial state: img hidden, placeholder visible */
.upload-card-preview img {
  display: none;
}

/* Input-group dark theme fix inside rec-section */
.rec-section .input-group-text {
  background: #1a1a26 !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.55) !important;
}

@media (max-width: 576px) {
  .rec-section { padding: 16px; }
  .rec-divider  { margin: 0 16px; }
  .upload-card-preview { height: 66px; }
}
