/* Publication Dialog Styles */
.publication-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    pointer-events: none;
}

.publication-dialog {
    background: #152a47;
    border-radius: 12px;
    min-width: 400px;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    pointer-events: all;
}

.publication-header {
    padding: 20px;
    border-bottom: 1px solid #334155;
    cursor: move;
    user-select: none;
}

.publication-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #e2e8f0;
}

.close-dialog {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-dialog:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.publication-content {
    padding: 30px 20px;
    text-align: center;
}

.publication-content p {
    margin: 0 0 30px 0;
    color: #e2e8f0;
    font-size: 14px;
}

.publication-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.publish-btn, .unpublish-btn {
    background: #3b6ef6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    min-width: 120px;
    transition: background-color 0.2s ease;
}

.publish-btn:hover, .unpublish-btn:hover {
    background: #1d4ed8;
}

.separator {
    color: #a3b8da;
    font-size: 14px;
    margin: 5px 0;
}

.publication-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #e2e8f0;
}

.close-dialog {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-dialog:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.publication-content {
    padding: 30px 20px;
    text-align: center;
}

.publication-content p {
    margin: 0 0 30px 0;
    color: #e2e8f0;
    font-size: 14px;
}

.publication-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.publish-btn, .unpublish-btn {
    background: #3b6ef6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    min-width: 120px;
    transition: background-color 0.2s ease;
}

.publish-btn:hover, .unpublish-btn:hover {
    background: #1d4ed8;
}

.separator {
    color: #a3b8da;
    font-size: 14px;
    margin: 5px 0;
}

/* Animation */
.publication-dialog-overlay {
    animation: fadeIn 0.2s ease-out;
}

.publication-dialog {
    animation: slideIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}