.popup-overlay-master {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75); z-index: 999999;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}

.popup-content-box-modern {
    background: #fff; width: 95%; max-width: 680px;
    border-radius: 4px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.popup-header-teal { background: #00a4bd; padding: 12px 20px; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.popup-header-teal h3 { margin: 0; font-size: 17px; font-weight: 600; }
.popup-close-x { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

.popup-body-white { padding: 20px 25px; }
.form-grid-popup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.full-width { grid-column: span 2; }

.popup-field label { display: flex; align-items: center; gap: 6px; font-weight: bold; font-size: 12px; color: #444; margin-bottom: 4px; }
.popup-field label i { color: #00a4bd; font-size: 16px; }
.popup-field input, .popup-field textarea { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 3px; font-size: 13px; }

.captcha-row-popup { margin-top: 12px; padding: 10px; background: #f8f8f8; border: 1px solid #eee; border-radius: 4px; grid-column: span 2; }
.captcha-flex { display: flex; align-items: center; gap: 12px; }
.captcha-box-dark { background: #001a1a; padding: 5px 10px; border-radius: 4px; display: flex; align-items: center; gap: 8px; height: 38px; }
.captcha-box-dark img { height: 28px; background: #fff; }
.refresh-captcha { background: none; border: none; color: #fff; cursor: pointer; }
.captcha-flex input { width: 130px; height: 38px; border: 1px solid #ccc; font-weight: bold; }

.popup-submit-btn { background: #5cb85c; color: #fff; border: none; padding: 10px 40px; border-radius: 3px; font-weight: bold; cursor: pointer; margin: 15px auto 0; display: block; font-size: 16px; }
.popup-footer-blue { background: #e1f5fe; padding: 10px; border-top: 1px solid #b3e5fc; text-align: center; }
.popup-footer-blue p { margin: 0; font-size: 12px; color: #0277bd; display: flex; align-items: center; justify-content: center; gap: 6px; }

@media (max-width: 600px) { .form-grid-popup { grid-template-columns: 1fr; } .full-width { grid-column: span 1; } }
