/*Fuentes oficiales*/
@font-face { font-family: SoberanaTitular;
    src: url(../fonts/SoberanaTitular-Regular.otf);
    font-weight: normal;}
@font-face { font-family: SoberanaTitularBold;
    src: url(../fonts/SoberanaTitular-Bold.otf);
    font-weight: normal;}
@font-face { font-family: SoberanaSans;
    src: url(../fonts/SoberanaSans-Regular.otf);
    font-weight: normal;}
@font-face { font-family: SoberanaSansItalic; src: url(../fonts/SoberanaSans-Italic.otf);
    font-weight: normal;}
@font-face { font-family: SoberanaSansBold;
    src: url(../fonts/SoberanaSans-Bold.otf);
    font-weight: normal ; }
/*Barra de navegacion(layouts)*/
.navbar-default.tecnm-navbar
{
min-height: 40px;
background-color: #fafafa;
background-image: -moz-linear-gradient(top, #fff, #f2f2f2);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f2f2f2));
background-image: -webkit-linear-gradient(top, #fff, #f2f2f2);
background-image: -o-linear-gradient(top, #fff, #f2f2f2);
background-image: linear-gradient(to bottom, #fff, #f2f2f2);
background-repeat: repeat-x;
border: 1px solid #d4d4d4;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
box-shadow: 0 1px 4px rgba(0,0,0,0.065);
font-family: SoberanaTitularBold;
font-size: 0.9em;
}

.navbar .nav>li>a {
float: none;
padding: 11px 15px 10px;
color: #777;
text-decoration: none;
text-shadow: 0 1px 0 #fff;
}

/*Encabezado*/



.header .logo-sep {
float: left;
width: 300px;
height: 100px;
background: url(../images/logos/logosep.jpg) 0 0 no-repeat;
background-size: 290px;
margin-top: 5px;
}

.header .titulos-enc {
display: inline;
position: absolute;
top: 25px;
right: 210px;
text-align: center;
}

.header .titulos-enc > p:first-child {
font-size: 2em;
font-weight: bold;
font-family: "SoberanaSans";
color: #666;
}

.header .titulos-enc > p:last-child {
font-size: 1.4em;
font-weight: bold;
font-family: "SoberanaSans";
color: #666;
}

.header .logo-itvh {
float: right;
width: 55px;
height: 75px;
background-size: 50px;
margin-top: 15px;
}

/* Modern Header */
.modern-header {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
height: 90px;
position: relative;
overflow: hidden;
margin-top: 5px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.header-content {
display: flex;
align-items: center;
height: 100%;
padding: 0 30px;
position: relative;
z-index: 2;
}

.logo-box {
width: 60px;
height: 60px;
perspective: 600px;
}

.cube {
width: 100%;
height: 100%;
position: relative;
transform-style: preserve-3d;
animation: rotate 20s infinite linear;
}

.cube div {
position: absolute;
width: 60px;
height: 60px;
background: rgba(255,255,255,0.1);
border: 2px solid rgba(255,255,255,0.3);
backdrop-filter: blur(5px);
}

.front  { transform: rotateY(0deg) translateZ(30px); }
.back   { transform: rotateY(180deg) translateZ(30px); }
.right  { transform: rotateY(90deg) translateZ(30px); }
.left   { transform: rotateY(-90deg) translateZ(30px); }
.top    { transform: rotateX(90deg) translateZ(30px); }
.bottom { transform: rotateX(-90deg) translateZ(30px); }

.title-box {
margin-left: 30px;
color: white;
}

.title-box h1 {
font-family: SoberanaSansBold;
font-size: 32px;
margin: 0;
background: linear-gradient(45deg, #fff, #70a1ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 2px 10px rgba(255,255,255,0.1);
}

.animated-text {
font-family: SoberanaSans;
font-size: 16px;
opacity: 0.9;
margin-top: 5px;
animation: slideText 15s linear infinite;
}

.header-decoration {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, 
transparent 48%, 
rgba(255,255,255,0.1) 50%, 
transparent 52%);
background-size: 30px 30px;
animation: moveStripes 20s linear infinite;
}

@keyframes rotate {
from { transform: rotateX(0) rotateY(0); }
to { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes slideText {
0%, 33% { opacity: 1; }
34%, 66% { opacity: 0.7; }
67%, 100% { opacity: 0.9; }
}

@keyframes moveStripes {
from { background-position: 0 0; }
to { background-position: 60px 60px; }
}

/* Para asegurar que el header se vea bien en dispositivos móviles */
@media (max-width: 768px) {
.title-box h1 {
font-size: 24px;
}

.animated-text {
font-size: 14px;
}

.logo-box {
width: 50px;
height: 50px;
}
}

/* Modern Header Styles */
.mod-header {
position: relative;
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
padding: 20px 0;
margin-top: 5px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mod-header__container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

.mod-header__left {
display: flex;
align-items: center;
gap: 20px;
}


.mod-header__title h1 {
color: #ffffff;
font-family: SoberanaSansBold;
font-size: 28px;
margin: 0;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mod-header__subtitle {
color: rgba(255,255,255,0.9);
font-family: SoberanaSans;
font-size: 14px;
margin-top: 4px;
}

.mod-header__right {
display: flex;
gap: 30px;
}

.mod-header__stat {
text-align: center;
}

.mod-header__stat-number {
display: block;
color: #ffffff;
font-family: SoberanaSansBold;
font-size: 24px;
}

.mod-header__stat-label {
display: block;
color: rgba(255,255,255,0.9);
font-family: SoberanaSans;
font-size: 12px;
}

.mod-header__background {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, 
transparent 48%, 
rgba(255,255,255,0.1) 50%, 
transparent 52%);
background-size: 30px 30px;
opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.mod-header__container {
flex-direction: column;
text-align: center;
gap: 20px;
}

.mod-header__left {
flex-direction: column;
}

.mod-header__title h1 {
font-size: 24px;
}

.mod-header__right {
gap: 20px;
}
}

/*Pie de pagina*/
.pie-pagina {
background: #f6f3f3;
border-bottom: 5px solid #fff;
padding: 35px 0;
}

.footer .logo-pie-pagina {
width: 201px;
height: 71px;
filter: grayscale(0%);
-webkit-filter: grayscale(0%);

-webkit-transition: filter 0.5s ease-in-out;
-moz-transition: filter 0.5s ease-in-out;
-ms-transition: filter 0.5s ease-in-out;
-o-transition: filter 0.5s ease-in-out;
 transition: filter 0.5s ease-in-out;

-webkit-transition: -webkit-filter 0.5s ease-in-out;
-moz-transition: -webkit-filter 0.5s ease-in-out;
-ms-transition: -webkit-filter 0.5s ease-in-out;
-o-transition: -webkit-filter 0.5s ease-in-out;
 transition: -webkit-filter 0.5s ease-in-out;
}

.footer .logo-pie-pagina:hover {
filter: grayscale(50%);
-webkit-filter: grayscale(50%);
}

/*Secciones*/
/* Login Form Styles */
.well.login-form {
    width: min(90%, 320px);
    max-width: 100%;
    box-sizing: border-box;
    padding: clamp(15px, 4vw, 30px);
    margin: 20px auto;
    background: linear-gradient(145deg, rgba(46, 82, 152, 0.97), rgba(30, 60, 114, 0.97));
    border-radius: clamp(16px, 4vw, 24px);
    box-shadow: 0 25px 50px -12px rgba(30, 60, 114, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.well.login-form h3 {
    color: #ffffff;
    font-size: clamp(22px, 5vw, 28px);
    margin-bottom: 30px;
    text-align: center;
    font-family: SoberanaSansBold;
    position: relative;
    padding-bottom: 15px;
}

.well.login-form h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #70a1ff, #1e3c72);
    border-radius: 3px;
}

.well.login-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.well.login-form .form-control {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    height: clamp(45px, 8vh, 55px);
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 8px 15px;
    font-size: clamp(14px, 3vw, 15px);
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: SoberanaSans;
}

.well.login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.well.login-form .form-control:focus {
    border-color: #70a1ff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(112, 161, 255, 0.2);
}

.well.login-form .btn {
    width: 100%;
    height: clamp(45px, 8vh, 55px);
    background: #ffffff;
    border: none;
    border-radius: clamp(10px, 2vw, 14px);
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 700;
    color: #1e3c72;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    font-family: SoberanaSansBold;
    position: relative;
    overflow: hidden;
}

.well.login-form .btn::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;
}

.well.login-form .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(255, 255, 255, 0.3);
}

.well.login-form .btn:hover::before {
    left: 100%;
}

.well.login-form .btn:active {
    transform: translateY(0);
    background: #e9ecef;
}

.well.login-form .form-footer {
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.well.login-form .form-footer a {
    color: #70a1ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.well.login-form .form-footer a:hover {
    color: #a8c7ff;
    text-decoration: none;
}

@keyframes loginFormAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.well.login-form {
    animation: loginFormAppear 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Responsive Login Adjustments */
@media (max-width: 480px) {
    .well.login-form {
        width: 92%;
        padding: 15px;
        margin: 15px auto;
    }

    .well.login-form .form-control,
    .well.login-form .btn {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .well.login-form .form-group {
        width: 100%;
        margin: 0 0 15px 0;
    }
}

@media (max-width: 320px) {
    .well.login-form {
        width: 94%;
        padding: 12px;
        margin: 10px auto;
    }
}

/* Override any conflicting styles */
.well.login-form * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Responsive Login Adjustments */
@media (max-width: 480px) {
    .well.login-form {
        width: 95%;
        padding: 20px;
        border-radius: 16px;
    }

    .well.login-form h3 {
        font-size: 22px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .well.login-form .form-group {
        margin-bottom: 15px;
    }

    .well.login-form .form-control {
        height: 45px;
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 10px;
    }

    .well.login-form .btn {
        height: 45px;
        font-size: 14px;
        margin-top: 15px;
        border-radius: 10px;
    }

    .well.login-form .form-footer {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .well.login-form {
        width: 100%;
        padding: 15px;
        margin: 10px auto;
    }

    .well.login-form h3 {
        font-size: 20px;
    }

    .well.login-form .form-control,
    .well.login-form .btn {
        height: 40px;
    }
}

@media (max-height: 600px) {
    .well.login-form {
        margin: 10px auto;
    }

    .well.login-form .form-group {
        margin-bottom: 10px;
    }
}

@media (orientation: landscape) and (max-height: 480px) {
    .well.login-form {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }

    .well.login-form h3 {
        width: 100%;
        margin-bottom: 10px;
    }

    .well.login-form .form-group {
        flex: 1;
        min-width: 150px;
        margin-bottom: 0;
    }

    .well.login-form .btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* Responsive Login Adjustments */
@media (max-width: 480px) {
    .well.login-form {
        margin: 30px auto;
    }
    
    .well.login-form .form-group {
        margin-bottom: 15px;
    }
    
    .well.login-form .form-footer {
        margin-top: 20px;
        font-size: 12px;
    }
}

@media (max-height: 600px) {
    .well.login-form {
        margin: 20px auto;
        padding: 20px;
    }
    
    .well.login-form h3 {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .well.login-form .form-group {
        margin-bottom: 12px;
    }
}

@media (hover: none) {
    .well.login-form .btn:hover {
        transform: none;
        box-shadow: none;
    }
}

.scrollup
{
width:60px;
height:60px;
opacity:0.6;
position:fixed;
bottom:50px;
right:100px;
display:none;
text-indent:-9999px;
background: url(../images/up.png) no-repeat;
}
