/*
 * IBRADIM - Lista de Associados PF
 * Integração visual com Elementor via variáveis globais.
 */

.ibradim-pf-directory {
    width: 100%;
    color: var(--e-global-color-text, #222);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: var(--e-global-typography-text-font-size, 16px);
    font-weight: var(--e-global-typography-text-font-weight, 400);
    line-height: var(--e-global-typography-text-line-height, 1.5);
}

.ibradim-pf-alphabet {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1px;
    width: 100%;
    margin: 0 0 34px;
    padding: 0;
}

.ibradim-pf-letter {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 59px;
    width: 59px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--e-global-color-primary, #2f9e50);
    color: #fff;
    font-family: var(--e-global-typography-primary-font-family, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background-color .18s ease, opacity .18s ease;
}

.ibradim-pf-letter:hover,
.ibradim-pf-letter:focus-visible {
    background: var(--e-global-color-secondary, #278a45);
    color: #fff;
    outline: none;
}

.ibradim-pf-letter.is-active,
.ibradim-pf-letter.is-active:hover,
.ibradim-pf-letter.is-active:focus-visible {
    background: var(--e-global-color-accent, #f59a23);
    color: #fff;
}

.ibradim-pf-results {
    width: 100%;
    min-height: 120px;
}

.ibradim-pf-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ibradim-pf-name {
    margin: 0;
    padding: 1px 13px;
    color: var(--e-global-color-text, #222);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: var(--e-global-typography-text-font-size, 16px);
    font-weight: var(--e-global-typography-text-font-weight, 400);
    line-height: var(--e-global-typography-text-line-height, 1.5);
}

.ibradim-pf-message {
    padding: 1px 13px;
    color: var(--e-global-color-text, #555);
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: var(--e-global-typography-text-font-size, 16px);
}

.ibradim-pf-results.is-loading {
    opacity: .65;
}

@media (max-width: 767px) {
    .ibradim-pf-alphabet {
        gap: 2px;
        margin-bottom: 24px;
    }

    .ibradim-pf-letter {
        flex: 1 0 42px;
        width: auto;
        min-width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .ibradim-pf-name,
    .ibradim-pf-message {
        padding-left: 4px;
        padding-right: 4px;
    }
}
