.tn_pasos{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
    background: linear-gradient(#d1e3f7, rgb(231, 236, 241));
    margin: 2rem -5rem;
}

.tn_paso{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #d1f7f7;
    box-shadow: 0px 4px 20px rgb(0, 0, 0,0.2);
    color: rgb(19, 19, 19);
    width: 25%;
    height: 15rem;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 8px;
    position: relative;
}

.tn_number{
    font-size: 4rem;
    font-weight: bold;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}

.tn_div{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tn_paso i{
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgb(0, 132, 255);
}

.tn_paso:hover{
    transform: translateY(-0.5rem);
}

#btnAbrirModal {
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: #83bebe;
    padding: 1rem 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    width: 100%;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    overflow: visible;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#btnAbrirModal::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(45deg, #83bebe, #ffffff, #83bebe);
    background-size: 400%;
    border-radius: 16px;
    filter: blur(15px);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#btnAbrirModal:hover {
    background: #6fa8a8;
    transform: scale(1.02);
}

#btnAbrirModal:hover::before {
    opacity: 1;
    animation: glow-animation 3s linear infinite;
}

@keyframes glow-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

    #btnAbrirModal a{
        color: #eee;
        text-decoration: none;
    }

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    resize: none;
}

#btnEnviarFinal {
    width: 100%;
    background: #83bebe;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#btnEnviarFinal:hover {
    background: #6fa8a8;
    transform: scale(1.02);
}


@media(max-width: 1050px)
{
    .tn_pasos{
        flex-direction: column;
        margin: 0 -1.5rem;
    }

    .tn_paso{
        width: 100%;
    }

    #btnAbrirModal{
        margin: 2rem auto;
    }
}