/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 30/05/2019, 03:59:50 PM
    Author     : sttep
*/

/*GLOBALES*/

/*Colores
Naranja: #e67e22
dark: #222
Azul: #47639e
Azul claro: #03A9F4;


*/

/*Tipografia*/

a, div, p, span, h1, h2, h3, h4, h5, h6, table{
    font-family: 'Poppins', sans-serif;
}

.h1{
    font-size: 7vw;
}
.h2{
    font-size: 6vw;
}
.h3{
    font-size: 5vw;
}
.h4{
    font-size: 4vw;
}
.h5{
    font-size: 3vw;
}
.h6{
    font-size: 2vw;
}

body{
    font-size: 14px;
}

.error{
    color: #e67e22;
}

.pm-blanco{
    color: #FFF;
}
.pm-blanco:hover{
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
}

.pm-footer{
    background: rgb(0,0,0);
background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(20,20,40,1) 35%, rgba(0,5,138,1) 100%);
    padding-top: 50px;
    padding-bottom: 50px;
    color: #FFF;
    text-align: left;
}


section{
    padding-top: 30px;
    padding-bottom: 30px
}

/* NUEVO NAVBAR MODERNO CON GRADIENTE AZUL */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modern-navbar.transparent {
    background: linear-gradient(135deg, 
        rgba(3, 169, 244, 0.15) 0%,     /* Azul claro transparente */
        rgba(71, 99, 158, 0.2) 35%,     /* Azul medio transparente */
        rgba(0, 5, 138, 0.25) 100%);    /* Azul oscuro transparente */
    border-bottom: 1px solid rgba(3, 169, 244, 0.2);
}

.modern-navbar.solid {
    background: linear-gradient(135deg, 
        rgba(3, 169, 244, 0.95) 0%,     /* Azul claro sólido */
        rgba(71, 99, 158, 0.98) 35%,    /* Azul medio sólido */
        rgba(0, 5, 138, 1) 100%);       /* Azul oscuro sólido */
    border-bottom: 1px solid rgba(3, 169, 244, 0.3);
    box-shadow: 0 8px 32px rgba(3, 169, 244, 0.2);
    padding: 10px 0;
}

.modern-navbar .navbar-brand {
    transition: all 0.3s ease;
}

.modern-navbar .navbar-brand img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(3, 169, 244, 0.3));
}

.modern-navbar.solid .navbar-brand img {
    height: 40px;
}

.modern-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modern-navbar .navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(3, 169, 244, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 169, 244, 0.3);
}

.modern-navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(3, 169, 244, 0.3), transparent);
    transition: left 0.5s;
}

.modern-navbar .navbar-nav .nav-link:hover::before {
    left: 100%;
}

.modern-navbar .btn {
    background: linear-gradient(45deg, #03A9F4, #2196F3);
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 169, 244, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modern-navbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 169, 244, 0.4);
    background: linear-gradient(45deg, #0288D1, #03A9F4);
    color: white;
}

.modern-navbar .navbar-toggler {
    border: none;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(3, 169, 244, 0.2);
}

.modern-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(3, 169, 244, 0.25);
}

.modern-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Animación de carga del navbar */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modern-navbar {
    animation: slideDown 0.6s ease-out;
}

/* Efecto de ondas azules en hover */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.modern-navbar .nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(3, 169, 244, 0.6);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.modern-navbar .nav-link:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Responsive */
@media (max-width: 991.98px) {
    .modern-navbar .navbar-collapse {
        background: linear-gradient(135deg, 
            rgba(3, 169, 244, 0.95) 0%, 
            rgba(71, 99, 158, 0.98) 50%, 
            rgba(0, 5, 138, 0.99) 100%);
        border-radius: 15px;
        margin-top: 15px;
        padding: 20px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(3, 169, 244, 0.3);
    }
    
    .modern-navbar .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
    }
}

/* Mantener estilos existentes pero actualizados */
nav{
    background: linear-gradient(135deg, 
        rgba(3, 169, 244, 0.9) 0%, 
        rgba(71, 99, 158, 0.95) 35%, 
        rgba(0, 5, 138, 1) 100%);
}

.pm_menu{
    color: #FFF;
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
}

