/* Fundo escuro do modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease-in-out;
}

/* Container do modal */
.modal-container {
    background: #fff;
    padding: 40px 30px;
    max-width: 500px;
    width: 95%;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-backdrop[style*="display: flex"] .modal-container {
    transform: translateY(0);
}

/* Logo centralizada */
.modal-container .modal-logo {
    display: block;
    margin: 0 auto 25px;
    max-width: 180px;
}

/* Subtítulo */
.modal-subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

/* Botão de fechar */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

/* Formulário */
#form-flutuante .form-group {
    margin-bottom: 20px;
}

#form-flutuante label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--main);
    margin-bottom: 8px;
}

#form-flutuante .form-control {
    width: 100%;
    height: 50px;
    padding: 10px 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
    box-sizing: border-box;
}

#form-flutuante .form-control:focus {
    background: #fff;
    border-color: var(--main);
    box-shadow: 0 0 0 4px rgba(var(--main-rgb, 0, 123, 255), 0.1);
    outline: none;
}

/* Botão de envio */
#form-flutuante .enviar-wpp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 55px;
    background: #25d366; /* Cor do WhatsApp */
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

#form-flutuante .enviar-wpp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.3);
}

#form-flutuante .enviar-wpp:active {
    transform: translateY(0);
}

/* Mensagem de sucesso/erro */
.mensagem-convert-google-form {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}

/* Ajustes Responsivos */
@media screen and (max-width: 480px) {
    .modal-container {
        padding: 30px 20px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
}
