@import "estilos.css";

.bg_public {
    background: linear-gradient(#fdfdfd 50%, #ffffff 50%);
    height: 100vh; /* Ajusta la altura al tamaño de la ventana */
}
.fondo_Login {
    background: rgba(255, 255, 255, 0.726);
    /* sombre */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Añade sombra */
}
.brand-link {
    text-decoration: none !important; /* Quita el subrayado del enlace */
}

.brand-link .brand-text {
    text-decoration: none !important; /* Asegura que el texto no tenga subrayado */
}
/* stiker */
.sticker-nueva-publicacion {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff3e3e; /* Color rojo llamativo */
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.btn-close {
    background-color: red !important; /* Color de fondo rojo */
    border-radius: 50% !important;
    width: 30px !important; /* Tamaño del botón */
    height: 30px !important; /* Tamaño del botón */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important; /* Elimina el borde predeterminado */
}

.btn-close:hover {
    background-color: darkred !important; /* Color de fondo cuando el ratón pasa por encima */
}
/* BASE DE DATOS NAV */
.nav-pills .nav-link.active {
    background-color: var(--color-secundario);
    color: white;
}

.card {
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.card-body button {
    margin: 5px;
}
.sombra {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sombra:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

/* MENU MAPA */
.tree ul {
    list-style: none;
    padding-left: 20px;
    position: relative;
}

.tree ul::before {
    content: "";
    border-left: 2px solid #b80f0f;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
}

.tree li {
    margin: 0;
    padding: 10px 5px;
    position: relative;
}

.tree li::before {
    content: "";
    border-top: 2px solid #b80f0f;
    position: absolute;
    top: 20px;
    left: -20px;
    width: 20px;
}

.tree li span {
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.tree .nested {
    display: none;
}

.tree .active {
    display: block;
}

.tree a {
    color: #007bff;
    text-decoration: none;
}

.tree a:hover {
    text-decoration: underline;
}


/* activi */
/* Estilos para los badges personalizados */
.badge-activo {
    background-color: #28a745 !important;
    color: rgb(255, 255, 255) !important;
    padding: 2px 5px !important;
    border-radius: 12px !important;
    font-weight: bold !important;
}

.badge-inactivo {
    background-color: #dc3545 !important;
    color: rgb(255, 255, 255) !important;
    padding: 2px 5px !important;
    border-radius: 12px !important;
    font-weight: bold !important;
}

/* CHECK MODULO SEMESTRE */
.semestre-item{
    display:flex;
    align-items:center;
    gap:12px;
    background:#fff;
    border:1px solid #dee2e6;
    border-radius:12px;
    padding:12px 14px;
    cursor:pointer;
    transition:.2s ease;
    margin-bottom:0;
}

.semestre-item:hover{
    border-color:#0d6efd;
    box-shadow:0 .25rem .75rem rgba(0,0,0,.08);
}

.semestre-check{
    width:1.3rem;
    height:1.3rem;
    margin:0;
    flex-shrink:0;
}

.semestre-label{
    font-size:.9rem;
    font-weight:600;
    color:#374151;
    line-height:1.2;
    margin-left:25px;
}