/* Estilos para o Modal de Boas-vindas */
.welcome-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
}

.modal-container {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 550px;
    margin: 10vh auto;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.welcome-modal.show .modal-container {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 0;
}

.modal-content {
    text-align: center;

    img {
        max-width: 100%;
    }
}

.modal-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.modal-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.modal-highlight {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.1rem;
    margin: 20px 0;
}

.modal-cta {
    margin: 25px 0 15px;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    text-align: center;
}

.dont-show-again {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
    cursor: pointer;
}

.dont-show-again input {
    margin-right: 8px;
}

/* Animação de entrada e saída */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.welcome-modal.show {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

.welcome-modal.hide {
    animation: fadeOut 0.3s ease-out forwards;
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 5vh auto;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-content h3 {
        font-size: 1.1rem;
    }
}

.modal-cta-button {
    text-align: center;
    margin-top: -7px;
    margin-bottom: 0;
    background-color: #2ecc71;
    overflow: hidden;
}

.btn-criar-agora {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    background-color: #2ecc71;
    /* Verde vibrante */
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-criar-agora: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;
}

.btn-criar-agora:hover {
    background-color: #27ae60;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-criar-agora:hover:before {
    left: 100%;
}

.btn-criar-agora:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.4);
}

/* Adicione uma animação de pulso para chamar mais atenção */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.btn-criar-agora {
    animation: pulse 2s infinite;
    width: 100%;
    border-radius: 0;
    margin: 0 0 -6px;
}