@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

/* --- Variáveis de Cor Baseadas no Seu Site --- */
:root {
    --bci-primary-color: #fcc200;   /* Amarelo/Dourado do logo e destaques */
    --bci-secondary-color: #202c55;  /* Azul escuro do header */
    --bci-text-color-dark: #202c55; /* Cor de texto principal */
    --bci-text-color-light: #5f6c8b;   /* Cor de texto secundário */
    --bci-border-color: #e1e4e8;
    --bci-white-color: #ffffff;
    --bci-error-color: #d9534f;
}

/* --- Estilos Gerais --- */
body {
    font-family: "Montserrat", "Open Sans", sans-serif;
}

/* --- Span que exibe os dados do CEP --- */
.cep-info-field {
    display: inline-block;
    min-width: 10px;
}


/* =================================================================== */
/* BOTÃO DE ÍCONE ATUALIZADO COM O SEU CÓDIGO PERSONALIZADO */
/* =================================================================== */

/* Usando o seletor de ID que você forneceu para alta especificidade */
button#bci-open-modal-btn {
    /* Seu código: */
    background-color: transparent;
    border: 0px solid #c36;
    border-radius: 0px;
    color: #c36;
    display: inline-flex; /* Alterado para flex para melhor centralização */
    font-size: 1rem;
    font-weight: 400;
    padding: 0;
    text-align: center;
    transition: all .3s;
    user-select: none;
    white-space: nowrap;

    /* Adições para garantir o alinhamento do ícone */
    justify-content: center;
    align-items: center;
}

/* Efeito de hover opcional para o seu botão */
button#bci-open-modal-btn:hover {
    color: #a12d50; /* Um tom mais escuro da sua cor #c36 */
    transform: scale(1.1);
}

/* Estilo para o ícone DENTRO do seu botão */
button#bci-open-modal-btn .dashicons {
    font-size: 18px; /* Tamanho do ícone */
}


/* --- Estilos do Modal (com as cores do site) --- */
.bci-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 44, 85, 0.7); /* Fundo azul translúcido */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

@keyframes bci-fade-in {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bci-modal-content {
    background-color: var(--bci-white-color);
    padding: 32px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 480px;
    position: relative;
    text-align: center;
    animation: bci-fade-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bci-close-btn {
    color: #b0b8c8;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.bci-close-btn:hover,
.bci-close-btn:focus {
    color: var(--bci-primary-color);
}

.bci-modal-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--bci-text-color-dark); /* Cor azul do site */
    font-size: 1.6rem;
    font-weight: 700;
}

.bci-modal-content p {
    color: var(--bci-text-color-light); /* Tom de cinza/azul mais suave */
    margin-bottom: 0px;
    font-size: 0.95rem;
}

#bci-modal-form {
    margin-top: 20px;
}

#bci-cep-input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 6px;
    border: 2px solid var(--bci-border-color);
    background-color: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#bci-cep-input:focus {
    outline: none;
    border-color: var(--bci-primary-color); /* Borda amarela ao focar */
    box-shadow: 0 0 0 4px rgba(252, 194, 0, 0.2);
}

#bci-modal-form .bci-button {
    background-color: var(--bci-secondary-color); /* Botão azul */
    color: var(--bci-white-color);
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#bci-modal-form .bci-button:hover {
    background-color: var(--bci-primary-color); /* Fundo amarelo no hover */
    color: var(--bci-secondary-color); /* Texto azul no hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bci-error-message {
    color: var(--bci-error-color);
    min-height: 0px;
    margin-top: 15px;
    font-weight: bold;
}