﻿#ContenidoMenu {
    background: linear-gradient(90deg, #0f8f5b 0%, #0a6d98 100%);
    color: #fefefe;
    padding: 20px;
}

#EncabezadoMenu {
    background: linear-gradient(180deg, #0c7a52 0%, #0a5f8f 100%);
    color: #ffffff;
    padding: 10px;
    border-bottom: 2px solid #0a5f8f;
}

#MenuAttached {
    background: linear-gradient(90deg, #0b965f 0%, #0a75a8 100%);
    color: #ffffff;
    padding: 6px 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 12px;
}

#MenuAttached.main-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(7, 62, 92, 0.35);
    backdrop-filter: blur(8px);
}

#itemMenu {
    flex: 1;
    text-align: center;
    margin: 0 5px;
    padding: 4px 8px;
    background-color: rgba(255, 255, 255, 0.92);
    color: #10465c;
    text-transform: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    border: 1px solid #1e7f98;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 12px;
}

#itemMenu.brand-strip {
    border-radius: 12px;
    border: 1px solid rgba(19, 112, 147, 0.35);
    box-shadow: 0 8px 20px rgba(10, 95, 143, 0.16);
    gap: 8px;
    min-height: 64px;
}

#itemMenu .header.item {
    padding-top: 8px;
    padding-bottom: 8px;
}

#itemMenu h4,
#itemMenu h5 {
    margin: 0;
    color: #0a4b69;
}

#itemMenu h4 {
    font-size: 1rem;
}

#itemMenu h5 {
    font-size: 0.82rem;
    color: #14617f;
    font-weight: 600;
}

#itemMenu .header.item {
    white-space: normal;
    line-height: 1.25;
}

#Footer {
    background: linear-gradient(90deg, #0a5f8f 0%, #0b7f57 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.uttec-button {
    background-color: #0f8f5b !important;
    color: #ffffff !important;
    font-size: 0.75rem;
    padding: 4px 8px !important;
    border-radius: 0.375rem;
    border: 1px solid #0a6d98;
    transition: background-color 0.2s ease;
}

    .uttec-button:hover {
        background-color: #0a6d98 !important;
    }

#CuerpoMenu {
    background: linear-gradient(180deg, rgba(8, 73, 108, 0.45) 0%, rgba(16, 124, 88, 0.08) 100%);
    color: #fefefe;
    padding: 20px;
}

.site-background {
    background: radial-gradient(circle at 0% 0%, #d9efe3 0%, transparent 35%), radial-gradient(circle at 100% 0%, #d9eaf6 0%, transparent 35%), linear-gradient(180deg, #eef8f3 0%, #ebf4fa 100%);
}

.quick-access {
    background: transparent;
    margin-top: 6px;
}

.content-shell {
    padding: 18px 14px 28px;
}

.main-content-panel {
    background: #ffffff;
    border: 1px solid #d3e7df;
    border-top: 6px solid #0f8f5b;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 12px 32px rgba(14, 79, 106, 0.12);
}

.pusher {
    display: flex;
    flex-direction: column;
    min-height: 60vh;
    flex: 1;
}

@media screen and (max-width: 767px) {

    #nombreUni {
        display: none; /* Ocultar los elementos del menú en dispositivos móviles */
    }
}

i.inverted.bordered.icon, i.inverted.circular.icon {
    background-color: #0f8f5b !important;
    color: #FFFFFF !important;
}

.alert {
    color: green;
}

.ui.header {
    border: none;
    margin: calc(2rem - 0.14285714em) 0em 1rem;
    padding: 0em 0em;
    font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 1.28571429em;
    text-transform: none;
    color: #0a5f8f;
}

#EncabezadoMenu .title,
#EncabezadoMenu .item,
#EncabezadoMenu a.item {
    color: #d9f4e8 !important;
}

#EncabezadoMenu .title,
#EncabezadoMenu .content .item,
#EncabezadoMenu a.item {
    font-size: clamp(0.82rem, 0.35vw + 0.74rem, 0.98rem);
    line-height: 1.35;
}

#EncabezadoMenu .active.item {
    background: linear-gradient(90deg, rgba(12, 151, 98, 0.5), rgba(10, 106, 152, 0.5)) !important;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.04em;
}

#EncabezadoMenu .title {
    border-radius: 8px;
    margin-bottom: 6px;
    padding: 10px !important;
}

#EncabezadoMenu .title:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

