/* Estilos para o Front-end da Busca Condomínio - Inspirado em Material Design */

.ellevatus-busca-condominio-wrapper {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    font-family: 'Roboto', sans-serif; /* Usando Roboto para um toque Material Design */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ebc-title {
    font-size: 2.8em;
    color: #3f51b5; /* Cor primária do Material Design */
    margin-bottom: 15px;
    font-weight: 500;
}

.ebc-subtitle {
    font-size: 1.3em;
    color: #616161;
    margin-bottom: 40px;
    font-weight: 300;
}

.ebc-search-form {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

#ebc_condominio_search {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1.2em;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: #424242;
    padding-right: 50px; /* Espaço para o ícone */
}

#ebc_condominio_search:focus {
    border-color: #3f51b5;
    background-color: #ffffff;
}

.ebc-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\' fill=\'%23757575\'%3E%3Cpath d=\'M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\'%3E%3C/path%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

.ebc-search-results {
    margin-top: 40px;
    text-align: left;
}

.ebc-condominio-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ebc-condominio-list li {
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    color: #424242;
    font-size: 1.1em;
}

.ebc-condominio-list li:last-child {
    border-bottom: none;
}

.ebc-condominio-list li:hover {
    background-color: #e8eaf6; /* Light indigo */
    transform: translateX(5px);
}

.ebc-app-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    align-items: flex-start; /* Alinha o conteúdo ao topo */
}

.ebc-app-mockup {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinha o mockup ao topo */
    order: -1; /* Coloca o mockup à esquerda em telas maiores */
    padding-right: 30px; /* Espaçamento entre mockup e info */
}

.ebc-app-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.ebc-app-info {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.ebc-app-info h3 {
    font-size: 1.6em;
    color: #757575;
    margin-bottom: 5px;
    font-weight: 400;
}

.ebc-app-info h4 {
    font-size: 2.2em;
    color: #3f51b5;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 500;
}

.ebc-app-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #424242;
    margin-bottom: 15px;
}

.ebc-app-description {
    font-size: 1.1em;
    color: #616161;
    line-height: 1.7;
    margin-bottom: 25px;
}

.ebc-app-badges {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start;
}

.ebc-app-badges img {
    max-height: 60px; /* Ajuste conforme necessário */
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.ebc-app-badges img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Responsividade */
@media (max-width: 768px) {
    .ellevatus-busca-condominio-wrapper {
        margin: 20px auto;
        padding: 20px;
    }
    .ebc-title {
        font-size: 2.2em;
    }
    .ebc-subtitle {
        font-size: 1.1em;
    }
    .ebc-app-details {
        flex-direction: column;
        padding: 20px;
    }
    .ebc-app-info, .ebc-app-mockup {
        min-width: unset;
        width: 100%;
    }
    .ebc-app-badges {
        justify-content: center;
    }
}

