
*{
  box-sizing: border-box;
}

body{

margin:0;
font-family: 'Segoe UI', Arial, sans-serif;
height:100vh;
background:url('../img/fondo.jpg');
background-size:cover;
background-position:center;
color:white;

}

.overlay{

position:fixed;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
top:0;
left:0;

}

.contenido{

position:relative;
z-index:2;
text-align:center;
padding-top:60px;

}

.logo{

width:200px;
margin-bottom:10px;

}

h1{

margin-bottom:30px;
font-weight:500;
letter-spacing:3px;
font-size:34px;

}

.reloj{

font-size:18px;
margin-bottom:20px;
opacity:.8;

}

.sistemas{

display:flex;
justify-content:center;
flex-wrap:wrap;
gap:40px;

}

.card{

width:200px;
height:160px;

background:rgba(255,255,255,0.1);
backdrop-filter: blur(10px);

border-radius:15px;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

text-decoration:none;
color:white;
font-weight:bold;

transition:0.3s;

box-shadow:0 10px 30px rgba(0,0,0,0.3);

}

.card i{

font-size:45px;
margin-bottom:15px;
color:#dfe6ec;

}

.card:hover{

transform:translateY(-8px) scale(1.05);
background:rgba(255,255,255,0.2);

}

.card:hover i{

color:rgb(165, 34, 34);

}

.mensaje{

position:fixed;
bottom:30px;
left:50%;
transform:translateX(-50%);
background:#ff4d4d;
color:white;
padding:15px 30px;
border-radius:6px;
display:none;
font-weight:bold;
z-index:10;

}

/* EFECTO GLASS */
.glass{
background:rgba(255,255,255,0.08);
backdrop-filter:blur(15px);
border-radius:15px;
box-shadow:0 10px 40px rgba(0,0,0,0.4);
padding:30px;
text-align:center;
}

/* ICONO */
.icono_modal{
font-size:40px;
color:#d8db2d;
margin-bottom:10px;
}

/* SUBTITULO */
.subtitulo{
font-size:14px;
opacity:.7;
margin-bottom:15px;
}



/* BOTONES */
.btn_principal{
width:100%;
padding:12px;
background:#4da6ff;
border:none;
border-radius:8px;
color:white;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

.btn_principal:hover{
background:#dde01f;
transform:scale(1.03);
}

.btn_secundario{
margin-top:10px;
padding:10px;
background:rgba(255,255,255,0.2);
border:none;
border-radius:8px;
color:white;
cursor:pointer;
}

/* GRID DASHBOARDS */
.grid_dash{
display:flex;
gap:15px;
justify-content:center;
margin:20px 0;
flex-wrap:wrap;
}





/* TARJETAS DASH */
.card_dash{

width:120px;
height:100px;

background:rgba(255,255,255,0.1);
backdrop-filter:blur(10px);

border-radius:12px;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

text-decoration:none;
color:white;

transition:.3s;

}

.card_dash i{
font-size:28px;
margin-bottom:8px;
color:#4da6ff;
}

.card_dash:hover{
transform:translateY(-5px) scale(1.05);
background:rgba(255,255,255,0.2);
}



footer{

position:fixed;
bottom:10px;
width:100%;
text-align:center;
font-size:14px;
opacity:.7;

}

.info_extra{

margin-top:70px;
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;

}

#icono_clima{

font-size:22px;
color:#ffd166;

}

.card_info{

width:220px;
height:60px;

background:rgba(255, 254, 254, 0.08);
backdrop-filter:blur(6px);

border-radius:40px;

display:flex;
align-items:center;
gap:10px;

padding:10px 18px;

box-shadow:0 5px 15px rgba(249, 249, 250, 0.25);

opacity:0.85;

}

.card_info i{

font-size:20px;
color:#032446;

}

.card_info div{

display:flex;
flex-direction:column;

}

.titulo_info{

font-size:14px;
opacity:.7;

}

#reloj{

font-size:18px;
font-weight:bold;

}

#clima{

font-size:16px;

}

.btn_admin{

position:fixed;
bottom:20px;
right:20px;

width:55px;
height:55px;

background:rgba(255,255,255,0.1);
backdrop-filter:blur(10px);

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

color:white;
font-size:22px;

cursor:pointer;

box-shadow:0 5px 20px rgba(0,0,0,0.4);

transition:.3s;

z-index:9999;

}

.btn_admin:hover{
transform:scale(1.1);
background:#ca2d22;
}

/* OVERLAY MODAL */
.modal_dashboards{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,0.65);
  z-index:9999;
}

/* CAJA DEL MODAL */
.contenido_dashboards{
  width:1100px;
  max-width:50%;
  padding:25px;

  border-radius:18px;
  text-align:center;

  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(18px);

  box-shadow:0 15px 40px rgba(0,0,0,0.5);
}

/* ICONO */
.icono_modal{
  font-size:45px;
  color:#2f8cff;
  margin-bottom:10px;
}

/* TITULO */
/* ===== MODAL BASE ===== */
.modal_dashboards{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  display:none;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,0.65);
  z-index:9999;
}



/* ICONO */
.icono_modal{
  font-size:45px;
  color:#ffffff;
  margin-bottom:10px;
}

/* TITULO */
.contenido_dashboards h3{
  margin:10px 0 5px;
  font-weight:500;
}

/* SUBTITULO */
.subtitulo{
  font-size:13px;
  opacity:.7;
  margin-bottom:20px;
}

/* INPUT GROUP */
.input_group{
  width:100%;
  margin-bottom:15px;
}

.input_group input{
  width:100%;
  padding:12px;
  border:none;
  border-radius:10px;
  display:block;
}

/* ICONO INPUT */
.input_group i{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  color:#555;
  cursor:pointer;
}

/* BOTONES */
.btn_principal{
  width:100%;
  padding:12px;

  background:#002f68;
  border:none;
  border-radius:10px;

  color:white;
  font-weight:600;

  cursor:pointer;
  transition:.3s;
}

.btn_principal:hover{
  background:#023377;
}

.btn_secundario{
  width:100%;
  padding:10px;
  margin-top:10px;

  border:none;
  border-radius:10px;

  background:rgba(255,255,255,0.2);
  color:white;

  cursor:pointer;
}

/* ===== MODAL LIMPIO ===== */
.modal_pro{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:none;
  justify-content:center;
  align-items:center;
  background:rgba(0,0,0,0.6);
  z-index:99999;
}

/* CAJA */
.modal_box{
  width:320px;
  background:white;
  border-radius:12px;
  padding:25px;
  text-align:center;
  color:#333;
}

/* TITULO */
.modal_box h2{
  margin-bottom:20px;
}

/* INPUT CONTENEDOR */
.input_box{
  position:relative;
  margin-bottom:15px;
}

/* INPUT */
.input_box input{
  width:100%;
  padding:10px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:14px;
  box-sizing:border-box;
}

/* OJO */
.input_box span{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  cursor:pointer;
}

/* BOTONES */
.modal_box button{
  width:100%;
  padding:10px;
  margin-top:8px;
  border:none;
  border-radius:6px;
  background:#033a74;
  color:white;
  cursor:pointer;
  font-weight:bold;
}

/* CANCELAR */
.modal_box .cancel{
  background:#ccc;
  color:#333;
}

@media(max-width:768px){
  .card{
    width:140px;
    height:120px;
  }

  h1{
    font-size:24px;
  }
}

.titulo_principal{
  font-size:38px;
  font-weight:600;
  letter-spacing:2px;
  margin:10px 0 30px;
  text-transform:uppercase;

  background: linear-gradient(90deg,#ffffff,#4da6ff);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}