/* Wozzy - Modals & Overlays */

.link-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    backdrop-filter: blur(4px);
}

.link-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.link-modal__box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.link-modal.is-open .link-modal__box {
    transform: scale(1);
}

.link-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.link-modal__text {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.link-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.link-modal__btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    /* Reset border */
}

.link-modal__btn--cancel {
    background: transparent;
    color: var(--color-text-muted);
}

.link-modal__btn--cancel:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
}

.link-modal__btn--continue {
    background: var(--color-text);
    color: var(--color-bg);
}

.link-modal__btn--continue:hover {
    opacity: 0.9;
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 50%;
    aspect-ratio: 1/1;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--color-glass-border);
}

.lightbox-close {
    position: absolute;
    top: 32px;
    right: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: white;
}

.lightbox-close svg {
    width: 28px;
    height: 28px;
}