/* Popup Overlay */
body .investor-popup-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    background: rgba(0, 0, 0, 0.72) !important;
    z-index: 2147483647 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;

    /* removed backdrop-filter because it slows loading */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    transition: opacity 0.18s ease, visibility 0.18s ease;
}

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

/* Popup Card */
body .investor-popup-card {
    width: 100%;
    max-width: 620px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;

    transform: scale(0.97);
    transition: transform 0.18s ease;
}

body .investor-popup-overlay.active .investor-popup-card {
    transform: scale(1);
}

/* Close Button */
body .investor-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
}

/* Header */
body .investor-popup-head {
    background: linear-gradient(135deg, #6b1212, #9f2525);
    color: #fff;
    padding: 28px 70px 28px 28px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

body .investor-alert-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: #fff;
    color: #6b1212;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

body .investor-popup-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

body .investor-popup-head h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    color: #fff;
}

/* Body */
body .investor-popup-body {
    padding: 26px 28px 30px;
    overflow-y: auto;
}

body .investor-popup-body > p {
    margin: 0 0 18px;
    font-size: 15px;
    color: #444;
}

/* Stats */
body .investor-stats-list {
    display: grid;
    gap: 12px;
}

body .investor-stat-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff7f7;
    border: 1px solid #f0d3d3;
    border-radius: 15px;
    padding: 14px;
}

body .investor-stat-item span {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #6b1212;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .investor-stat-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

/* Note */
body .investor-note {
    margin-top: 18px;
    background: #fafafa;
    border-left: 4px solid #6b1212;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

/* Link */
body .investor-sebi-link {
    display: inline-flex;
    margin-top: 18px;
    color: #6b1212;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}

/* Stop page scroll behind popup */
body.investor-popup-open {
    overflow: hidden !important;
}

/* Mobile */
@media (max-width: 575px) {
    body .investor-popup-overlay {
        padding: 12px !important;
        align-items: center !important;
    }

    body .investor-popup-card {
        max-height: calc(100dvh - 24px);
        border-radius: 18px;
    }

    body .investor-popup-head {
        padding: 22px 58px 22px 18px;
        gap: 12px;
        align-items: flex-start;
    }

    body .investor-alert-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 24px;
    }

    body .investor-popup-head h3 {
        font-size: 19px;
    }

    body .investor-popup-body {
        padding: 20px 18px;
    }

    body .investor-stat-item {
        padding: 12px;
        gap: 10px;
    }

    body .investor-stat-item p {
        font-size: 13.5px;
    }

    body .investor-popup-close {
        top: 12px;
        right: 12px;
    }
}

/* ========================================================
   Form Validation & Error Message Styles
   ======================================================== */
.error-feedback {
    display: block;
    color: #dc3545;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
    line-height: 1.3;
    text-align: left;
}

.ul-contact-form input.is-invalid,
.ul-contact-form textarea.is-invalid {
    border-bottom-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* reCAPTCHA responsive alignment */
.g-recaptcha {
    margin: 8px 0;
    overflow: hidden;
    max-width: 100%;
}

.g-recaptcha > div {
    max-width: 100%;
}

/* Footer Newsletter Feedback */
.newsletter-feedback-msg {
    min-height: 20px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Anti-Spam Honeypot Field (Invisible to real humans & screen readers) */
.bnr-honeypot,
.bnr-honeypot-wrap {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -100 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

