/* Fullscreen Image Viewer */
.blog-tools-fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blog-tools-fullscreen-viewer.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.blog-tools-fullscreen-viewer.active .fullscreen-image {
    transform: scale(1);
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* Confirmation Dialog */
.blog-tools-confirmation-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blog-tools-confirmation-dialog.active {
    opacity: 1;
    visibility: visible;
}

.confirmation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.confirmation-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.blog-tools-confirmation-dialog.active .confirmation-content {
    transform: translate(-50%, -50%) scale(1);
}

.confirmation-title {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.confirmation-message {
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.confirmation-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirmation-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirmation-cancel {
    background: #f0f0f0;
    color: #333;
}

.confirmation-cancel:hover {
    background: #e0e0e0;
}

.confirmation-confirm {
    background: #dc3232;
    color: white;
}

.confirmation-confirm:hover {
    background: #a00;
}

/* Notification Toast */
.blog-tools-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999997;
    transition: bottom 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.blog-tools-notification.active {
    bottom: 30px;
}

.blog-tools-notification.success {
    border-left: 4px solid #46b450;
}

.blog-tools-notification.error {
    border-left: 4px solid #dc3232;
}

/* Responsive */
@media (max-width: 768px) {
    .fullscreen-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .confirmation-content {
        padding: 20px;
    }

    .confirmation-title {
        font-size: 18px;
    }

    .confirmation-buttons {
        flex-direction: column;
    }

    .confirmation-btn {
        width: 100%;
    }
}