.pm_menu:hover{
    font-weight: 600;
    color: rgba(3, 169, 244, 0.8);
}

nav > a > img{
    height: 60px;
    width: auto;
}


/*nuevo menu*/

.nav-btn {
    width: 26px;
    height: 30px;
    position: fixed;
    display: block;
    cursor: pointer;
    right: 20px;
    z-index: 999999;
    margin-top: 0px;

}
.nav-btn span, .nav-btn span:before, .nav-btn span:after {
    position: absolute;
    height: 2px;
    width: 26px;
    background-color: #000;
    transition: all 0.2s;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.8);
}
.nav-btn span {
    top: 50%;
}
.nav-btn span:before {
    content: '';
    top: -6px;
}
.nav-btn span:after {
    content: '';
    top: 6px;
}
.nav-btn.open span, .nav-btn.open span:before, .nav-btn.open span:after {
    background-color: #fff;
}
.nav-btn.open span {
    transform: translateX(-5px);
    background-color: #47639e;
}
.nav-btn.open span:before, .nav-btn.open span:after {
    transform-origin: 0 50%;
}
.nav-btn.open span:before {
    transform: translateX(4px) translateY(-3px) rotate(45deg);
}
.nav-btn.open span:after {
    transform: translateX(4px) translateY(3px) rotate(-45deg);
}



/*-----------------------------*/

main nav {
    position: fixed;
    top: 0;
    right: -40%;
    height: 100vh;
    width: 40%;
    background-color: #111;
    transition: all 0.3s;
    z-index: 99999;
}
main nav ul {
    list-style: none;
    position: absolute;
    top: 100px;
    left: 20px;
}
main nav ul li {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 500;
    margin-left: 300px;

    transition: all 0.3s ease-in-out;
}
main nav ul li:first-child {
    transition-delay: 0.1s;
}
main nav ul li:nth-child(2) {
    transition-delay: 0.2s;
}
main nav ul li:nth-child(3) {
    transition-delay: 0.3s;
}
main nav ul li:nth-child(4) {
    transition-delay: 0.4s;
}
main nav.open ul li {
    margin-left: 0;
}
main nav ul li a {
    text-decoration: none;
    color: #ddd;
}
main nav ul li a:hover {
    color: #fff;
}
@media screen and (max-width: 768px) {
    main nav {
        width: 100%;
        right: -100%;
    }
}
main nav.open {
    right: 0;
}

@media (min-width: 576px) {  
  .container {  
    max-width: 540px;  
  }  
}  
  
@media (min-width: 992px) {  
  .container {  
    max-width: 960px;  
  }  
}  
  
@media (min-width: 1200px) {  
  .container {  
    max-width: 1140px;  
  }  
}  

/*fin de nuevo menu*/


/*nuevo menu 2*/

.pm-menu2{
    margin-top: 120px;
}


/*fin de nuevo menu 2*/



.pm-usuario{
    color: #47639e;
    padding: 16px;
}

.pm-publicacion{
    background: #03A9F4;;
    color: #FFF;
    padding: 16px;
}

.pm-empty{
    padding-top: 10px;
}

.pm-contenido-der{
    margin-top: 50px
}

.pm-btn{
    background: #47639e;
    margin: 50px auto 0px auto;
}

.pm-nuevo{
    margin-bottom: 30px;
}

.pm-nuevo > a{
    margin-bottom: 30px;
    color: #e67e22;
}

.pm-nuevo > a:hover{
    transform: rotate(90deg);
    color: #47639e;

}

div.dataTables_wrapper {
    margin-bottom: 3em;
}

.pm-botones{
    font-size: 10px;
}

.pm-lista-publicacion{
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Efecto hover para resaltar */
.pm-lista-publicacion:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border-color: #007bff;
    background: #fafbfc;
}

/* Mejoras en la organización de elementos */
.pm-lista-publicacion .row {
    align-items: center;
}

.pm-lista-publicacion h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.pm-lista-publicacion .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    font-weight: 500;
}

