*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Raleway';
}

.layout{
  display:flex;
  height:100vh;
}

/* SIDEBAR */
.sidebar{
  width:270px;
  height:100vh;
  padding:25px 18px;

  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.85);

  border-right: 1px solid rgba(255,255,255,0.08);

  display:flex;
  flex-direction:column;
  gap:25px;

  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* TÍTULO */
.sidebar h2{
  font-size:22px;
  font-weight:700;
  text-align:center;
  letter-spacing:1px;

  background: linear-gradient(90deg, #38bdf8, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CONTENEDOR BOTONES */
.sidebar button{
  width:100%;
  padding:14px 16px;
  border-radius:14px;

  border:none;
  background: rgba(255,255,255,0.04);
  color:#e2e8f0;

  display:flex;
  align-items:center;
  gap:12px;

  font-size:15px;
  cursor:pointer;

  transition: all 0.35s ease;
  position:relative;
  overflow:hidden;
}

/* EFECTO BRILLO */
.sidebar button::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transition:0.5s;
}

.sidebar button:hover::before{
  left:100%;
}

/* HOVER */
.sidebar button:hover{
  transform: translateX(6px) scale(1.02);
  background: rgba(56,189,248,0.12);
  color:white;
}

/* ACTIVO (MUCHO MÁS PRO) */
.sidebar button.active{
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color:white;
  font-weight:600;

  box-shadow: 
    0 8px 20px rgba(56,189,248,0.4),
    inset 0 0 10px rgba(255,255,255,0.2);
}

/* ICONOS */
.sidebar button i{
  font-size:20px;
  transition: transform 0.3s ease;
}

.sidebar button:hover i{
  transform: rotate(-10deg) scale(1.2);
}

/* CONTENIDO */
.content{
  flex:1;
  padding:20px;
  /*background:#f1f5f9; */
  background:
    radial-gradient(circle at 10% 20%, rgba(56,189,248,0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(253,224,71,0.15), transparent 40%),
    linear-gradient(180deg, #ffffff, #f8fafc) !important;
    overflow-y:auto;
}
  

