/* Kadence Lightbox Styles */
.kadence-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kadence-lightbox-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.kadence-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.kadence-lightbox-close:hover {
    background-color: #f3f4f6;
}

.kadence-lightbox-close i {
    font-size: 20px;
    color: #6b7280;
}

.kadence-lightbox-body {
    padding: 32px 32px 0 32px;
}

.kadence-lightbox-title {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.kadence-lightbox-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.kadence-lightbox-footer {
    padding: 0 32px 32px 32px;
    display: flex;
    gap: 12px;
}

.kadence-lightbox-btn-close {
    flex: 1;
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.kadence-lightbox-btn-close:hover {
    background: #e5e7eb;
}

.kadence-lightbox-btn-action {
    flex: 1;
    background: #2FCAC1;
    color: white !important;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.kadence-lightbox-btn-action:hover {
    background: #26b3aa;
    color: white;
}

/* Body scroll lock when lightbox is open */
.kadence-lightbox-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kadence-lightbox-overlay {
        padding: 16px;
    }
    
    .kadence-lightbox-content {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .kadence-lightbox-body {
        padding: 24px 24px 0 24px;
    }
    
    .kadence-lightbox-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .kadence-lightbox-footer {
        padding: 0 24px 24px 24px;
        flex-direction: column;
    }
    
    .kadence-lightbox-btn-close,
    .kadence-lightbox-btn-action {
        flex: none;
        width: 100%;
    }
}