.pm-lista-publicacion .text-muted {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

.pm-lista-publicacion .progress {
    height: 20px;
    border-radius: 4px;
    background-color: #e9ecef;
    margin: 15px 0;
}

.pm-lista-publicacion .progress-bar {
    border-radius: 4px;
}

/* Mejoras en los botones de acción */
.pm-lista-publicacion .pm-botones {
    font-size: 10px;
    padding: 6px 12px;
    margin: 3px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.pm-lista-publicacion .pm-botones:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

/* Organización mejorada de la información */
.pm-lista-publicacion .col-md-6:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pm-lista-publicacion .col-md-3 {
    display: flex;

}

.pm-lista-publicacion .col-md-3:last-of-type {
    justify-content: flex-end;
    text-align: right;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .pm-lista-publicacion {
        padding: 15px;
        margin-bottom: 1rem;
    }
    
    .pm-lista-publicacion .col-md-3 {
        text-align: left;
        justify-content: flex-start;
        margin-bottom: 10px;
    }
    
    .pm-lista-publicacion .pm-botones {
        font-size: 9px;
        padding: 5px 10px;
        margin: 2px;
    }
}

.text-muted{
    font-size: 10px;
}

/* publicación*/

.progressbar {
    counter-reset: step;
}
.progressbar li {
    list-style-type: none;
    width: 25%;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    color: #7d7d7d;
}
.progressbar li:before {
    width: 30px;
    height: 30px;
    content: counter(step);
    counter-increment: step;
    line-height: 30px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}
.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 15px;
    left: -50%;
    z-index: -1;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active {
    color: green;
}
.progressbar li.active:before {
    border-color: #55b776;
}
.progressbar li.active + li:after {
    background-color: #55b776;
}


/* Mis publicaciones */


/*Formmularios*/


.pm-form{
    font-size: 10px;
}

.pm-form-span-login{
    color: #000;
}

.pm-form-bg{
    background: rgba(255,255,255,1);
    padding: 30px 20px;
    border-radius: 30px;
    /*margin-top: -50px;*/
}

form div section {
    margin: 0px;
    padding: 3px;

}

.form-control{
    border-radius: 0px;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
}

/* servicios */
.pm-mercantil{
    font-size: 11px;

}


/*WEB*/

.pm-text-8{
    font-size: 8px;
}
.pm-text-16{
    font-size: 16px;
}
.pm-text-18{
    font-size: 18px;
}
.pm-text-20{
    font-size: 20px;
}

.pm-text-negro{
    color: #000;
}

.pm-banner{
    text-align: left;
    padding: 150px 40px;
    background: rgba(0, 0, 0, 0.3);
    color:#FFF;
}

.pm-titulo-hr{
    background: #e67e22;
    width: 200px;
    height: 5px;
    margin: 0 auto;
}

.pm-img-about{
    background: url(../../assets_/image/bg/3.jpg) center center fixed;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 25px;
}

.pm-img-banner{

    background: url(../../assets_/image/bg/1.jpg) no-repeat center center fixed; 
    background-size: cover;
    margin-top: 80px;
    min-height: 400px
}
.pm-img-service{

    background: rgba(0,68,255,0.66);
    background: -moz-linear-gradient(-45deg, rgba(0,68,255,0.66) 0%, rgba(87,0,173,0.94) 50%, rgba(107,0,107,0.72) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(0,68,255,0.66)), color-stop(50%, rgba(87,0,173,0.94)), color-stop(100%, rgba(107,0,107,0.72)));
    background: -webkit-linear-gradient(-45deg, rgba(0,68,255,0.66) 0%, rgba(87,0,173,0.94) 50%, rgba(107,0,107,0.72) 100%);
    background: -o-linear-gradient(-45deg, rgba(0,68,255,0.66) 0%, rgba(87,0,173,0.94) 50%, rgba(107,0,107,0.72) 100%);
    background: -ms-linear-gradient(-45deg, rgba(0,68,255,0.66) 0%, rgba(87,0,173,0.94) 50%, rgba(107,0,107,0.72) 100%);
    background: linear-gradient(135deg, rgba(0,68,255,0.66) 0%, rgba(87,0,173,0.94) 50%, rgba(107,0,107,0.72) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0044ff', endColorstr='#6b006b', GradientType=1 );
    border-radius: 100% 0% 100% 0% / 46% 46% 54% 54%;
    min-height: 400px
}

.pm-img-echology{

    background: url(../../assets_/image/bg/echology.jpg) center center no-repeat fixed;
    background-size: cover;
    margin-top: 80px;
    border-radius: 100% 0% 100% 0% / 100% 100% 0% 0% ;
    min-height: 400px
}

.pm-planta{

    color: rgba(81,110,30,1);
    color: -moz-linear-gradient(45deg, rgba(81,110,30,1) 0%, rgba(8,77,22,1) 100%);
    color: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(81,110,30,1)), color-stop(100%, rgba(8,77,22,1)));
    color: -webkit-linear-gradient(45deg, rgba(81,110,30,1) 0%, rgba(8,77,22,1) 100%);
    color: -o-linear-gradient(45deg, rgba(81,110,30,1) 0%, rgba(8,77,22,1) 100%);
    color: -ms-linear-gradient(45deg, rgba(81,110,30,1) 0%, rgba(8,77,22,1) 100%);
    color: linear-gradient(45deg, rgba(81,110,30,1) 0%, rgba(8,77,22,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#516e1e', endColorstr='#084d16', GradientType=1 );

}

.btn-primary{
    border-radius: 0px;
    background:#3579c0;
    border: #3579c0;
}

.btn-primary:hover{
    border-radius: 0px;
    background:#47639f;
    border: #47639f;
}


.minh-100 {
  height: 100vh;
}

.pb-new-banner{
    background: rgba(0,0,0,.3);
    padding: 15% 50px;
    height: 100%;
    color: #FFF;
}

.minh-100 {
  height: 100vh;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: #fff;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* CARRUSEL CON ONDAS MODERNAS */
.carousel-modern {
    position: relative;
    overflow: hidden;
}

.carousel-modern .carousel-inner {
    border-radius: 0;
}

.carousel-modern .carousel-item img {
    height: 70vh;
    object-fit: cover;
    width: 100%;
}

/* Onda moderna en la parte inferior del carrusel */
.carousel-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 10;
    pointer-events: none;
}

.carousel-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Gradiente de onda animada */
.wave-gradient {
    background: linear-gradient(135deg, 
        rgba(3, 169, 244, 0.9) 0%,
        rgba(71, 99, 158, 0.8) 35%,
        rgba(0, 5, 138, 0.9) 100%);
    animation: waveFlow 8s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(3, 169, 244, 0.9) 0%,
            rgba(71, 99, 158, 0.8) 35%,
            rgba(0, 5, 138, 0.9) 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(0, 5, 138, 0.9) 0%,
            rgba(71, 99, 158, 0.8) 35%,
            rgba(3, 169, 244, 0.9) 100%);
    }
}

