@charset "utf-8";

/* CSS Document */

:root {
    --icon-color-custom: #34495e;
    --icon-color-bg-custom: #222c36;
    /* --icon-color-custom: #64656a;
    --icon-color-bg-custom: #343536; */
    --color-principal: #00366c;
    --color-secundario: #4a90e2;
    --color-acento: #ff7e5f;
    --color-exito: #00c853;
    --color-advertencia: #ff9800;
    --color-error: #f44336;
    --color-info: #2196f3;
    --color-fondo: #ffffff;
    --color-texto: #2c3e50;
    --color-neutro: #006b66;
    --color-sombra: rgba(0, 54, 108, 0.1);
}


/* :root {
    --color-principal: #00366c;
    --color-secundario: #4a90e2;
    --color-acento: #ff7e5f;
    --color-exito: #00c853;
    --color-advertencia: #ff9800;
    --color-error: #f44336;
    --color-info: #2196f3;
    --color-fondo: #ffffff;
    --color-texto: #2c3e50;
    --color-sombra: rgba(0, 54, 108, 0.1);
} */

@font-face {
    font-family: "soberanaSansRegular";
    src: url("estilos/soberanasansregular.otf") format("opentype");
}

@font-face {
    font-family: "soberanaSansLight";
    src: url("estilos/soberanasanslight.otf") format("opentype");
}

#banner__760 {
    width: 591px;
    height: 120px;
    margin: -6.2em 5em 0 5em;
    position: relative;
    background: url(images/banner/header760.png) no-repeat;
}

.tecnm__img,
.innovatec__img {
    max-height: 80px;
    height: auto;
    margin-bottom: 2px;
    margin-top: 2px;
}

.educacion__img {
    max-height: 75px;
    height: auto;
    margin-bottom: 5px;
    margin-top: 5px;
}

#franjaGris,
#franjaGrisLogin {
    background: #64656a;
    color: #FFF;
    font-family: "soberanaSansRegular";
    font-size: 13px;
    text-align: left;
    width: 100%;
    height: auto;
    min-height: 35px;
    max-height: 80px;
    padding: 6px 0px 0px 8px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    text-shadow: 1px 1px 2px black;
}

.right-group {
    display: none;
    align-items: center;
    gap: 15px;
    font-size: 1em;
    /* espacio entre texto e ícono */
}

@media (min-width: 768px) {
    .right-group {
        display: inline-flex;
    }
}

#pie {
    float: left;
    /* border-top: 1px solid #999999; */
    border-bottom: 1px solid #999999;
    border-left: 1px solid #999999;
    border-right: 1px solid #999999;
    background: #f1f1f1;
    height: 86px;
    width: 100%;
    font-size: 12px;
    color: #000;
    font-family: "soberanaSansRegular";
    font-weight: 100;
    text-align: center;
}

#pie a {
    text-decoration: none;
    color: #000;
}

#pie a:active {
    text-decoration: none;
    color: #000;
}

#pie a:link {
    text-decoration: none;
    color: #000;
}

#pie a:hover {
    text-decoration: underline;
    color: #000;
}

.login {
    border: 1px solid rgb(170, 170, 170);
    background: #f9f9f9;
    color: #FFF;
    padding: 1.20em 3.5em 1.20em 3.5em;
    margin: 0em 0.25em 0em 0.25em;
    border-radius: 10px;
}

.login label {
    /* color: #FFF !important; */
    margin: 0;
}

#alineaboton {
    align-content: center !important;
}

#vinieta2 {
    margin: 0px;
    font-size: 1em;
    font-family: "soberanaSansLight";
    font-weight: normal;
    list-style-image: url(images/vinietas/6001.jpg);
    text-align: left;
}

#vinieta2 a {
    text-decoration: none;
    color: #000;
}

#vinieta2 a:hover {
    text-decoration: none;
    color: #000000;
    text-shadow: 1px 1px 1px rgb(179, 178, 178);
    /* text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1); */
}

#vinieta3 {
    margin-bottom: 3px;
    margin-left: 25px;
    font-family: "soberanaSansRegular";
    font-size: 1em;
    font-weight: 100;
    list-style-image: url(images/vinietas/2.png);
    text-align: left;
}

#vinieta3 a {
    text-decoration: none;
    color: #000;
}

#vinieta3 a:hover {
    text-decoration: none;
    color: #000;
    text-shadow: 1px 1px 1px rgb(179, 178, 178);
    /* text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1); */
}

#ficha {
    width: 100%;
    border: 1.5px solid #ddd;
    background: #fff;
    padding: 0px 25px 12px 25px;
    margin: 12px 0px 12px 0px;
    height: auto;
    border-radius: 10px 10px 10px 10px;
}

#ficha:hover {
    border: 1.5px solid #8f8f8f;
    background-color: #fafafa;
}

#fichaMsg {
    width: 100%;
    border: 1px solid #64656a;
    /* background: #a5273f; */
    background: #64656a;
    color: #FFF;
    padding: 12px 10px 12px 10px;
    margin: 12px 0px 12px 0px;
    height: auto;
    border-radius: 5px 5px 5px 5px;
}

