.lightbox-overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 9999; /* Below Popup 1 */
}

.security-popup {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center aligned */
    width: 48vw; /* Increased from 40vw by 20% (40 * 1.2 = 48) */
    height: auto; /* Adjust to content */
    background-color: #ffffff; /* White background */
    border: 1px solid #d1d1d1; /* Light gray border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    z-index: 10000; /* Above overlay, below Popup 5 (10003) */
    font-family: 'Segoe UI', 'Arial', sans-serif; /* Windows font */
}

.popup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px; /* Reduced padding */
    background-color: #f5f5f5; /* Light gray header background */
    border-bottom: 1px solid #d1d1d1; /* Separator */
}

.popup-logo {
    width: 28px; /* Slightly smaller */
    height: 28px;
    margin-right: 8px; /* Reduced margin */
}

.popup-top span {
    font-size: 14px; /* Reduced font size */
    font-weight: bold;
    color: #000000; /* Black text */
}

.popup-controls {
    display: flex;
    gap: 8px; /* Reduced gap */
}

.minimize-btn, .close-btn {
    font-size: 14px; /* Reduced font size */
    color: #666666;
    cursor: not-allowed; /* Indicate non-clickable */
    pointer-events: none; /* Disable clicking */
}

.popup-content {
    padding: 15px; /* Reduced padding */
    color: #000000; /* Black text */
}

.popup-content p {
    font-size: 12px; /* Reduced font size */
    line-height: 1.4; /* Tighter line spacing */
    margin: 8px 0; /* Reduced margin */
}

.popup-content strong {
    font-weight: bold;
    color: #d32f2f; /* Red for emphasis */
}

.tfn-placeholder {
    font-size: 12px; /* Reduced font size */
    font-weight: bold;
    color: #0052cc; /* Blue for TFN placeholder */
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}