.lightbox-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Ensure it's above other content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-modal-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0; /* Consistent with brand */
    width: 90%;
    max-width: 700px; /* Adjust as needed */
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal-overlay.visible .lightbox-modal-content {
    transform: scale(1);
}

.lightbox-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.lightbox-close-button:hover {
    color: #000;
}

.lightbox-content-inner h2 {
    /* Uses h2 from typography-modern.css */
    margin-top: 0; /* First heading in modal */
    margin-bottom: 1.5rem;
    font-size: 1.75rem; /* Slightly smaller for modal context */
}

.lightbox-content-inner p {
    /* Uses p from typography-modern.css or base.css */
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: #333;
}

.lightbox-content-inner h3 {
    /* Uses h3 from typography-modern.css */
    font-size: 1.25rem; /* Or map to h4 styling */
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.lightbox-content-inner ol,
.lightbox-content-inner ul {
    padding-left: 1.5rem; /* Indent lists */
    margin-bottom: 1.5rem;
}

.lightbox-content-inner ol li,
.lightbox-content-inner ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #333;
}

.lightbox-content-inner ol li strong {
    font-weight: 500; /* Match general bold */
}

.lightbox-content-inner ol {
    list-style-type: decimal;
}

.lightbox-content-inner ul {
    list-style-type: disc; /* Or none if preferred with custom bullets */
}

.lightbox-footer-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: right; /* Align button to the right */
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-modal-content {
        padding: 1.5rem;
        width: 95%;
        max-height: 90vh;
    }
    .lightbox-content-inner h2 {
        font-size: 1.5rem;
    }
    .lightbox-content-inner h3 {
        font-size: 1.15rem;
    }
    .lightbox-close-button {
        font-size: 1.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    .lightbox-footer-cta {
        text-align: center;
    }
    .lightbox-footer-cta .btn {
        width: 100%;
    }
} 


/* NDA Popup Styles */
.nda-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
}

.nda-popup {
    background: #fff !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    max-width: 600px !important;
    width: 90vw !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
}

.nda-popup-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nda-popup h2 {
    color: #333;
    margin: 0;
    font-size: 1.8rem;
}

.nda-popup h3 {
    color: #444;
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.nda-popup p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.nda-text {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.nda-text ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.nda-text li {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.nda-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.nda-form {
    margin: 1.5rem 0;
}

.nda-form .form-group {
    margin-bottom: 1rem;
}

.nda-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.nda-form input[type="text"],
.nda-form input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.nda-form input[type="text"]:focus,
.nda-form input[type="email"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.nda-form .checkbox-container {
    margin-top: 1rem;
}

.nda-form .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.nda-form .checkbox-wrapper input[type="checkbox"] {
    margin-top: 0.25rem;
}

.nda-form .checkbox-wrapper label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* NDA Decline Message */
.nda-decline-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.nda-decline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.nda-decline-content h2 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.nda-decline-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Disabled button styling */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
