/* Widget Solicitar Empleo Moderno */

.widget-empleo-moderno {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(46, 44, 154, 0.1), 0 0 0 1px rgba(41, 68, 142, 0.05);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    animation: slideUp 0.8s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.widget-empleo-moderno::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e2c9a, #4a5ba8);
    border-radius: 20px 20px 0 0;
}

.widget-empleo-moderno:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(41, 68, 142, 0.15), 0 0 0 1px rgba(41, 68, 142, 0.08);
}

.icon-container {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

.empleo-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(46, 44, 154, 0.2));
    transition: all 0.3s ease;
}

.widget-empleo-moderno:hover .empleo-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(46, 44, 154, 0.3));
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(46, 44, 154, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.content {
    text-align: center;
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2e2c9a;
    margin-bottom: 15px;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2e2c9a, #4a5ba8);
    border-radius: 2px;
}

.subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-empleo {
    background: linear-gradient(135deg, #2e2c9a 0%, #4a5ba8 100%);
    padding: 15px 35px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(46, 44, 154, 0.3);
    font-size: 0.9rem;
}

.btn-empleo::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: left 0.5s;
}

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

.btn-empleo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(46, 44, 154, 0.4);
    color: white;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-empleo:hover .btn-icon {
    transform: translateX(3px);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, rgba(46, 44, 154, 0.3), rgba(96, 38, 158, 0.3));
    border-radius: 50%;
    animation: floatDot 3s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.dot-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.dot-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes floatDot {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px);
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .widget-empleo-moderno {
        padding: 40px 30px;
        box-sizing: border-box;
    }
    
    .empleo-icon {
        width: 70px;
        height: 70px;
    }
    
    .icon-glow {
        width: 90px;
        height: 90px;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .btn-empleo {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .widget-empleo-moderno {
        padding: 30px 25px;
        box-sizing: border-box;
    }
    
    .empleo-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-glow {
        width: 80px;
        height: 80px;
    }
    
    .title {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .btn-empleo {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .widget-empleo-moderno:hover {
        transform: none;
    }
    
    .btn-empleo:hover {
        transform: none;
    }
    
    .empleo-icon:hover {
        transform: none;
    }
}