/* Onda secundaria para efecto de profundidad */
.carousel-wave-secondary {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 9;
    opacity: 0.6;
    pointer-events: none;
}

.wave-secondary {
    background: linear-gradient(135deg, 
        rgba(3, 169, 244, 0.4) 0%,
        rgba(71, 99, 158, 0.3) 50%,
        rgba(0, 5, 138, 0.4) 100%);
    animation: waveFlow 12s ease-in-out infinite reverse;
}

/* Mejoras en los controles del carrusel */
.carousel-modern .carousel-control-prev,
.carousel-modern .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3, 169, 244, 0.8);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.carousel-modern .carousel-control-prev {
    left: 30px;
}

.carousel-modern .carousel-control-next {
    right: 30px;
}

.carousel-modern .carousel-control-prev:hover,
.carousel-modern .carousel-control-next:hover {
    background: rgba(3, 169, 244, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(3, 169, 244, 0.4);
}

.carousel-modern .carousel-control-prev-icon,
.carousel-modern .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Indicadores modernos */
.carousel-modern .carousel-indicators {
    bottom: 40px;
    z-index: 15;
}

.carousel-modern .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(3, 169, 244, 0.8);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-modern .carousel-indicators .active {
    background: rgba(3, 169, 244, 1);
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(3, 169, 244, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-modern .carousel-item img {
        height: 50vh;
    }
    
    .carousel-wave {
        height: 80px;
    }
    
    .carousel-modern .carousel-control-prev,
    .carousel-modern .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-modern .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-modern .carousel-control-next {
        right: 15px;
    }
}

/* ESTILOS ESPECÍFICOS PARA LA PÁGINA DE LOGIN */
.login-page-section {
    padding-top: 180px !important; /* 150px + 30px existente */
    padding-bottom: 50px;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(240, 248, 255, 0.8) 0%,
        rgba(230, 244, 255, 0.9) 100%);
}

.login-container {
    max-width: 800px;
    margin: 0 auto;
}

.login-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.login-form-header {
    background: linear-gradient(135deg, 
        #03a9f4 0%,
        #475f9e 35%,
        #00058a 100%);
    color: white;
    padding: 30px;
    text-align: center;
    margin-bottom: 0;
}

.login-form-header h2 {
    margin: 0;
    font-weight: 600;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pm-titulo-hr {
    display: none; /* Ocultar el hr original */
}

.login-form-body {
    padding: 40px;
}

.pm-form.login-enhanced {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.pm-form.login-enhanced h3 {
    color: #475f9e;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.pm-form.login-enhanced .form-control {
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.pm-form.login-enhanced .form-control:focus {
    border-color: #03a9f4;
    box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.1);
    background: white;
}

.pm-form.login-enhanced .custom-select {
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.8);
}

.pm-form.login-enhanced .btn-primary {
    background: linear-gradient(135deg, #03a9f4 0%, #475f9e 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 169, 244, 0.3);
}

.pm-form.login-enhanced .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 169, 244, 0.4);
}

.pm-form.login-enhanced label,
.pm-form.login-enhanced sabel {
    color: #475f9e;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-page-section {
        padding-top: 120px !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .login-form-body {
        padding: 20px;
    }
    
    .login-form-header {
        padding: 20px;
    }
    
    .login-form-header h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   LANDING HOME MODERNO - DISEÑO RENOVADO
   ======================================== */

/* Variables CSS para consistencia */
:root {
    --primary-blue: #03A9F4;
    --secondary-blue: #47639e;
    --dark-blue: #000588;
    --gradient-primary: linear-gradient(135deg, #03A9F4 0%, #47639e 50%, #000588 100%);
    --gradient-secondary: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, rgba(3,169,244,0.1) 0%, rgba(71,99,158,0.1) 100%);
    --shadow-soft: 0 10px 40px rgba(3, 169, 244, 0.1);
    --shadow-medium: 0 20px 60px rgba(3, 169, 244, 0.15);
    --shadow-strong: 0 30px 80px rgba(3, 169, 244, 0.2);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animaciones globales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Carrusel moderno mejorado */
.carousel-modern {
    position: relative;
    overflow: hidden;
    
    box-shadow: var(--shadow-strong);
}


.carousel-modern .carousel-item {
    position: relative;
    transition: var(--transition);
}

.carousel-modern .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(3,169,244,0.1) 0%, rgba(0,5,138,0.2) 100%);
    z-index: 1;
}

.carousel-modern .carousel-item img {
    height: 90vh;
    object-fit: cover;
    width: 100%;
    transition: var(--transition);
}

.carousel-modern .carousel-item:hover img {
    transform: scale(1.02);
}

.carousel-modern .carousel-caption {
    position: absolute;
    bottom: 100px;
    left: 10%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    padding: 30px 40px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Ondas del carrusel mejoradas */
.carousel-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 10;
    pointer-events: none;
}

.carousel-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Sección Hero moderna */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    /*padding: 120px 0 80px 0;*/
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%2303A9F4" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #03A9F4 0%, #47639e 50%, #000588 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out both;
    text-align: center;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    color: #666;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: center;
    line-height: 1.4;
}

.hero-hashtag {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Botones modernos */
.btn-modern {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    color: white;
    text-decoration: none;
}

.btn-modern:hover::before {
    left: 100%;
}

/* Sección Nosotros moderna */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out both;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.about-logo {
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(3, 169, 244, 0.2));
}

/* Sección Cómo Funciona */
.how-it-works {
    padding: 100px 0;
    background: white;
    position: relative;
}

.step-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(3, 169, 244, 0.1);
    animation: fadeInUp 1s ease-out both;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

.step-number {
    position: relative;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #03A9F4 0%, #47639e 50%, #000588 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(3, 169, 244, 0.4);
    border: 3px solid white;
    z-index: 20;
    animation: pulse 2s infinite;
}

/* Sección Telegram moderna */
.telegram-section {
    background: linear-gradient(135deg, rgba(3,169,244,0.1) 0%, rgba(71,99,158,0.1) 100%),
                url('../../assets_/image/bg/telegram.jpg') center center no-repeat fixed;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    color: white;
}

.telegram-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 5, 138, 0.8);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.telegram-content {
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out both;
}