#fichaMsg .iconos {
    color: #FFF !important;
}

#menuOpciones {
    /* border-left: solid 4px #062e6c; */
    border-left: solid 4px #00366c;
    padding-left: 8px;
    height: 100%;
}

.tabla_inno {
    /* background-color: #062e6c; */
    background-color: #00366c;
    color: #FFF;
}


/*botones*/

button {
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
    background-color: var(--icon-color-custom);
    border: 0px;
    color: #fff;
    padding: 10px 25px 10px 0px;
    border-radius: 25px !important;
    text-decoration: none;
    font-family: "soberanaSansRegular";
    font-size: 1.45em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-left: 10px !important;
    margin-top: 5px;
}

button .icon {
    background-color: #fff;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 0px;
    padding: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button .icon i {
    color: var(--icon-color-custom);
    font-size: 24px;
    margin-top: 3px;
}

button:hover {
    background-color: var(--icon-color-bg-custom);
}

button:hover i {
    color: var(--icon-color-bg-custom);
    animation: beatFade 0.8s infinite;
}

.iconboton {
    /* color: #062e6c; */
    color: #00366c;
    font-size: 1.4em;
    margin-right: 10px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.1);
}

#margen__botones .iconboton:hover {
    color: #000000;
}

#margenes {
    margin: 1.5em 0em 1.5em 0em;
}

#margenes_checkbox {
    margin: 1.5em 0em 1.5em 0em;
}

@media screen and (min-width: 1200px) {
    #margenes {
        margin: 2em 2em 2em 2em !important;
    }
    #margenes_checkbox {
        margin: 0.5em 2em 0.5em 2em !important;
    }
}

#margen__botones {
    width: 100%;
    margin: 0.25em 0em 1.25em 0em;
    display: flex;
    align-items: center;
    justify-content: right;
}

#margen__botones button {
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.625;
    /* letter-spacing: 0.6px; */
    /* transition: background-color 0.3s, box-shadow 0.3s; */
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: -3px 3px 0px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3);
}

#margen__botones button:hover {
    box-shadow: -3px 3px 0px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.8);
}

#margen__subtitulo {
    margin: 0.25em 0em 0.25em 0em;
    font-size: 1em;
    text-shadow: 1px 1px 1px rgb(220, 220, 220);
}

.sombra {
    font-size: 1em;
    text-shadow: 1px 1px 1px rgb(179, 178, 178);
}

@media screen and (max-width: 480px) {
    button {
        /* width: 80% !important; */
        font-size: 1.15em !important;
        padding: -3px 3px 0px !important;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.3px !important;
    }
    #margen__botones {
        justify-content: center !important;
    }
    #ficha {
        padding: 0px 10px 12px 10px !important;
    }
    .login {
        padding: 1.20em 1.5em 1.20em 1.5em !important;
    }
}

.blue {
    color: #00366c;
}

.red {
    color: #a22544 !important;
}

.gray {
    color: #cfcfcf !important;
}

.alert {
    width: 100% !important;
}

.iconSubtitulo {
    font-size: 1.5em;
    color: #00366c;
}

.textSubtitulo {
    font-size: 1em;
    padding-bottom: 4px;
}

.dangerColor {
    color: red;
    font-size: x-large;
    position: absolute;
    margin-left: 3px;
}

.limiteTexto {
    color: red;
    font-size: medium;
    position: relative;
    margin-left: 3px;
    margin-top: 2px;
}

select.ui-datepicker-month,
select.ui-datepicker-year {
    width: 65% !important;
}

.form-check .form-check-input {
    float: none !important;
    margin-right: 5px;
    margin-top: -5px;
    /* border: 2px solid #062e6c; */
    border: 2px solid #00366c;
}

.form-check-input:checked {
    /* background-color: #062e6c !important;
    border-color: #062e6c !important; */
    background-color: #00366c !important;
    border-color: #00366c !important;
}

.form-check-input {
    width: 1.35em !important;
    height: 1.35em !important;
    vertical-align: middle !important;
}

.form-check {
    /* padding-left: 0em !important; */
}

.table-light {
    --bs-table-bg: #64656a !important;
    color: #fff !important;
}

.iconMenu {
    /* color: #062e6c; */
    color: #00366c;
    font-size: 7em;
    margin-right: 0.1em;
    /* text-shadow: 5px 5px 1px #bcbdbf; */
    /* text-shadow: 4px 4px 1px #9d9b9b; */
    text-shadow: 4px 4px 1px rgba(50, 60, 80, 0.3);
    animation: floatAnimationMainIcon 4s ease-in-out infinite;
}

.iconos {
    /* color: #062e6c; */
    color: #00366c;
    text-shadow: 1px 1px 1px #c2c1c1;
    font-size: 1.7em;
    margin-right: 5px;
}

.iconos:hover {
    color: #ffc107;
    text-shadow: 1px 1px 1px #704004;
    font-size: 1.7em;
    margin-right: 5px;
}

.iconoHelp {
    color: #00366c;
    /* text-shadow: 1px 1px 1px #c2c1c1; */
    font-size: 1.3em;
    margin-right: 0px;
    padding-bottom: 0px;
}

