/* --- Blog Publishing Styles --- */
.publish-blog-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--accent-color), #006aff);
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-glow);
}

.publish-blog-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-color);
}

.publish-blog-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.publish-blog-button.published {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.4);
}

.publish-blog-button.publish-error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.publish-blog-button svg {
    width: 16px;
    height: 16px;
}

.publish-success-message,
.publish-error-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    animation: slideIn 0.3s ease;
}

.publish-success-message {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.publish-error-message {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Title Prompt Dialog */
.title-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.title-prompt-dialog {
    background: var(--container-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.2);
    animation: scaleIn 0.3s ease;
}

.title-prompt-dialog h3 {
    margin: 0 0 20px 0;
    color: var(--accent-color);
    font-size: 1.3rem;
    text-align: center;
}

.title-prompt-dialog label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.title-prompt-dialog input {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.title-prompt-dialog input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}

.title-prompt-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.title-prompt-buttons button {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-color);
}

.secondary-btn {
    background: var(--input-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}