.tapa-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}
.tapa-modal-overlay.active {
    display: flex;
}
body.admin-bar .tapa-modal-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .tapa-modal-overlay {
        top: 46px;
    }
}
.tapa-modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    box-sizing: border-box;
}
.tapa-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #888888;
    background: none;
    border: none;
    cursor: pointer;
}
.tapa-modal-close:hover {
    color: #333333;
}
.tapa-modal-header h3 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 800;
    color: #111111;
}
.tapa-modal-header p {
    font-size: 14px;
    color: #666666;
    margin: 0 0 20px 0;
}
.tapa-form-group {
    margin-bottom: 15px;
    text-align: left;
}
.tapa-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333333;
}
.tapa-form-group input,
.tapa-form-group select,
.tapa-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.tapa-form-group textarea {
    height: 80px;
    resize: vertical;
}
.tapa-form-group input:focus,
.tapa-form-group select:focus,
.tapa-form-group textarea:focus {
    border-color: #111111;
    outline: none;
}
.tapa-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #111111;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}
.tapa-submit-btn:hover {
    background-color: #333333;
}
.tapa-form-response {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: none;
}
.tapa-form-response.success {
    color: #333333;
    display: block;
}
.tapa-form-response.error {
    color: #d32f2f;
    display: block;
}
.tapa-geo-marketing-card {
    margin: 15px 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #1e1f1f;
    border-left: 4px solid #1e1f1f;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-family: inherit;
    box-sizing: border-box;
}
.tapa-geo-pulse-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.tapa-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #1e1f1f;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(30, 31, 31, 0.5);
    animation: tapa_pulse_anim_fd0f43e1 2s infinite;
}
.tapa-pulse-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1e1f1f;
    letter-spacing: 0.5px;
}
.tapa-geo-headline {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 800;
    color: #1e1f1f;
    line-height: 1.2;
}
.tapa-geo-headline span {
    text-decoration: underline;
    text-decoration-color: #A4A4A4;
}
.tapa-geo-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}
.tapa-geo-perks li {
    font-size: 13px;
    color: #4a4a4a;
    margin-bottom: 6px;
    line-height: 1.3;
}
.tapa-geo-action-box {
    border-top: 1px solid #ebebeb;
    padding-top: 12px;
}
.tapa-geo-urgency-note {
    font-size: 12px;
    color: #e53935;
    margin: 0 0 8px 0;
    font-weight: 600;
}
.tapa-geo-cta-btn {
    width: 100%;
    padding: 10px;
    background-color: #1e1f1f;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    box-sizing: border-box;
}
.tapa-geo-cta-btn:hover {
    background-color: #333333;
}
@keyframes tapa_pulse_anim_fd0f43e1 {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(30, 31, 31, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(30, 31, 31, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(30, 31, 31, 0); }
}
