/* Importa a fonte Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

body, .ai-native-ad, .ai-modal-content, .ai-whatsapp-button {
    font-family: 'Open Sans', sans-serif;
}

/* Estilo do native ad injetado */
.ai-native-ad {
    border: 1px solid #ccc;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
    border-radius: 5px;
}
.ai-native-ad:hover {
    transform: scale(1.02);
}
.ai-native-ad-title {
    margin: 0 0 10px;
    font-size: 1.5em;
    font-weight: 600;
}
.ai-native-ad-description {
    margin-bottom: 15px;
    line-height: 1.5;
}
.ai-native-ad-button {
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
}

/* Modal overlay centralizado e oculto inicialmente */
#ai-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal com tamanho menor, maior padding e centralizado */
#ai-modal {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 630px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}
.ai-modal-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.ai-modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
}
#ai-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

/* Linha para os campos Nome e Telefone lado a lado */
.ai-modal-row {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
}
.ai-modal-row > div {
    flex: 1;
    text-align: left;
}
.ai-modal-row label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 5px;
}

/* Inputs e botão do formulário */
.ai-modal-content form input[type="text"],
.ai-modal-content form input[type="tel"],
.ai-modal-content form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.ai-modal-content form input[type="submit"] {
    background: #0073aa;
    border: none;
    padding: 10px 15px;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
}

