
@import url(variables.css);

/* CONTENEDOR */
.dashboard{
    display:flex;
    min-height:80vh;
}

/* SIDEBAR */
.sidebar{
    width:260px;
    background: var( --color-primary);
    color:white;
    padding:10px 20px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-width: 260px;
    font-family: 'Poppins-Light', sans-serif !important;
    border-radius: 10px 10px 0px 0px;
    margin: 10px 0px 0px 0px;
}

.logo{
    font-size:24px;
    font-weight:bold;
    margin-bottom:10px;
    text-align:center;
}

.menu{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.menu button{
    width:100%;
    border:none;
    background:none;
    color: var(--text-claro);
    padding:10px;
    border-radius:12px;
    text-align:left;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
    display:flex;
    align-items:center;
    gap:12px;
}

.menu button:hover{
    background:#1f2937;
    color: var(--text-claro);
}

.menu button.active{
    background: var( --bg-header-area);
}

/* CONTENIDO */
.content{
    flex:1;
    padding:40px;
}

.topbar{
    margin-bottom:30px;
}

.topbar h1{
    font-size:32px;
    color:#111827;
}

.card{
    background:white;
    border-radius:18px;
    padding:30px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    animation:fade .3s ease;
}

.card h2{
    margin-bottom:15px;
    color:#111827;
}

.card p{
    color:#6b7280;
    line-height:1.6;
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* RESPONSIVE */
@media(max-width:768px){

    .dashboard{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }

    .content{
        padding:20px;
    }

}

.password-wrapper{ position:relative; width:100%; } 
.input-pass{ width:100%; height:50px; padding-right:45px; /* espacio para el icono */ border-radius:10px; } 
.toggle-password{ position:absolute; top:50%; right:15px; transform:translateY(-50%); cursor:pointer; color:#777; font-size:18px; } 
.toggle-password:hover{ color:#111; }