/* ========================= */
/* ESTILO GENERAL */
/* ========================= */

body{
background:#111;
color:white;
font-family:Arial, Helvetica, sans-serif;
margin:0;
font-size:17.5px;
}
@media (min-width:1200px){

body{
font-size:18px;
}

}

h1{
font-size:28px;
}

h2{
font-size:24px;
}

h3{
font-size:20px;
}


/* TITULOS */

h1,h2,h3,h4{
color:white;
}

/* LINKS */

a{
color:#e50914;
text-decoration:none;
}

a:hover{
color:white;
}

/* BOTONES */

button{
background:#e50914;
color:white;
border:none;
padding:10px 15px;
border-radius:5px;
cursor:pointer;
}

button:hover{
background:#b20710;
}

/* INPUTS */

input,select,textarea{
background:#000;
color:white;
border:1px solid #333;
padding:10px;
border-radius:5px;
max-width:100%;
}

/* TABLAS */

table{
width:100%;
border-collapse:collapse;
background:#000;
}

th{
background:#111;
padding:10px;
border:1px solid #333;
}

td{
padding:10px;
border:1px solid #333;
}

/* TARJETAS */

.card{
background:#000;
padding:15px;
border-radius:8px;
margin-bottom:15px;
}

/* PANEL ADMIN */

.container{
display:flex;
min-height:100vh;
}

.sidebar{
width:250px;
background:#000;
padding:20px;
border-right:1px solid #333;
}

.menu a{
display:block;
padding:12px;
margin-bottom:10px;
background:#111;
color:white;
border-radius:5px;
transition:0.3s;
}

.menu a:hover{
background:#e50914;
}

.content{
flex:1;
padding:20px;
}

/* SCROLL */

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-track{
background:#000;
}

::-webkit-scrollbar-thumb{
background:#333;
}

::-webkit-scrollbar-thumb:hover{
background:#e50914;
}

/* ========================= */
/* RESPONSIVE MOVIL */
/* ========================= */

@media (max-width: 900px){

.container{
flex-direction:column;
}

.sidebar{
width:100%;
border-right:none;
border-bottom:1px solid #333;
}

.menu{
display:flex;
flex-wrap:wrap;
gap:5px;
}

.menu a{
flex:1;
text-align:center;
font-size:14px;
padding:10px;
}

.content{
padding:15px;
}

}

/* TABLAS RESPONSIVE */

@media (max-width:700px){

table, thead, tbody, th, td, tr{
display:block;
}

thead{
display:none;
}

tr{
margin-bottom:15px;
background:#000;
padding:10px;
border-radius:8px;
}

td{
border:none;
padding:8px;
display:flex;
justify-content:space-between;
}

}

/* FORMULARIOS MOVIL */

@media (max-width:600px){

input,select,button{
width:100%;
}

}
/* ========================= */
/* OPTIMIZACION SMART TV */
/* ========================= */

@media (min-width: 1400px){

body{
font-size:18px;
}

.menu a{
padding:18px;
font-size:18px;
}

button{
padding:15px 25px;
font-size:18px;
}

input,select{
padding:15px;
font-size:18px;
}

.sidebar{
width:280px;
}

.content{
padding:40px;
}

table th, table td{
padding:15px;
font-size:17px;
}

}
/* ========================= */
/* MEJORAS VISUALES SUAVES */
/* ========================= */

/* BOTONES MÁS CÓMODOS */

button{
font-size:16px;
padding:12px 18px;
}

/* MENÚ LATERAL */

.menu a{
font-size:16px;
padding:14px;
}

/* INPUTS MÁS CÓMODOS */

input,select{
font-size:15.5px;
padding:11px;
}

/* TABLAS MÁS LEGIBLES */

th,td{
font-size:15.5px;
}

/* ========================= */
/* PANTALLAS GRANDES / TV */
/* ========================= */

@media (min-width:1200px){

body{
font-size:18px;
}

.menu a{
font-size:18px;
padding:16px;
}

button{
font-size:17px;
padding:14px 20px;
}

input,select{
font-size:17px;
padding:13px;
}

th,td{
font-size:16.5px;
}

}

/* ========================= */
/* MOVIL MEJORADO */
/* ========================= */

@media (max-width:600px){

.menu a{
font-size:14px;
padding:10px;
}

button{
font-size:15px;
}

}


/* ========================= */
/* NAVEGACION TV */
/* ========================= */

.focus-tv{
outline:3px solid #e50914;
transform:scale(1.03);
transition:0.15s;
}

a:focus,
button:focus,
input:focus,
select:focus{
outline:none;
}

/* ========================= */
/* RESALTADO CONTROL REMOTO */
/* ========================= */

.focus-tv{
outline: none;
border:2px solid #e50914;
box-shadow: 
0 0 5px #e50914,
0 0 10px #e50914,
0 0 20px rgba(229,9,20,0.7),
0 0 30px rgba(229,9,20,0.5);

transform: scale(1.05);
transition: all 0.15s ease-in-out;
z-index: 999;
position: relative;
}

/* Para botones */

button.focus-tv{
background:#1a1a1a;
}

/* Para enlaces */

a.focus-tv{
background:#1a1a1a;
}

/* Para inputs */

input.focus-tv,
select.focus-tv{
background:#1a1a1a;
}

.focus-tv{
animation: glowTV 1.2s infinite alternate;
}

@keyframes glowTV{

from{
box-shadow: 
0 0 5px #e50914,
0 0 10px #e50914;
}

to{
box-shadow: 
0 0 15px #e50914,
0 0 25px #e50914,
0 0 35px rgba(229,9,20,0.6);
}

}
/* RESALTADO TV */
.focus-tv{
outline:none;
background:#00aaff !important;
color:white !important;
transform:scale(1.05);
transition:0.2s;
}

/* APLICAR A LINKS */
a{
display:block;
padding:10px;
margin:5px;
background:#222;
color:white;
text-decoration:none;
border-radius:5px;
}

a:hover{
background:#333;
}

/* IMPORTANTE PARA TV */
a:focus{
outline:none;
}

.archivo{
outline:none;
}

.archivo.focus-tv{
background:#00aaff;
transform:scale(1.02);
}