.icono__documento {
    /* color: #062e6c; */
    color: #00366c;
    font-size: 2.5em;
    margin-right: 5px;
}

.icono__ok {
    /* color: #062e6c; */
    color: #00366c;
    font-size: 1.5em;
}

.iconLogin {
    color: #ffc229;
    margin-bottom: 6px !important;
}

.verde {
    color: darkgreen;
}

.blanco {
    color: white;
}

.amarillo {
    color: #e6af25;
}

.burger {
    color: #ffffff !important;
    font-size: 1.4em !important;
    width: 2em !important;
}

.burger:hover {
    color: #e6af25 !important;
}

.table-responsive {
    margin-top: 8px !important;
}

.form-select {
    font-family: sans-serif !important;
}

[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}

[data-title]:after {
    content: attr(data-title);
    background-color: #333;
    color: #fff;
    font-size: 14px;
    font-family: Raleway;
    position: absolute;
    padding: 3px 20px;
    bottom: -0.6em;
    right: 100%;
    width: 200px;
    max-width: 250px !important;
    /* Define un ancho máximo para el tooltip */
    white-space: normal;
    /* Permite que el texto se envuelva en varias líneas */
    box-shadow: 1px 1px 3px #222222;
    opacity: 0;
    border: 1px solid #111111;
    z-index: 99999;
    visibility: hidden;
    border-radius: 6px;
    word-wrap: break-word;
    /* Opcional: asegura que las palabras largas se rompan */
}

[data-title] {
    position: relative;
}


/* Mensajes */

.mensaje {
    border: 1px solid #999999 !important;
    border-radius: 10px;
    background-color: #f4f4f4;
}


/* Estilos para el spinner */

.fullscreen-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
    /* Asegura que esté por encima de todo */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ffffff;
    border-top: 6px solid #00366c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.right-group .ico {
    color: #FFF !important;
    font-size: 1.35em;
    margin-top: 5px;
}


/*Diseño mensajes*/

.message-example {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border-left: 3px solid;
    border-bottom: 3px solid;
    border-right: 3px solid;
}

.message-header {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
}

.message-icon {
    margin-right: 12px;
    font-size: 1.6rem;
}

.message-content {
    padding: 20px;
    line-height: 1.7;
}


/*Hola*/

input[type="file"]::file-selector-button {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #2c3e50, #4a6572);
    color: white;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

input[type="file"]::file-selector-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

input[type="file"]::file-selector-button:hover::before {
    left: 100%;
}

input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #1a252f, #34495e);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.statusRegistro {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.30em;
    color: #fff;
    font-family: 'arial' !important;
    background: linear-gradient(135deg, var(--color-exito), #2e7d32);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.iconoRecuadro {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #fff;
    font-family: 'arial' !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.icono-neutro {
    background: linear-gradient(135deg, var(--color-principal), #002349);
    /* background: #00366c; */
}

.icono-status {
    background: linear-gradient(135deg, var(--color-exito), #2e7d32);
}

.icono-bloqueado {
    background: linear-gradient(135deg, var(--color-error), #d32f2f);
}

.icono-disponible {
    background: linear-gradient(135deg, var(--color-exito), #2e7d32);
}

.icono-finalizado {
    background: linear-gradient(135deg, var(--color-principal), #002349);
}

.icono-editar {
    background: linear-gradient(135deg, var(--color-advertencia), #ef6c00);
}

.icono-consulta {
    background: linear-gradient(135deg, var(--color-info), #1565c0);
}

.icono-neutro:hover {
    background: #e6af25;
    text-shadow: 1px 1px 1px #704004;
}

.icono-bloqueado:hover {
    /* background: linear-gradient(135deg, var(--color-error), #d32f2f); */
    cursor: auto;
}


/*Icono*/


/* Opción 1: Icono con pulso sutil */

.file-icon-animated-float {
    color: #00407e;
    padding: 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    animation: floatAnimation 4s ease-in-out infinite;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

@keyframes floatAnimation {
    0%,
    100% {
        transform: translateY(5px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }
    50% {
        transform: translateY(-13px);
        box-shadow: 0 8px 15px rgba(151, 196, 244, 0.18);
    }
}

@keyframes floatAnimationMainIcon {
    0%,
    100% {
        transform: translateY(3px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.file-icon-animated-float:hover {
    animation-play-state: paused;
    background: linear-gradient(135deg, #ffffff 0%, #ffeaea 100%);
}


/* Fichas de autores */

.person-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e1e1;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.person-header {
    background-color: var(--color-principal);
    color: white;
    padding: 20px;
    position: relative;
}

.person-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.person-career {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.person-body {
    padding: 20px;
}

.info-row {
    display: flex;
    margin-bottom: 5px;
    align-items: flex-start;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    width: 110px;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    word-break: break-word;
}

@media (max-width: 768px) {
    .person-name {
        font-size: 0.9rem;
    }
    .info-row {
        flex-direction: column;
        margin-bottom: 12px;
    }
    .info-label {
        width: 100%;
        margin-bottom: 3px;
    }
}