﻿html, body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    background-color: rgb(15, 30, 50) !important;
    font-family: 'Calibri', sans-serif !important;
    color: white !important;
}


.page {
    display: flex;
    min-height: calc(100vh - 60px);  
    box-sizing: border-box;
}

.sidebar {
    width: 250px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05) !important;  
    padding-top: 20px;
    color: white !important;
    background-image: none !important;
    box-shadow: none !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important; 
    border-radius: 10px 0 0 10px !important;
    margin-top: 10px;
    overflow: hidden !important;
}

.top-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;  
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-radius: 0 0 10px 10px;
    padding: 0 20px;
    box-sizing: border-box;
}


.fecha-hoy {
    position: relative; 
    z-index: 1;  
    font-size: 30pt;
    font-weight: 300;
    color: lightgray;
    text-transform: capitalize;
    white-space: nowrap;
    pointer-events: none;
}

.btn-logout {
    position: relative;
    right: 20px;
    top: 30%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #0d6efd; /* 🔵 Azul Bootstrap o similar */
    font-weight: normal;
    font-size: 14pt;
    cursor: pointer;
    text-decoration: underline;
}


    .btn-logout:hover {
        color: #0056b3;
        text-decoration: underline;
    }


.btn-home {
    position: relative;
    left: 20px;  
    top: 50%;  
    transform: translateY(-50%);
    background: none;
    border: none;
    color: lightblue;
    font-size: 22pt;
    cursor: pointer;
}

    .btn-home:hover {
        color: white;
    }



.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: transparent !important;
}

.nav-group {
    margin-bottom: 15px;
}

.nav-group-header {
    font-size: 16pt;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.nav-subitem {
    margin-left: 20px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Cuando está abierto */
.expandido {
    max-height: 500px; /* Suficiente para el contenido */
    opacity: 1;
}

/* Cuando está cerrado */
.colapsado {
    max-height: 0;
    opacity: 0;
}

/* Los links internos */
.nav-subitem .nav-link {
    color: lightgray;
    font-size: 14pt;
    padding: 5px 0;
}

.nav-subitem .nav-link:hover {
     color: white;
}

.nav-group-header i {
    margin-right: 8px;
    font-size: 20px;
    vertical-align: middle;
}


body {
    background-color: rgb(15, 30, 50);
    font-family: 'Calibri', sans-serif;
    color: white;
}
