.locali-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.bic-locale-card {
    border: 1px solid #ddd;
    background: #f7f7f7;
    border-top: 10px solid #23b0b9;
}

.bic-locale-image {
    position: relative;
}

.bic-locale-image img {
    width: 100%;
}

.bic-locale-overlay {
    position: absolute;
    bottom: 20px;
    left: 14px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 10px;
    font-size: 14px;
}

.bic-locale-body {
    padding: 20px;
}


.bic-locale-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.bic-locale-grid-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bic-locale-label {
    font-size: 14px;
    color: #777;
}

.bic-locale-value {
    font-size: 26px;
    font-weight: bold;
    color: #5fa9a8;
}

.bic-locale-btn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #1e3a8a;
    color: white;
    border: none;
    cursor: pointer;
}

/* POP UP*/

.popup-preview{
    opacity:1 !important;
    visibility:visible !important;
    display:flex !important;
	z-index:1001;
}
.elementor-editor-active .popup-overlay{
    position:relative;
    background:transparent;
    backdrop-filter:none;
}

/* OVERLAY */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 9999;
}

/* OPEN STATE */

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* POPUP BOX */

.popup-content {
    padding: 30px;
    max-width: 420px;
    width: 92%;
    border-radius: 8px;
    border: 1px solid #e3e3e3;
    border-top: 8px solid #23b0b9;
    background-color: white;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all .35s ease;
}

/* animate popup */

.popup-overlay.active .popup-content {
    transform: translateY(0);
    opacity: 1;
}

/* TITLE */

.popup-title {

    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    font-size: 22px;
    font-family: sans-serif;
    font-weight: 300;
    margin-bottom: 20px;
}

/* FORM */

#form-locale input,
#form-locale textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #c4c4c4;
    padding: 8px 4px;
    transition: border .2s;

}

#form-locale input:focus,
#form-locale textarea:focus {
    outline: none;
    border-bottom: 1px solid #23b0b9;

}

/* PRIVACY */

#privacyCheckbox {
    width: auto !important;
    margin-right: 6px;
}

/* LABEL */

.form-label {
    font-family: sans-serif;
    font-size: 14px;
    margin-bottom: 14px;
}

/* BUTTONS */

.bic-locale-popup-btn {

    margin-top: 20px;
    width: auto;
    padding: 12px 18px;
    background: #1e3a8a;
    color: white;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s;
}

.bic-locale-popup-btn:hover {
    background: white;
    color: #1e3a8a;
    border: 1px solid #1e3a8a;
}

/* ABORT */

.bic-locale-popup-btn.abort {
    background: #8a8a8a;
}

.bic-locale-popup-btn.abort:hover {
    background: white;
    border: 1px solid gray;
    color: black;
}

/* BUTTON WRAPPER */

.form-btn-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;

}



/* loader */

.form-loader {
    display: none;
    width: 28px;
    height: 28px;
    border: 3px solid #e5e5e5;
    border-top: 3px solid #23b0b9;
    border-radius: 50%;
    margin: 20px auto;

    animation: bicSpin 0.8s linear infinite;
}

@keyframes bicSpin {
    to {
        transform: rotate(360deg);
    }
}

/* response message */

#form-response {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.form-success {
    color: #2e7d32;
    font-weight: 500;
}

.form-error {
    color: #c62828;
    font-weight: 500;
}

/* disabled button */

.bic-locale-popup-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}