.btn-buscar {
    background-color: #00aaff;
    color: white;
    border-radius: 8px;
    padding: 10px 25px;
    border: none;
}

.btn-buscar:hover {
    background-color: #0091d9;
}

.bdy-container {
    max-width: 1360px;
    margin: 0 auto;
    /*background-color: lightgray;*/
    background-image: url(../img/pattern-20.png);
}

.bg-cuerpo {
    background-color: #f4f4f4;
}

.card {
    background-color: #ffffff;
}
.banner-span{
    font-size: 0.65rem;
    line-height: 1.1;
    display: inline-block;
}
.interlineado-1-1 p{
    line-height: 1.1 !important;
}
.placeholder-text {
    color: #adb5bd !important;
}
.card-title {
    line-height: 1.1 !important;
}

.descripcion-curso-container {
    max-height: 295px;
    overflow-y: auto;
    text-align: justify;
    /*border: 1px solid #000000;*/
}

/*#descripcion-curso + p {/*Se aplica al párrafo que está inmediatamente del párrafo con id descripcion-curso
    max-height: 295px;
    overflow-y: auto;
    text-align: justify;
    border: 1px solid #000000;
}*/
.nav-tabs .nav-link.active {
    border: none;
    border-bottom: 3px solid #c89b3c;
    color: #0c2340;
    font-weight: 700;
    background-color: transparent;
}

.nav-tabs .nav-link {
    color: #0c2340;
    font-weight: 600;
    border: none;
}

.nav-tabs .nav-link:hover {
    color: #b68c32;
}

.tab-content {
    margin-top: 1.5rem;
    color: #0c2340;
}

.semblanza-container {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
    color: #0c2340;
}

.semblanza-container img {
    width: 180px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.semblanza-nombre {
    font-weight: 700;
    color: #0c2340;
}

.semblanza-texto {
    text-align: justify;
    line-height: 1.6;
}
.nowarp {
    white-space: nowrap;
}

/*Estilos para el chatbot*/
#telegram-fab{
    position:fixed;
    bottom: 25px;
    left: 75px;
    width: 100px;
    height: 100px;
    background: #0088cc;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#telegram-fab:hover {
    transform: scale(1.1);
}

#telegram-fab img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
/* Modal*/
#telegram-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 9999;
    padding: 20px;
}
.tg-hidden{
    display: none !important;
}

/*Caja de texto del chatbot*/
.tg-box{
    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    animation: tgSlide 0.25s ease;
}
/*Animación para que la caja de texto del chatbot aparezca desde abajo*/
@keyframes tgSlide {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.tg-header{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.tg-avatar{
    width: 42px;
    height: 42px;
    border-radius: 50%;
}
.tg-text{
    font-size: 0.9rem;
    color: #444;
}
.tg-btn{
    display: block;
    background: #0088cc;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px;
}
.tg-btn:hover{
    background: #0a6ea8;
}
.tg-close{
    float: right;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}
@media (max-width: 576px) {
    .tg-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .semblanza-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .semblanza-container img {
        width: 150px;
    }
}
@media (max-width:1024px) {
    .small{
        font-size: 0.65rem;
    }
}