#EncabezadoMenu .content .item {
    border-left: 3px solid transparent;
    border-radius: 6px;
    margin: 3px 0;
}

#EncabezadoMenu .content .item:hover {
    border-left-color: #23c48a;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

#EncabezadoMenu a.item:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

#MenuAttached .ui.button {
    background: linear-gradient(90deg, #0a75a8 0%, #0f8f5b 100%);
    color: #ffffff;
    border-radius: 999px;
    border: none;
    box-shadow: 0 6px 14px rgba(10, 95, 143, 0.3);
}

#MenuAttached .ui.button:hover {
    background: linear-gradient(90deg, #0f8f5b 0%, #0a75a8 100%);
}

#MenuAttached .ui.negative.button {
    background: linear-gradient(90deg, #0f8f5b 0%, #0a6d98 100%);
    color: #ffffff;
}

#MenuAttached .ui.negative.button:hover {
    background: linear-gradient(90deg, #0a6d98 0%, #0f8f5b 100%);
}

#MenuAttached .header.item h4,
#MenuAttached .header.item h5 {
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

#MenuAttached .header.item h4 {
    font-size: clamp(0.9rem, 0.55vw + 0.72rem, 1.15rem);
}

#MenuAttached .header.item h5 {
    font-size: clamp(0.74rem, 0.38vw + 0.62rem, 0.95rem);
}

#MenuAttached .ui.button,
#MenuAttached .ui.negative.button,
.ui.secondary.menu .toc.item .uttec-button {
    font-size: clamp(0.78rem, 0.25vw + 0.72rem, 0.9rem);
    font-weight: 600;
}

#MenuAttached,
#itemMenu,
#EncabezadoMenu .title,
#EncabezadoMenu .content .item,
#MenuAttached .ui.button,
#MenuAttached .ui.negative.button,
.ui.secondary.menu .toc.item .uttec-button {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ui.secondary.menu .toc.item .uttec-button {
    border-radius: 999px;
    padding: 6px 12px !important;
    box-shadow: 0 5px 12px rgba(11, 127, 87, 0.24);
}

@media (max-width: 900px) {
    #itemMenu.brand-strip {
        gap: 2px;
        min-height: auto;
        padding: 8px 10px;
    }

    #itemMenu h4 {
        font-size: 0.88rem;
    }

    #itemMenu h5 {
        font-size: 0.74rem;
    }

    .main-content-panel {
        padding: 14px;
        border-radius: 10px;
    }

    #MenuAttached .header.item {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }
}

@media (max-width: 700px) {
    #MenuAttached.main-topbar {
        padding: 8px 8px;
    }

    #itemMenu {
        margin: 0;
    }

    #itemMenu .header.item img.ui.tiny.image,
    #itemMenu .header.item img.logo {
        height: 28px !important;
        width: auto;
    }

    #MenuAttached .right.menu .item {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    #MenuAttached .ui.button,
    #MenuAttached .ui.negative.button {
        padding: 0.55em 0.9em;
    }
}

.vista-imagen-container {
    margin-top: 0.5rem;
}

.vista-imagen-header {
    border: 1px solid #d4e7de !important;
    border-left: 6px solid #0f8f5b !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, #f7fcf9 0%, #f3f9fd 100%) !important;
}

.vista-imagen-title {
    margin: 0 !important;
    color: #0a5f8f !important;
}

.vista-imagen-title .icon {
    color: #0f8f5b !important;
}

.vista-imagen-actions .ui.button {
    border-radius: 999px !important;
}

.vista-imagen-card {
    border: 1px solid #d5e8e0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(14, 79, 106, 0.1) !important;
    background: #ffffff !important;
    padding: 16px !important;
}

.vista-imagen-frame {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #d2e5ef;
    background: linear-gradient(180deg, #f8fcff 0%, #f2faf5 100%);
    padding: 10px;
}

.vista-imagen-principal {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(7, 62, 92, 0.16);
}

.vista-imagen-empty {
    border: 1px solid #cde3d7 !important;
    border-left: 6px solid #0a75a8 !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, #f7fcf9 0%, #f3f8fc 100%) !important;
    color: #0f5b74 !important;
}

@media (max-width: 900px) {
    .vista-imagen-header {
        padding: 0.9rem !important;
    }

    .vista-imagen-actions {
        margin-top: 0.75rem;
        float: left !important;
        width: 100%;
    }

    .vista-imagen-actions .ui.button {
        margin-bottom: 0.4rem;
    }
}
