.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 220px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 10; /* Stay at the top */
  left: 0; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
  border-right: solid 1px;
  padding:10px;
  background-color: white;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 22px;
  color: #818181;
  display: block;
}

.sidenav a:hover {
  color: #f1f2f1;
}
/*COMPLEMENTO DE SIDE BAR PARA AGREGAR ITEMS AL LADO*/
.main {
  margin-left: 220px; /* Same as the width of the sidenav */
  font-size: 20px; /* Increased text to enable scrolling */
  padding: 0px 10px;
}

/*CUERPO DE PAGINA PRINCIPAL*/
nav {
    background-color: white;
}


/* ADJUNTAR ARCHIVO */
.drop-zone {
    border: 3px dashed #bbb;
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.drop-zone.dragover {
    background-color: #e0f7fa;
    border-color: #26c6da;
}
.file-input {
    position: absolute;
    left: -9999px;
    /* o */
    opacity: 0;
    width: 0;
    height: 0;
}

.progress {
    height: 25px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}
.progress-bar {
    background-color: #4caf50;
    line-height: 25px;
    color: white;
    text-align: center;
}

/*DISPLAY DE BARRA DE INICIO*/
.navbar {
    background: linear-gradient(135deg, #1F2937, #357ab8);
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-menu li a {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.navbar-menu li a i {
    font-size: 16px;
    margin-right: 10px;
}

.navbar-menu li a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.navbar-account a {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.navbar-account a i {
    font-size: 18px;
    margin-right: 8px;
}

.navbar-account a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.navbar-toggle.btn {
    display: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}
/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
    }

    .navbar-toggle.btn{
        display: block;
        justify-content: flex-end;
    }

    .navbar-menu {
        flex-direction: column;
        width: 100%;
        display: none; /* oculto por defecto */
        margin-top: 10px;
    }

    .navbar-menu.show {
        display: block; /* mostrar cuando se active */
    }
    .navbar-container {
        position:relative;
        margin-right: -5px;;
    }

}
