/* Overlay */
.cep-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 16px;
    backdrop-filter: blur(2px);
}

/* Modal */
.cep-modal{
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial;
}
.cep-title{
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}
.cep-desc{
    margin: 0 0 14px;
    font-size: 14px;
    color: #444;
}
.cep-input{
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 12px;
    font-size: 16px;
    outline: none;
    transition: border-color .2s;
    margin-bottom: 14px;
}
.cep-input:focus{ border-color: #999; }
.cep-actions{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 420px){
    .cep-actions{ grid-template-columns: 1fr 1fr; }
    .cep-actions .cep-link{ grid-column: 1 / -1; }
}
.cep-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
}
.cep-primary{
    background: #111827;
    color: #fff;
}
.cep-secondary{
    background: #E5E7EB;
    color: #111827;
}
.cep-link{
    background: transparent;
    color: #374151;
    text-decoration: underline;
    height: auto;
    padding: 6px 0;
}
.cep-btn:disabled{
    opacity: .7;
    cursor: not-allowed;
}