.telegram-features {
    list-style: none;
    padding: 0;
}

.telegram-features li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    animation: fadeInLeft 1s ease-out both;
}

.telegram-features li:nth-child(1) { animation-delay: 0.1s; }
.telegram-features li:nth-child(2) { animation-delay: 0.2s; }
.telegram-features li:nth-child(3) { animation-delay: 0.3s; }
.telegram-features li:nth-child(4) { animation-delay: 0.4s; }

.telegram-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sección Por qué nosotros */
.why-us-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(3, 169, 244, 0.1);
    animation: fadeInUp 1s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

/* Sección Educamercantil */
.education-section {
    padding: 100px 0;
    background: white;
}

.education-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    animation: fadeInUp 1s ease-out both;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.education-card img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.education-card:hover img {
    transform: scale(1.05);
}

/* Formulario de login moderno */
.login-form-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInRight 1s ease-out both;
}

.login-form-modern .form-control {
    border: 2px solid rgba(3, 169, 244, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

.login-form-modern .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(3, 169, 244, 0.25);
    background: white;
}

.login-form-modern .btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    font-weight: 600;
    transition: var(--transition);
}

.login-form-modern .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Espaciado publicitario moderno */
.ad-space {
    background: linear-gradient(135deg, #03A9F4 0%, #47639e 50%, #000588 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.ad-space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

/* Corrección del espaciado superior */
.login-form-container {
    position: absolute;
    z-index: 100;
    margin-top: 80px;
    width: 90%;
    transition: all 0.3s ease;
}

/* Animación de pulso para números */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(3, 169, 244, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(3, 169, 244, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(3, 169, 244, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-modern .carousel-item img {
        height: 60vh;
    }
    
    .carousel-wave {
        height: 100px;
    }
    
    .hero-section {
        padding: 100px 0 60px 0;
    }
    
    .about-card,
    .step-card,
    .feature-card {
        margin-bottom: 30px;
    }
    
    .login-form-modern {
        margin-top: 30px;
    }
    
    .login-form-container {
        margin-top: 60px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        top: -15px;
        right: -15px;
    }
}

/* Efectos de scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Partículas de fondo */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 8px;
    height: 8px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

/*AJUSTES VISUALES DASHBOARD CLIENTE*/

/* Contenedor principal del menú moderno */
.tab-navigation {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.nav-tabs {
    border: none;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

/* Estilos modernos para los elementos del menú */
.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    margin: 0;
    border-radius: 15px;
    text-decoration: none;
    color: #6c757d;
    background: transparent;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 100px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Íconos más grandes y modernos */
.tab-item i {
    font-size: 2.2rem; /* Aumentado significativamente */
    margin-bottom: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #6c757d, #495057);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tab-text {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Efectos hover modernos */
.tab-item:hover {
    color: #0d6efd;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    transform: translateY(-4px) scale(1.02);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.2);
}

.tab-item:hover i {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

/* Estado activo mejorado */
.tab-item.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

.tab-item.active i {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

.tab-item.active:hover {
    color: white;
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-4px) scale(1.02);
}

/* Responsive design mejorado */
@media (max-width: 1200px) {
    .tab-item {
        min-width: 90px;
        padding: 14px 10px;
    }
    
    .tab-item i {
        font-size: 2rem;
    }
    
    .tab-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 992px) {
    .tab-navigation {
        padding: 6px;
        border-radius: 15px;
    }
    
    .tab-item {
        min-width: 80px;
        padding: 12px 8px;
    }
    
    .tab-item i {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .tab-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .tab-navigation {
        margin: 0 -15px;
        border-radius: 0;
        padding: 8px 15px;
    }
    
    .nav-tabs {
        padding: 0 5px;
    }
    
    .tab-item {
        min-width: 70px;
        padding: 10px 6px;
    }
    
    .tab-item i {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    
    .tab-text {
        font-size: 0.6rem;
        display: block;
    }
}

@media (max-width: 576px) {
    .tab-item {
        min-width: 60px;
        padding: 8px 4px;
    }
    
    .tab-item i {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
    
    .tab-text {
        font-size: 0.55rem;
    }
}

/* Animación de carga */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de ondas al hacer clic */
.tab-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tab-item:active::before {
    width: 300px;
    height: 300px;
}

/* NUEVO MENÚ MÓVIL RESPONSIVE */
.mobile-menu-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(13, 110, 253, 0.1);
    overflow: hidden;
}

.mobile-menu-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.mobile-menu-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-menu-buttons {
    display: flex;
    gap: 8px;
    min-width: max-content;
    padding: 0 4px;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #6c757d;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.mobile-menu-btn .btn-icon {
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn .btn-icon i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #6c757d, #495057);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.mobile-menu-btn .btn-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Efectos hover */
.mobile-menu-btn:hover {
    color: #0d6efd;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    transform: translateY(-3px) scale(1.02);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.2);
}

.mobile-menu-btn:hover .btn-icon i {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

/* Estado activo */
.mobile-menu-btn.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
    border-color: #0d6efd;
}

.mobile-menu-btn.active .btn-icon i {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

.mobile-menu-btn.active:hover {
    color: white;
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-3px) scale(1.02);
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .mobile-menu-btn {
        min-width: 130px;
        padding: 14px 18px;
    }
    
    .mobile-menu-btn .btn-icon i {
        font-size: 2rem;
    }
    
    .mobile-menu-btn .btn-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .mobile-menu-container {
        padding: 10px;
        border-radius: 16px;
    }
    
    .mobile-menu-btn {
        min-width: 120px;
        padding: 12px 16px;
    }
    
    .mobile-menu-btn .btn-icon i {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .mobile-menu-btn .btn-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-container {
        margin: 0 -15px;
        border-radius: 0;
        padding: 12px 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .mobile-menu-buttons {
        gap: 6px;
    }
    
    .mobile-menu-btn {
        min-width: 110px;
        padding: 10px 12px;
    }
    
    .mobile-menu-btn .btn-icon i {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }
    
    .mobile-menu-btn .btn-text {
        font-size: 0.65rem;
        line-height: 1.1;
    }
}

@media (max-width: 576px) {
    .mobile-menu-btn {
        min-width: 100px;
        padding: 8px 10px;
    }
    
    .mobile-menu-btn .btn-icon i {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }
    
    .mobile-menu-btn .btn-text {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu-btn {
        min-width: 90px;
        padding: 6px 8px;
    }
    
    .mobile-menu-btn .btn-icon i {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn .btn-text {
        font-size: 0.55rem;
    }
}

/* Animación de carga */
.mobile-menu-container {
    animation: slideInUp 0.6s ease-out;
}

/* Efecto de ondas al hacer clic */
.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.mobile-menu-btn:active::before {
    width: 200px;
    height: 200px;
}

.mobile-menu-btn .btn-icon,
.mobile-menu-btn .btn-text {
    position: relative;
    z-index: 1;
}

/* Estilos para botones de acciones */
.action-buttons .btn {
    background: #0d6efd;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.action-buttons .btn:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    color: white;
}

.action-buttons .btn:disabled {
    background: #6c757d;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.action-buttons .btn i {
    font-size: 0.9rem;
}



/* Botón flotante mejorado */
.pm-nuevo .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Botones de cambio de vista */
.view-toggle-buttons {
    display: flex;
    gap: 5px;
}

.view-toggle {
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.view-toggle.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.view-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

/* Vista de lista (por defecto) */
.publications-list-view .publication-item {
    width: 100%;
    margin-bottom: 1rem;
}

/* Vista de cuadrícula */
.publications-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

.publications-grid-view .publication-item {
    width: 100%;
    margin-bottom: 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.publications-grid-view .publication-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

/* Ajustes para vista de cuadrícula */
.publications-grid-view .publication-item .row {
    margin: 0;
}

.publications-grid-view .publication-header {
    margin-bottom: 10px;
}

.publications-grid-view .publication-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.publications-grid-view .publication-date,
.publications-grid-view .publication-amount {
    font-size: 11px;
    display: block;
    margin-bottom: 8px;
}

.publications-grid-view .publication-progress {
    margin-bottom: 15px !important;
}

.publications-grid-view .publication-actions {
    text-align: center;
}

.publications-grid-view .publication-actions .btn {
    font-size: 10px;
    padding: 6px 10px;
    margin: 2px;
    display: inline-block;
    width: auto;
}

/* Responsive para cuadrícula */
@media (max-width: 768px) {
    .publications-grid-view {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .view-toggle-buttons {
        flex-direction: column;
        gap: 3px;
    }
    
    .view-toggle {
        font-size: 11px;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .publications-grid-view .publication-actions .btn {
        font-size: 9px;
        padding: 4px 8px;
        margin: 1px;
    }
}

/* Mejoras visuales adicionales */
.publication-ref .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
}

.publications-grid-view .col-md-6,
.publications-grid-view .col-md-3,
.publications-grid-view .col-md-12 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix para modales de reportar pago */
.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal-dialog {
    position: relative;
    z-index: 1051 !important;
}


.fadeIn {
            animation: fadeIn 0.3s ease-in;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Estilos modernos para la botonera de filtros */
        .filter-btn {
            position: relative;
            overflow: hidden;
            border-radius: 8px !important;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 1px solid #dee2e6;
        }
        
        .filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border-color: #adb5bd;
        }
        
        .filter-btn.active {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            border-color: #0056b3;
            color: white;
            box-shadow: 0 4px 12px rgba(0,123,255,0.3);
        }
        
        .filter-btn.btn-outline-warning.active {
            background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
            border-color: #e0a800;
            color: #212529;
            box-shadow: 0 4px 12px rgba(255,193,7,0.3);
        }
        
        .filter-btn.btn-outline-success.active {
            background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
            border-color: #1e7e34;
            color: white;
            box-shadow: 0 4px 12px rgba(40,167,69,0.3);
        }
        
        .filter-btn.btn-outline-info.active {
            background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
            border-color: #117a8b;
            color: white;
            box-shadow: 0 4px 12px rgba(23,162,184,0.3);
        }
        
        /* Efecto de ondas al hacer clic */
        .filter-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .filter-btn:active::before {
            width: 300px;
            height: 300px;
        }
        
        /* Estilos para el grupo de botones */
        .btn-group .filter-btn:first-child {
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
            margin-right: -1px;
        }
        
        .btn-group .filter-btn:not(:first-child):not(:last-child) {
            border-radius: 0 !important;
            margin-right: -1px;
        }
        
        .btn-group .filter-btn:last-child {
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
        }
        
        /* Estilos para el buscador */
        #search-publications {
            border-left: none;
            border-radius: 0 8px 8px 0 !important;
            transition: all 0.3s ease;
            font-size: 14px;
        }
        
        #search-publications:focus {
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
            border-color: #80bdff;
        }
        
        .input-group-text {
            border-right: none;
            border-radius: 8px 0 0 8px !important;
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            border-color: #007bff;
        }
        
        #clear-search {
            border-radius: 0 8px 8px 0 !important;
            border-left: none;
            transition: all 0.3s ease;
        }
        
        #clear-search:hover {
            background-color: #dc3545;
            border-color: #dc3545;
            color: white;
            transform: scale(1.05);
        }
        
        /* Estilos para los botones de vista */
        .view-toggle {
            border-radius: 6px !important;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-left: 5px;
        }
        
        .view-toggle:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .view-toggle.active {
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            border-color: #0056b3;
            color: white;
            box-shadow: 0 2px 8px rgba(0,123,255,0.3);
        }
        
        /* Animación para el contenedor de filtros */
        .card {
            transition: all 0.3s ease;
        }
        
        .card:hover {
            box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
        }